View Single Post
  #2  
Old 09-27-2006, 11:31 AM
gustav
Fire Beetle
 
Join Date: Sep 2006
Posts: 5
Default

For version 3 files, I was mistaken about there being additional data after the polygons. It appears there are an additional 12 bytes per Vertex. Something more like:

Code:
struct Vertex {
  float x, y, z; // Vertex location
  float i, j, k; // Normals?
  uint32 unknown1;  // New field in V3
  float unknown2, unknown3;  // New field in V3
  float u, v; // Tex coords, clamped to [0,1]
};
Not sure what the additional data is for.

gus
Reply With Quote