Skip to main content

History: Blender dotScene Exporter

Preview of version: 6

Ogredotscene2.png
Author: Michael Reimpell
Project: OGRE Add-on Project (blendersceneexporter)
Type: Python Script
Documentation: see README.md
Sources: https://github.com/OGRECave/blender2ogre
Git Repo: https://github.com/OGRECave/blender2ogre

Status and bug reports: github issues


The OGRE dotScene Exporter script converts 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 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