#include <OgreOofModelFile.h>
Public Methods | |
OofModelFile () | |
~OofModelFile () | |
void | load (String filename) |
Loads the named oof file. More... | |
void | load (DataChunk &chunk) |
Loads oof data from a chunk of memory, which has been read from a file or archive. More... | |
void | freeMemory (void) |
Destroys all the data held in the object and frees up the memory. More... | |
Public Attributes | |
bool | autoDeallocateMemory |
Indicates if this class should deallocate the memory it allocates for data when it is destroyed or more data is loaded. More... | |
String | filename |
Filename of latest model loaded. More... | |
GeometryData | sharedGeometry |
Geometry shared among sub-parts of the model. More... | |
std::vector< MaterialData > | materials |
List of materials used by this model. More... |
This class loads the .oof files created by 3ds2oof (see readme.txt in the 3ds2oof folder for more info). For now these files use only a subset of the vertex formats that OGRE can handle, assuming only 1 set of 2D (u,v) texture coordinates (if present). The .oof format and this loader will develop to add more features in due course.
|
|
|
|
|
Destroys all the data held in the object and frees up the memory.
|
|
Loads oof data from a chunk of memory, which has been read from a file or archive.
|
|
Loads the named oof file.
|
|
Indicates if this class should deallocate the memory it allocates for data when it is destroyed or more data is loaded.
|
|
Filename of latest model loaded.
|
|
List of materials used by this model.
|
|
Geometry shared among sub-parts of the model. The geometry of the model is split into chunks using the same material - these can either share this central geometry data or use separate buffers. See the readme.txt for the 3ds2oof utility for more info. |
Copyright © 2002 by The OGRE Team