|
static void | CalculateNormals (SIBMesh *mesh) |
|
static aiVector3D | CalculateVertexNormal (SIBMesh *mesh, uint32_t faceIdx, uint32_t pos, const std::vector< aiVector3D > &faceNormals) |
|
static void | CheckVersion (StreamReaderLE *stream) |
|
static void | ConnectFaces (SIBMesh *mesh) |
|
static SIBEdge & | GetEdge (SIBMesh *mesh, uint32_t posA, uint32_t posB) |
|
static void | ReadAxis (aiMatrix4x4 &axis, StreamReaderLE *stream) |
|
static SIBChunk | ReadChunk (StreamReaderLE *stream) |
|
static aiColor3D | ReadColor (StreamReaderLE *stream) |
|
static void | ReadCreases (SIBMesh *mesh, StreamReaderLE *stream) |
|
static void | ReadEdges (SIBMesh *mesh, StreamReaderLE *stream) |
|
static void | ReadFaces (SIBMesh *mesh, StreamReaderLE *stream) |
|
static void | ReadInstance (SIB *sib, StreamReaderLE *stream) |
|
static void | ReadLight (SIB *sib, StreamReaderLE *stream) |
|
static void | ReadLightInfo (aiLight *light, StreamReaderLE *stream) |
|
static void | ReadMaterial (SIB *sib, StreamReaderLE *stream) |
|
static void | ReadMtls (SIBMesh *mesh, StreamReaderLE *stream) |
|
static void | ReadScale (aiMatrix4x4 &axis, StreamReaderLE *stream) |
|
static void | ReadScene (SIB *sib, StreamReaderLE *stream) |
|
static void | ReadShape (SIB *sib, StreamReaderLE *stream) |
|
static aiString | ReadString (StreamReaderLE *stream, uint32_t numWChars) |
|
static void | ReadUVs (SIBMesh *mesh, StreamReaderLE *stream) |
|
static void | ReadVerts (SIBMesh *mesh, StreamReaderLE *stream, uint32_t count) |
|
static void | UnknownChunk (StreamReaderLE *, const SIBChunk &chunk) |
|
Implementation of the SIB importer class.
The Nevercenter Silo SIB format is undocumented. All details here have been reverse engineered from studying the binary files output by Silo.
Nevertheless, this implementation is reasonably complete.