Planet
navihomeaboutscreenshotsdownloaddevelopmentforum

archive/ModelFileTypes

Model File Types

This page gives a brief overview of some file types used for models, some of which can be used inside Orxonox.

obj Files

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:

  1. Change to the trunk/src/subprojects/importer directory
  2. Start the model viewer program by typing: ./importer [path_to_your_obj_file]
  3. 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.

md2

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

md3 is used by the Quake III engine. Here are some links about the creation of md3:

These are some sites, where you can find md3-models: