Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
trs:meshes_models [2021/02/09 16:03] – [Meshes] fix tr_mesh stohrendorftrs:meshes_models [2021/02/09 17:08] (current) – [Meshes] stohrendorf
Line 27: Line 27:
     tr_vertex Centre;     tr_vertex Centre;
       int16_t CollRadius;       int16_t CollRadius;
-     uint16_t Flags;+     uint16_t Flags;                 // 0x01 for Flat Shaded, i.e. Normals should not affect lighting
  
       int16_t NumVertices;           // Number of vertices in this mesh       int16_t NumVertices;           // Number of vertices in this mesh
Line 52: Line 52:
 }; };
 </code> </code>
-''%%Centre%%'' is usually close to the mesh’s centroid, and appears to be the center of a sphere used for certain kinds of collision testing.+''%%Centre%%'' is usually close to the mesh’s centroid, and is the center of a sphere used for certain kinds of collision testing.
  
-''%%CollRadius%%'' appears to be the radius of that aforementioned collisional sphere.+''%%CollRadius%%'' is the radius of that aforementioned collisional sphere.
  
 ''%%NumNormals%%'': If positive, it is a number of normals in this mesh. If negative, it is a number of vertex lighting elements (''%%abs%%'' value). ''%%NumNormals%%'': If positive, it is a number of normals in this mesh. If negative, it is a number of vertex lighting elements (''%%abs%%'' value).
trs/meshes_models.txt · Last modified: 2021/02/09 17:08 by stohrendorf
Back to top
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0