7 #ifndef CAFU_HL2_MDL_MODEL_LOADER_HPP_INCLUDED
8 #define CAFU_HL2_MDL_MODEL_LOADER_HPP_INCLUDED
35 bool Load(
unsigned int Level,
CafuModelT*& DlodModel,
float& DlodDist) {
return false; }
This class represents a native Cafu model.
Definition: Model_cmdl.hpp:45
void Load(ArrayT< CafuModelT::GuiFixtureT > &GuiFixtures)
Loads the GUI fixtures of the Cafu model.
Definition: Loader_mdl_hl2.hpp:33
The base class for importing arbitrary model files into Cafu models.
Definition: Loader.hpp:15
This class imports a HL2 (.mdl) model file into a new Cafu model.
Definition: Loader_mdl_hl2.hpp:22
LoaderHL2mdlT(const std::string &FileName, int Flags=NONE)
The constructor for importing a HL2 (.mdl) model file into a new Cafu model.
Definition: Loader_mdl_hl2.cpp:60
This class implements the MaterialManagerI interface.
Definition: MaterialManagerImpl.hpp:23
void Load(ArrayT< CafuModelT::ChannelT > &Channels)
Loads the animation channels (groups of joints) of the Cafu model.
Definition: Loader_mdl_hl2.hpp:34
bool Load(unsigned int Level, CafuModelT *&DlodModel, float &DlodDist)
Loads the dlod-model and dlod-distance at the given level.
Definition: Loader_mdl_hl2.hpp:35
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_mdl_hl2.cpp:194