OBJ format has several useful properties:
- Files are human readable (ascii text)
- Visual Studio 2013 has a built-in OBJ mesh editor
- Logical layout of data that is easy to follow
this format does not support animation, and OBJ may be slower to load than a
binary format like 3DS.
possible to use a tool like Blender
to convert other mesh formats to OBJ format.
The template code uses Open Asset Import to
load surfaces. If you find a mesh on the internet that doesn’t load properly,
try loading it in Blender, and exporting an OBJ with the following options:
- Triangulate faces
- Include normals
- Include UVs (texture coordinates)
- Write materials