7 #ifndef CAFU_MD5_MODEL_LOADER_HPP_INCLUDED
8 #define CAFU_MD5_MODEL_LOADER_HPP_INCLUDED
23 LoaderMd5T(
const std::string& FileName,
int Flags=NONE);
29 bool Load(
unsigned int Level,
CafuModelT*& DlodModel,
float& DlodDist) {
return false; }
void Load(ArrayT< CafuModelT::GuiFixtureT > &GuiFixtures)
Loads the GUI fixtures of the Cafu model.
Definition: Loader_md5.hpp:27
This class represents a native Cafu model.
Definition: Model_cmdl.hpp:45
The base class for importing additional animations into an existing CafuModelT.
Definition: Loader.hpp:115
This class imports animations from Doom3 .md5anim files for addition to an existing CafuModelT...
Definition: Loader_md5.hpp:34
bool Load(unsigned int Level, CafuModelT *&DlodModel, float &DlodDist)
Loads the dlod-model and dlod-distance at the given level.
Definition: Loader_md5.hpp:29
The base class for importing arbitrary model files into Cafu models.
Definition: Loader.hpp:15
void Load(ArrayT< CafuModelT::ChannelT > &Channels)
Loads the animation channels (groups of joints) of the Cafu model.
Definition: Loader_md5.hpp:28
This class implements the MaterialManagerI interface.
Definition: MaterialManagerImpl.hpp:23
ArrayT< CafuModelT::AnimT > Import(const ArrayT< CafuModelT::JointT > &Joints, const ArrayT< CafuModelT::MeshT > &Meshes)
Imports and returns the animation sequences from the file, optionally referring to the joints and mes...
Definition: Loader_md5.cpp:239
This class imports a Doom3 (.md5) model file into a new Cafu model.
Definition: Loader_md5.hpp:14
void Load(ArrayT< CafuModelT::SkinT > &Skins, const MaterialManagerImplT &MaterialMan)
Loads the skins of the Cafu model.
Definition: Loader_md5.hpp:26
void Load(ArrayT< CafuModelT::JointT > &Joints, ArrayT< CafuModelT::MeshT > &Meshes, ArrayT< CafuModelT::AnimT > &Anims, MaterialManagerImplT &MaterialMan)
Actually loads the file data into the appropriate parts of the Cafu model.
Definition: Loader_md5.cpp:23
LoaderMd5T(const std::string &FileName, int Flags=NONE)
The constructor for importing a Doom3 (.md5) model file into a new Cafu model.
Definition: Loader_md5.cpp:17