Skip to main content

History: -Mesh

Source of version: 12 (current)

Copy to clipboard
            {INCLUDE(page="ogrelex ext tpl")/}
---
__Mesh__ - The geometry for a visible object in a 3D application. A ''mesh'' is a series of triangles, and usually has a ((-texture|texture)). It also can contain lines and points.

Ogre3D has its own ((-XML|XML)) file format for meshes, which represents the only way to get them into an Ogre3D application. Those files have the extension .MESH and have to comply with the ((Ogre meshxml DTD)).

For Ogre, there are two mesh file formats, which can be converted via the ((OgreXmlConverter)):

__*.mesh.xml__
* XML code
* several 3D applications can create this file format by ((OGRE Exporters))
* can be edited
* can not be loaded by Ogre applications

__*.mesh__
* binary format
* can be loaded by Ogre applications

!!Usage

To load a mesh in a scene, you need to create an ''Entity'' from it. More details you find on page ((-Entity|Entity)). 
(Alternatively you can create 'level geometry' instead for immovable objects.)

{TRANSCLUDE(page="seebox")}
* [http://www.ogre3d.org/docs/api/html/classOgre_1_1Mesh.html|Class Reference] for Ogre::Mesh (Ogre API)
* ((ManualObject)) - class for easy object creation by code
* ((MeshMagick)) - manipulate *.mesh files
* ((OgreXmlConverter))
* ((ManualSphereMeshes))
* ((GeometricMesh)) - Creating various geometric/geodesic shapes
* ((Ogre Procedural Geometry Library)) - Add-on for creation of shapes
* ((MadMarx Tutorial 5)) - Basic Mesh Loading 
* ((MeshManager))
{TRANSCLUDE}


---
{INCLUDE(page="ogrelex ext tpl")/}
---