![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#12 |
Grey Wolf
![]() Join Date: Nov 2005
Location: Mar del Plata, Argentina
Posts: 871
Downloads: 0
Uploads: 0
|
![]()
Block 01 (3d object ) structure
01000000 block type dword 00000000 block subtype dword 00000000 block size dword XXXXXXXXXXXXXXXX ID int64 XX unknown 1 Byte number of vertex dword then cames vertex data: 3 floats (x,y,z) repeats number of vertex times number of faces dword faces data : vertices (3 x word) ;texture coords 3x word; face material byte The above values references index from the vertex/texture coords arrays. number of texture coordinates dword texture coordinates u,v float repeats number of texture coordinates sometimes here cames a TMAP chunk (don't know what it is) I just skip it. Ref |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|