Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 924 Bytes

20_MeshOBJLoader.md

File metadata and controls

29 lines (18 loc) · 924 Bytes

MeshOBJLoader

This component belongs to the category of the MeshLoaders.

The MeshOBJLoader loads a mesh from a file under the format *.obj. Such a mesh file only supports surface meshes. The *.obj meshes can be generated using softwares like Blender.

Usage

No pre-requisite in your scene to use a MeshLoader.

Example

This component is used as follows in XML format:

<MeshOBJLoader name="ObjLoader" filename="mesh/floor3.obj" />

or using SofaPython3:

node.addObject('MeshOBJLoader', name="ObjLoader", filename="mesh/floor3.obj")

An example scene involving a MeshOBJLoader is available in examples/Component/IO/Mesh/MeshOBJLoader.scn