OGRE (Object-Oriented Graphics Rendering Engine)
Tutorial
1 - Overview
The Mesh Object
The Mesh Object
A Mesh object represents a discrete model, a set of geometry which is self-contained and is typically fairly small on a world scale. Mesh objects are assumed to represent movable objects and are not used for the sprawling level geometry typically used to create backgrounds.
Mesh objects are a type of resource, and are managed by the MeshManager resource manager. They are typically loaded from OGRE's custom object format, the '.mesh' format (formerly the '.oof' format was used, see the 3ds2oof section for more information.). Mesh files are typically created by exporting from a modelling tool - see the exporters section for more information.
You can also create Mesh objects manually by calling the MeshManager::createManual method. This way you can define the geometry yourself, but this is outside the scope of this tutorial.
Mesh objects are the basis for the movable objects in the world, which are called Entity objects.
Mesh objects can also be animated using skeletal animation.
Back to Index | << Previous section | Next section >> |