The Wizards Wiki

Explore your world

User Tools

Site Tools


documentation:objimporter

This is an old revision of the document!


OBJ Importer

Currently The Wizards supports importing Geometry and Material data from Wavefront-OBJ files. It can also read the corresponding mtl files.

The importer has currently only been tested with the 3dsmax exporter. Every object in 3dsmax must be converted to an editable poly, otherwise the importer will not work correctly.

From this imported data, the engine can build Meshes. Currently 2 modes are supported:

  • Build a single mesh from exported data. All geometry and collision data is merged into a single mesh.
  • Build a seperate mesh from every 3dsmax object. Every object must be a editable poly in 3dsmax.

Special material names have been reserved for collision data. The names are case-sensitive.

  • TW_Physics_Box: The importer will attempt to reconstruct boxes from the geometry that has this material. (not sure this is implemented).
  • TW_Physics_TriangleMesh: This will create a single TriangleMesh from all geometry with this material.
  • TW_Physics_Convex: This will create a SINGLE convex mesh from ALL geometry data (within the object).
documentation/objimporter.1369406291.txt.gz · Last modified: 2024/08/26 13:57 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki