Game Development Reference
In-Depth Information
Figure 11.1 Exporting a scene from Max.
*COMMENT "AsciiExport Version 2.00 - Sun Apr 08 23:21:17 2001"
An ASE file is structured using opening and closing braces, { and }. At the
root level the tags you find are SCENE, MATERIAL_LIST, GEOM-
OBJECT and CAMERAOBJECT. Any section can contain an unlimited
number of subsections. Any parser must work within a section and not
read beyond it when parsing the file. The first section you will find in most
ASE files is the SCENE section.
The SCENE section
The SCENE section contains tags SCENE_FILENAME, SCENE_FIRST-
FRAME, SCENE_LASTFRAME, SCENE_FRAMESPEED, SCENE_
TICKSPERFRAME, SCENE_BACKGROUND_STATIC, SCENE_AMBI-
ENT_STATIC, SCENE_BACKGROUND_ANIM and SCENE_
AMBIENT_ANIM. The first three of these are self-explanatory. SCENE_
FRAMESPEED stores the frames per second value. SCENE_TICKSPER-
FRAME is unique to Max. In 3DS Max, time values are stored as integers,
Search Nedrilad ::




Custom Search