SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SHIII Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 02-03-07, 05:39 AM   #1
Kaleun_Endrass
Sparky
 
Join Date: Jan 2007
Location: Hannover, Germany
Posts: 158
Downloads: 39
Uploads: 0
Default What could the TMAP-chunk be?

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?
Kaleun_Endrass is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:19 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright Đ 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.