Game Development Reference
In-Depth Information
*UVW_ANGLE 0.0000
*UVW_BLUR 1.0000
*UVW_BLUR_OFFSET 0.0000
*UVW_NOUSE_AMT 1.0000
*UVW_NOISE_SIZE 1.0000
*UVW_NOISE_LEVEL 1
*UVW_NOISE_PHASE 0.0000
*BITMAP_FILTER Pyramidal
}...
Reading a GEOMOBJECT section
The next root level tag to consider is GEOMOBJECT. The tags we will
look at are NODE_NAME, NODE_PARENT, NODE_TM, MESH and
MATERIAL_REF. The NODE_NAME tag is a simple string giving the
object name. NODE_PARENT indicates the parent of this object by
name reference. MATERIAL_REF is an integer value into the material
list. NODE_TM and MESH are subsections that we will look at
individually.
*GEOMOBJECT {
*NODE_NAME "Box"
*NODE_PARENT "BoxParent"
*NODE_TM {. . .
}
*MESH {. . .
}
*PROP_MOTIONBLUR 0
*PROP_CASTSHADOW 1
*PROP_RECVSHADOW 1
*MATERIAL_REF 0
}
Reading a NODE_TM section
The NODE_TM section defines the position of the object. The tags TM_
ROW0 to TM_ROW3 supply the matrix for the object in 4
4 format with
the last column missing. TM_ROW0 to TM_ROW2 give the 3
×
3 rotation
matrix and TM_ROW3 gives the translation. Orientations in 3DS Max are
provided as angle axis. TM_ROTAXIS supplies the rotational axis and
×
Search Nedrilad ::




Custom Search