Model File Types
This page gives a brief overview of some file types used for models, some of which can be used inside Orxonox.
The obj fileformat saves the object in plaintext to a file. Therefore, this fileformat can easily be read by both computer program and coders. Orxonox has got obj support since its early stages. Obj supports faces of arbitrary vertices count, materials and textures. However, please pay attention to not make faces with more than four vertices. You can create obj files with many programs, including Maya, 3D Studio Max and Blender.
Testing your Models
If you just want to load the models into Orxonox, follow these instructions:
- 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-wheel and rotating around the object by clicking and dragging.
There are some tools to create md2-models for Orxonox. Blender has its own scripts for importing/exporting. There is no glCommands support, I'm afraid (this has to be done with some other external tools). Here is a short tutorial about how to export simple models.
Alternative: Misfit Model 3D is a simple, intuitive program to make md2 models/animations.
md3 is used by the Quake III engine. Here are some links about the creation of md3:
- Complete tutorial for creating md3-models with 3D Studio Max in German.
- Creating Quake III Player Models in Maya
- Tools & Utilities for viewing and creating md3-models for Quake III.
- id Tech 3 - Wikipedia article on id Tech 3, the engine of Quake III
These are some sites, where you can find md3-models:
- http://www.quake3bits.com/htm/models.htm - some complete models
- http://q3radiant.planetquake.gamespy.com/models.htm md3 - environment models from radiant site
- http://www.panebianco3d.com/e_3d-models.html - md3 player models
- http://planetquake.gamespy.com/View.php?view=Quake3.List&game=4 - tons of md3-models