If you haven't done so already, be sure to visit the Wiki Portal to read about how the wiki works. Especially the Ogre Wiki Overview page.
Author: Michael Reimpell?
Project: OGRE Add-on Project (blendersceneexporter)
Type: Python Script
Documentation: Help page
Git Repo: https://bitbucket.org/iboshkov/blender2ogre
Status and bug reports: OGRE Forum Thread
The script currently supports the export of mesh objects, cameras, Lamp-, Spot- and Sun-lamps, world horizon colour, global ambient and mist. Meshes themselves must be exported separately with the OGRE Meshes Exporter. Be sure to export all needed meshes at once using a material file named after the scene or manually copy all needed material definitions into a single material file named after the scene (e.g. Scene.scene, Scene.material). Custom object properties can be exported through Logic Properties (F4) however you will need to create a custom loader for Ogre to import these, as they are not part of the dotScene.dtd XML specification.
This tool will give you a XML file named after your scene. Inside you'll find a description of nodes and entities for your objects, cameras and lights and environmental settings. You can use the DSI framework code to load this dotScene file directly into your project. You'll probably want to use the ST_GENERIC scene manager. An alternative is to compile the dotScene file into a binary octree file with the dotSceneOctree Converter Tool. In this case your scene manager would be the dotSceneOctree scene manager which would handle importing the scene for you. Finally you can also use this dotScene file to generate a light map from using the ogrefsrad tool. Refer to OGRE Exporters for available options.
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.
As an exception, any source code contributed within the content is released into the Public Domain.