Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Version 1 (modified by wenners, 17 years ago) (diff)

Blender Export howto

This page explains how to export 3D models for Orxonox.

back to GamePlay?

General

Blender and Orxonox have different coordinate systems. The y-axis looks up in Orxonox (z-axis in Blender), so you have to rotate your model by 90° before exporting.

OBJ Files

  1. Delete all unused Materials
  2. Load the correct texture files for your meshes into blender (jpg or png)
  3. Select all objects you want to export. Don't forget the mountpoints of your spaceship!
  4. Export the the Blender scene as an Object file (File → Export → Wavefront (obj))

Now you should have two new files: a *.obj and a *.mtl file. The OBJ file contains all you meshes and texture coordinates. The MTL file contains all material (texture) related data. These files can be edited with any good text editor. (BUT NOT with: notepad or wordpad)

Problems

  • If your model is transparent in the engine (but shouldn't) you have to flatten you texture file in GIMP before exporting as png or jpg. That deletes the (unused) alpha channel. Image → Flatten Image (or similar). German: Bild → Bild zusammenfüegen

MD2 Files

TO DO!

Attachments (1)

Download all attachments as: .zip