Version 2 (modified by patrick, 19 years ago) (diff) |
---|
obj Model Creation Tutorial
About the Format
The .obj fileformat saves the object in cleartext to a file. Therefore this fileformat can easily be read by a computer program. Orxonox has got .obj support since its early stages. Obj supports faces of arbitrary verices count, materials and textures. Please pay attention to not make faces with more than four vertices.
Modeling Programs
You can create .obj files with many programs including Maya, 3DMax, Blender.
Testing your Models
If you just want to load the models in Orxonox you can simply:
- Change to the trunk/src/subprojects/importer directory
- Start the model viewer program by typing: ./importer [path_to_your_obj_file]
- Here you should see your model rendered: You can zoom in and out by turning your mouse-wheele and rotating around the object by click and move
Importing the Model to Orxonox
This is more complicated, since you will have to alter some lines of xml level loading code. So change to your data/trunk/worlds/ and then wait because this tutorial is not yet finished