SuperTuxKart
Loading...
Searching...
No Matches
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
SPMeshLoader Class Reference
Inheritance diagram for SPMeshLoader:
Inheritance graph
[legend]

Public Member Functions

 SPMeshLoader (scene::ISceneManager *smgr)
 
virtual bool isALoadableFileExtension (const io::path &filename) const
 
virtual scene::IAnimatedMesh * createMesh (io::IReadFile *file)
 

Private Types

enum  SPVertexType : unsigned int { SPVT_NORMAL , SPVT_SKINNED }
 

Private Member Functions

void decompress (irr::io::IReadFile *spm, unsigned vertices_count, unsigned indices_count, bool read_normal, bool read_vcolor, bool read_tangent, bool uv_one, bool uv_two, SPVertexType vt, const video::SMaterial &m)
 
void decompressGESPM (irr::io::IReadFile *spm, unsigned vertices_count, unsigned indices_count, bool read_normal, bool read_vcolor, bool read_tangent, bool uv_one, bool uv_two, SPVertexType vt, const video::SMaterial &m)
 
void decompressSPM (irr::io::IReadFile *spm, unsigned vertices_count, unsigned indices_count, bool read_normal, bool read_vcolor, bool read_tangent, bool uv_one, bool uv_two, SPVertexType vt, Material *m)
 
void createAnimationData (irr::io::IReadFile *spm)
 
void convertIrrlicht ()
 

Private Attributes

unsigned m_bind_frame
 
unsigned m_joint_count
 
unsigned m_frame_count
 
std::vector< GE::Armature > m_all_armatures
 
std::vector< core::matrix4 > m_to_bind_pose_matrices
 
scene::IAnimatedMesh * m_mesh
 
scene::ISceneManager * m_scene_manager
 
std::vector< std::vector< std::pair< std::array< short, 4 >, std::array< float, 4 > > > > m_joints
 

The documentation for this class was generated from the following files: