|
Public Member Functions |
| CLoad3DS () |
bool | Import3DS (t3DModel *pModel, char *strFileName, bool bump=false) |
Private Member Functions |
size_t | GetString (char *) |
void | ReadChunk (tChunk *) |
void | ProcessNextChunk (t3DModel *pModel, tChunk *) |
void | ProcessNextObjectChunk (t3DModel *pModel, t3DObject *pObject, tChunk *) |
void | ProcessNextMaterialChunk (t3DModel *pModel, tChunk *) |
void | ReadColorChunk (tMaterialInfo *pMaterial, tChunk *pChunk) |
void | ReadVertices (t3DObject *pObject, tChunk *) |
void | ReadVertexIndices (t3DObject *pObject, tChunk *) |
void | ReadUVCoordinates (t3DObject *pObject, tChunk *) |
void | ReadObjectMaterial (t3DModel *pModel, t3DObject *pObject, tChunk *pPreviousChunk) |
void | ComputeNormals (t3DModel *pModel) |
void | ComputeBumpNormals (t3DModel *pModel) |
void | createTangentSpaceVectors (tVector3 *v1, tVector3 *v2, tVector3 *v3, float v1u, float v1v, float v2u, float v2v, float v3u, float v3v, tVector3 *vTangent, tVector3 *vBiNormal, tVector3 *vNormal) |
void | computeTangentsMatricesForEachVertex (t3DObject *pObject) |
void | CleanUp () |
Private Attributes |
FILE * | m_FilePointer |
tChunk * | m_CurrentChunk |
tChunk * | m_TempChunk |