![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Sparky
![]() Join Date: Jan 2007
Location: Hannover, Germany
Posts: 158
Downloads: 39
Uploads: 0
|
![]()
Hi,
Iīve found out the structure of the TMAP-chunk but I couldīnt figure out, what it is for. The structure is as follows (ntris is the number of Triangles the mesh is build of): 4x char............."TMAP" 1x byte.............number of maps ....here follow the maps, each consisting of: 1x byte.................maybe a group number if you consider TMAP as a SmoothGroup ntris * 6 * bytes.....I believe itīs actually "ntris * 3 * WORD" So, a single TMapDatChunk (I named it that way) encapsulates 3 unsigned shortint. I named them T1, T2 and T3 because they have something todo with the triangles of the mesh. As I looked at the values, I could see that it isnīt an index to a specific triangle because the values can get higher than ntris. Has anyone an idea what TMAP could be? |
![]() |
![]() |
|
|