IrrGetMesh

section index

## NAME

IrrGetMesh - Load a Mesh

## SYNOPSIS

*Mesh.l = IrrGetMesh(filename.s)

## FUNCTION

Returns pointer to an animateable mesh. Loads the file if not loaded already.

## INPUTS

## RESULT

Pointer to the loaded Mesh if Successfull, otherwise #Null

## EXAMPLE

       *mesh.l = IrrGetMesh("MyOwnMesh.dmf")
       If *mesh = #Null
           ... if Irrlicht could not load the Mesh..
       EndIf

## NOTES

Possible Mesh-Types : 3D Studio (.3ds): Loader for 3D-Studio files which lots of 3D packages are able to export. Only static meshes are currently supported by this importer. Bliz Basic B3D (.b3d): Loader for blitz basic files, developed by Mark Sibly, also supports animations. Cartography shop 4 (.csm) COLLADA (.dae, .xml) Delgine DeleD (.dmf) DirectX (.x) Currently, Irrlicht only supports uncompressed .x files. Maya (.obj) Most 3D software can create .obj files which contain static geometry without material data. The material files .mtl are also supported. This importer for Irrlicht can load them directly Milkshape (.ms3d) .MS3D files contain models and sometimes skeletal animations from the Milkshape 3D modeling and animation software. This importer for Irrlicht can display and/or animate these files. My3D (.my3d) .my3D is a flexible 3D file format. The My3DTools contains plug-ins to export .my3D files from several 3D packages. OCT (.oct) The oct file format contains 3D geometry and lightmaps and can be loaded directly by Irrlicht. OCT files OGRE Meshes (.mesh) Ogre .mesh files contain 3D data for the OGRE 3D engine. Irrlicht can read and display them directly with this importer. Pulsar LMTools (.lmts) LMTools is a set of tools (Windows & Linux) for creating lightmaps. Irrlicht can directly read Quake 3 levels (.bsp) Quake 3 is a popular game by IDSoftware, and .pk3 files contain .bsp files and textures/lightmaps describing huge prelighted levels. Quake 2 models (.md2) Quake 2 models are characters with morph target animation. Irrlicht can read, display and animate them directly with this importer.