Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 10 and Version 11 of content/tools/BlenderExport


Ignore:
Timestamp:
Mar 12, 2009, 8:42:54 PM (15 years ago)
Author:
FelixSchulthess
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • content/tools/BlenderExport

    v10 v11  
    11= Object Export with Blender =
     2
     3''Checked with Blender 2.48a on 12. Mar. 2009 by [wiki:FelixSchulthess Felix]''
    24
    35This page explains how to export 3D models from Blender to load them in Orxonox.
     
    911=== Prerequisites ===
    1012
    11 To export to mesh we first need the Blender Mesh Exporter, a python plugin for Blender. Get it from the [http://www.ogre3d.org/index.php?option=com_content&task=view&id=413&Itemid=133 Ogre webpage]. To use this plugin, python must be installed on your system.
     13To export to mesh we first need the Blender Mesh Exporter, a python plugin for Blender. Get it from the [http://www.ogre3d.org/index.php?option=com_content&task=view&id=413&Itemid=133 Ogre webpage]. For Blender 2.48a, you will need to have Python installed on your system, version 2.5.2 or higher. If you use Linux, you will most probably already have Python installed.
    1214
    13 If a system wide installation is intended, unpack the zip file into /usr/share/blender/scripts. If only a local installation in required or possible (probably due to the lack of permissions), unpack them somewhere in your home dir, ~/.blender/scripts/ is suggested.
     15If a system wide installation is intended, unpack the zip archive you downloaded from the Ogre webpage into /usr/share/blender/scripts. If only a local installation in required or possible (probably due to the lack of permissions), unpack it somewhere in your home dir, ~/.blender/scripts/ is suggested.
     16
     17'''Note:''' On the Tardis computers of D-ITET, the Blender Mesh Exporter is already installed.
    1418
    1519=== Exporting to mesh ===
     
    1822 1. Check if all textures for your objects are loaded into Blender.
    1923 1. It is very helpful, to name your objects and data blocks if you have not done so already (see picture).
    20  1. Open the export dialog (File -> Export -> OGRE Meshes). If this option doesn't show up, update the menus (Scripts Windows -> Scripts -> Update Menus). If it still doesn't show up, make sure you have installed the script correctly and you have python installed.
     24 1. Open the export dialog (File -> Export -> OGRE Meshes). If this option doesn't show up, update the menus (Scripts Windows -> Scripts -> Update Menus). If it still doesn't show up, make sure you have installed the script correctly and you have python installed. Verify in the User Preferences Window under ''File Paths'', that the path to Python scripts is correct.
    2125 1. Select the model, check "OgreXML Converter", uncheck "Copy Textures", if your texture resides in the same folder as your blend file. Pick a sensible filename for your material under Material Settings.
    2226 1. Hit Export.
    2327
    24 This will create (at least) 3 new files in the blend-file-folder: a .mesh file, a .mesh.xml file, and a .material file.
     28This will create (at least) 4 new files in the blend-file-folder: a .mesh file, a .mesh.xml file, and a .material file. Most likely, a log file of the OgreXML Converter will be produced also. Ignore it for now.
    2529
    2630The material filename will be the one you chose in the export dialog. This file contains all materials that are used in your scene, so if you export several meshes from the same scene (blend-file), you will only need one material file.