This module has basic model loading capabilities.
More...
Functions | |
smart_ptr< TypeComponentLoader > | aesop::createModelLoader (smart_ptr< story::Story > &story) |
create object capable of loading some of the standard AESOP models | |
| |
static const char * | aesop::s_name = "Glut 3D Model Loader" |
static const float | aesop::s_radiansPerDegree = M_PI / 180.0 |
static smart_ptr< ModelRegistry > | aesop::s_registry |
smart_ptr< glut::Renderable > | aesop::getModel (IN smart_ptr< Instance > &instance) |
want to retrieve an already-loaded model? Use this | |
smart_ptr< TypeComponentLoader > | aesop::getGlutModelLoader (void) |
smart_ptr< TypeComponentLoader > | aesop::createModelLoader (IN smart_ptr< story::Story > &story) |
This module has basic model loading capabilities.
It can load:
See the Wavepacket GLUT libraries for more information on those formats: http://sourceforge.net/projects/wave-glut/
Developers are encouraged to register their own model loaders, rather than extending this one.
smart_ptr<TypeComponentLoader> aesop::createModelLoader | ( | smart_ptr< story::Story > & | story | ) |
create object capable of loading some of the standard AESOP models
smart_ptr< glut::Renderable > aesop::getModel | ( | IN smart_ptr< Instance > & | instance | ) |
want to retrieve an already-loaded model? Use this
smart_ptr<TypeComponentLoader> aesop::getGlutModelLoader | ( | void | ) |
Definition at line 481 of file model-loader.cpp.
smart_ptr<TypeComponentLoader> aesop::createModelLoader | ( | IN smart_ptr< story::Story > & | story | ) |
Definition at line 497 of file model-loader.cpp.
const char* aesop::s_name = "Glut 3D Model Loader" [static] |
Definition at line 42 of file model-loader.cpp.
const float aesop::s_radiansPerDegree = M_PI / 180.0 [static] |
Definition at line 45 of file model-loader.cpp.
smart_ptr<ModelRegistry> aesop::s_registry [static] |
Definition at line 115 of file model-loader.cpp.