The Wizards Wiki

Explore your world

User Tools

Site Tools


documentation:objimporter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
documentation:objimporter [2010/12/18 18:23] – created mhgameworkdocumentation:objimporter [2024/08/26 13:25] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== OBJ Importer ====== ====== OBJ Importer ======
 +
  
 Currently The Wizards supports importing Geometry and Material data from Wavefront-OBJ files. It can also read the corresponding mtl files. 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: 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.+ 
 +    * 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. 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. THIS IS CURRENTLY NOT 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).+    * 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 [[:documentation:trianglemesh|TriangleMesh]] from all geometry with this material. 
 +    * TW_Physics_Convex: This will create a SINGLE convex mesh from ALL geometry data (within the object). 
 + 
 + 
 +===== Exporting from 3ds max ===== 
 + 
 + 
 +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. The up axis must be set to Y, and relative indices have to be Disabled!
  
documentation/objimporter.1292696615.txt.gz · Last modified: 2024/08/26 13:57 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki