Crystal Space
Welcome, Guest. Please login or register.
November 26, 2014, 03:54:10 am

Login with username, password and session length
Search:     Advanced search
9026 Posts in 2046 Topics by 9129 Members
Latest Member: Kosmobruk66
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  General Crystal Space Discussion
| | |-+  Yet another"cant use blender" xml question, polygon related
« previous next »
Pages: [1] Print
Author Topic: Yet another"cant use blender" xml question, polygon related  (Read 1692 times)
FCP
Guest


Email
« on: February 27, 2006, 07:18:40 pm »

Herer is some xml code to define a mesh:

<meshobj name="Mesh00">
<plugin>crystalspace.mesh.loader.thing</plugin>
<params>
<v x="43" y="-4.5" z="-43" />
<v x="43" y="-4.5" z="-43" />
<v x="21.4" y="-4.5" z="-43" />
<v x="21.4" y="-4.5" z="-43" />
<v x="21.4" y="-4.5" z="-21.4" />
<v x="21.4" y="-4.5" z="-21.4" />
<v x="43" y="-4.5" z="-21.4" />
<v x="43" y="-4.5" z="-21.4" />
<material>sqr</material>
<p name="up">
<v>3</v> <v>7</v> <v>6</v> <v>2</v>
</p>
<p name="north">
<v>1</v> <v>5</v> <v>7</v> <v>3</v>
</p>
<p name="east">
<v>5</v> <v>4</v> <v>6</v> <v>7</v>
</p>
<p name="south">
<v>4</v> <v>0</v> <v>2</v> <v>6</v>
</p>
<p name="west">
<v>0</v> <v>1</v> <v>3</v> <v>2</v>
</p>
<p name="down">
<v>0</v> <v>4</v> <v>5</v> <v>1</v>
</p>
</params>
</meshobj>

As far as I understand the "p" numbers represent the polygons, but what do the numbers mean?
And how do you get them?
Logged
FCP
Guest


Email
« Reply #1 on: February 27, 2006, 07:55:23 pm »

Nevermind , I have figured it out.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 3.415 seconds with 13 queries.