| 1 | = Model File Types = |
| 2 | [[TracNav(TracNav/TOC_CC_Tut)]] |
| 3 | |
| 4 | This page gives a brief overview of some file types used for models, some of which can be used inside Orxonox. |
| 5 | |
| 6 | == obj Files == |
| 7 | 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. |
| 8 | |
| 9 | === Testing your Models === |
| 10 | If you just want to load the models into Orxonox, follow these instructions: |
| 11 | 1. Change to the trunk/src/subprojects/importer directory |
| 12 | 1. Start the model viewer program by typing: ./importer [path_to_your_obj_file] |
| 13 | 1. 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. |
| 14 | |
| 15 | == md2 == |
| 16 | |
| 17 | There are some tools to create md2-models for Orxonox. [http://mediawiki.blender.org/index.php/MD2 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). |
| 18 | Here is a short [http://www.quadropolis.us/node/105?PHPSESSID=ba434da703a8ed5e972495794393c4a9 tutorial] about how to export simple models. |
| 19 | |
| 20 | Alternative: [http://www.misfitcode.com/misfitmodel3d Misfit Model 3D] is a simple, intuitive program to make md2 models/animations. |
| 21 | |
| 22 | == md3 == |
| 23 | md3 is used by the Quake III engine. Here are some links about the creation of md3: |
| 24 | * [http://w3studi.informatik.uni-stuttgart.de/~bischowg/CreateMD3Tut/CreateMD3Tut.html Complete tutorial] for creating md3-models with 3D Studio Max in German. |
| 25 | * [http://members.lycos.co.uk/peoplesfactory/q3_modeling/modeling.htm Creating Quake III Player Models in Maya] |
| 26 | * [http://www.quake3world.com/editing/tools-more.shtml Tools & Utilities] for viewing and creating md3-models for Quake III. |
| 27 | * [http://en.wikipedia.org/wiki/Quake_III_engine id Tech 3] - Wikipedia article on id Tech 3, the engine of Quake III |
| 28 | |
| 29 | These are some sites, where you can find md3-models: |
| 30 | * http://www.quake3bits.com/htm/models.htm - some complete models |
| 31 | * http://q3radiant.planetquake.gamespy.com/models.htm md3 - environment models from radiant site |
| 32 | * http://www.panebianco3d.com/e_3d-models.html - md3 player models |
| 33 | * http://planetquake.gamespy.com/View.php?view=Quake3.List&game=4 - tons of md3-models |