Difference between revisions of "HowToExportFromBlender"

From SfzWiki
Jump to: navigation, search
Line 1: Line 1:
 
just a few notes on exporting,  we should make a proper tutorial someday
 
just a few notes on exporting,  we should make a proper tutorial someday
  
 
+
* first you need to install the blender ogre exported :  
 
+
** download [http://downloads.sourceforge.net/ogre/OgreBlenderExport_v1.4.0.zip?download Blender Exporter v1.4.0]  
:* Get [http://downloads.sourceforge.net/ogre/OgreBlenderExport_v1.4.0.zip?download Blender Exporter v1.4.0] to take meshes from Blender to Ogre XML. Requires the use of the OgreXMLConverter contained in the [http://downloads.sourceforge.net/ogre/OgreCommandLineTools_v1.4.0.msi?download OgreCommandLineTools_v1.4.0.msi] to turn the XML (item.mesh.xml) into a runtime binary mesh (item.mesh).
+
** unpack and move the everything inside it into (win:)YOUR_BLENDER_DIR/.blender/scripts or (linux:) YOURHOME/.blender/scripts.
 
+
** rightclick into a free place of the bottom-panel and select split area
 
+
** on the left button of the new panel select "script-window"
 
+
** next to it a "scripts" button appears, you can find the exporter under "Export":"OGRE Meshes"
 
+
** this just exports to meshes from Blender to Ogre XML
 +
** you need OgreXMLConverter contained in the [http://downloads.sourceforge.net/ogre/OgreCommandLineTools_v1.4.0.msi?download OgreCommandLineTools_v1.4.0.msi] to turn the XML (item.mesh.xml) into a runtime binary mesh (item.mesh).
  
  

Revision as of 20:22, 22 August 2007

just a few notes on exporting, we should make a proper tutorial someday

  • first you need to install the blender ogre exported :
    • download Blender Exporter v1.4.0
    • unpack and move the everything inside it into (win:)YOUR_BLENDER_DIR/.blender/scripts or (linux:) YOURHOME/.blender/scripts.
    • rightclick into a free place of the bottom-panel and select split area
    • on the left button of the new panel select "script-window"
    • next to it a "scripts" button appears, you can find the exporter under "Export":"OGRE Meshes"
    • this just exports to meshes from Blender to Ogre XML
    • you need OgreXMLConverter contained in the OgreCommandLineTools_v1.4.0.msi to turn the XML (item.mesh.xml) into a runtime binary mesh (item.mesh).


  • lower left : link mand materials : name the model
  • press n : transform window,
    • set pos to 0
    • lower right of the transform window should be near 1,1,1 for one ingame tile (press s to scale the model)
  • move the middlepoint to a position on the grid
  • go to edit mode and move the mesh so that it is aligned to a unit-sized grid
  • export :
    • select everything you want to export
    • open python-script-list (right bottom) : export > ogre.mesh
    • "copy texture" should be active
    • ogremeshexporter should be active so we get a .mesh instead of a .xml
    • hit export