Game Development Reference
In-Depth Information
TM_ROTANGLE gives the angle in radians. Scale is provided as three
component values using the TM_SCALE tag.
*NODE_TM {
*NODE_NAME "Box"
*INHERIT_POS 0 0 0
*INHERIT_ROT 0 0 0
*INHERIT_SCL 0 0 0
*TM_ROW0 0.0000 1.0000 0.0000
*TM_ROW1 0.0000 0.0000 1.0000
*TM_ROW2 1.0000 0.0000 -0.0000
*TM_ROW3 -48.7847 -1.1912 2.4400
*TM_POS -48.7847 -1.1912 2.4400
*TM_ROTAXIS -0.5774 -0.5774 -0.5774
*TM_ROTANGLE 2.0944
*TM_SCALE 1.0000 1.0000 1.0000
*TM_SCALEAXIS 0.0000 0.0000 0.0000
*TM_SCALEAXISANG 0.0000
}
Reading the MESH section
The MESH section contains the tags MESH_NUMVERTEX,
MESH_NUMFACES, MESHVERTEX_LIST, MESH_FACE_LIST, MESH_
NUMTVERTEX, MESH_TVERTLIST, MESH_NUMCVERTEX,
MESH_CVERTLIST and MESH_NORMALS. MESH_NUMVERTEX,
MESH_NUMFACES, MESH_NUMTVERTEX and MESH_NUMCVER-
TEX are all single integer values giving the total number of vertices,
polygons, texture vertices and colour vertices respectively. The other
values are subsections defining the content of the lists.
*MESH {
*TIMEVALUE 0
*MESH_NUMVERTEX 8
*MESH_NUMFACES 12
*MESH_VERTEX_LIST {. . .
}
*MESH_FACE_LIST {. . .
}
*MESH_NUMTVERTEX 12
Search Nedrilad ::




Custom Search