The following provides information on how the Neurosis engine saves model data. As such, any game or program using the engine will store the information the same (i.e. Doodles 3D). The file used to save the model data ends with extension .dat and is stored in a normal text file. This is to provide easy access for modifying the model data manually.
1st line: version number of the save/load system (currently 0.5) 2nd line: total textures, total points, total triangles
Next is the texture list - if greater than 0, they will be listed one per line.
Following the texture list is the point information which contains: - point number
- x position
- y position
- z position
The last group is triangle information. Each line contains: - triangle number
- texture to use (-1 is none)
- mesh index (to group triangles together)
- point 1
- point 2
- point 3
- x texture coordinate for point 1
- y texture coordinate for point 1
- x texture coordinate for point 2
- y texture coordinate for point 2
- x texture coordinate for point 3
- y texture coordinate for point 3
|