29 | | |
30 | | [[OutdatedPage]] |
31 | | |
32 | | == obj Files == |
33 | | 1. Delete all unused Materials |
34 | | 1. Load the correct texture files for your meshes into blender (jpg or png) |
35 | | 1. Select all objects you want to export. Don't forget the mountpoints of your spaceship! |
36 | | 1. Export the the Blender scene as an Object file (File -> Export -> Wavefront (obj)) |
37 | | |
38 | | 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. |
39 | | |
40 | | * Wavefront OBJ File Format Summary: http://www.fileformat.info/format/wavefrontobj/ |
41 | | * Alias/WaveFront Material File Format: http://www.fileformat.info/format/material/ |
42 | | |
43 | | === Problems === |
44 | | * 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 alpha channel, which is not needed anyway. |