Skip to main content

History: Blender dotScene Exporter

Source of version: 4

Copy to clipboard
            {img src="img/wiki_up/Ogredotscene2.png" alt="Ogredotscene2.png" imalign="right"}
__Author__: ((User:Reimpell|Michael Reimpell))
__Project__: OGRE Add-on Project (blendersceneexporter)
__Type__: Python Script
__Documentation__: [http://ogreaddons.svn.sourceforge.net/viewvc/ogreaddons/trunk/blendersceneexporter/Docs/index.html|Help page]
__Sources__: [https://ogreaddons.svn.sourceforge.net/svnroot/ogreaddons/trunk/blendersceneexporter/|OGRE Addons SVN]
__Direct script download__: [http://ogreaddons.svn.sourceforge.net/viewvc/ogreaddons/trunk/blendersceneexporter/ogredotscene.py|ogredotscene.py]
__Status and bug reports__: [http://www.ogre3d.org/phpBB2/viewtopic.php?t=24418|OGRE Forum Thread]

---
The ''OGRE dotScene Exporter'' script converts ((Tools: Blender|Blender)) scenes to XML files defined by the dotscene.dtd of the ((DotSceneFormat)) addon project. (Read more about in ((DotScene)).)

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 ((Tools: Blender|#OGRE Meshes Exporter|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.

        

History

Information Version
Sun 29 of Oct, 2017 23:11 GMT-0000 paroj 8
Thu 15 of Jun, 2017 18:13 GMT-0000 paroj 7
Thu 15 of Jun, 2017 18:12 GMT-0000 paroj 6
Tue 13 of Dec, 2016 02:42 GMT-0000 bkeys 5
Thu 31 of Dec, 2009 15:07 GMT-0000 jacmoe 4
Mon 28 of Dec, 2009 08:46 GMT-0000 jacmoe 3
Mon 28 of Dec, 2009 08:45 GMT-0000 jacmoe 2
Thu 26 of Feb, 2009 00:59 GMT-0000 Beauty added link to [[DotSceneFormat]] 1