Skip to main content

History: RapidXML Dotscene Loader

Source of version: 17

Copy to clipboard
            {redirect url="https://github.com/OGRECave/DotSceneFormat"}

{TRANSCLUDE(page="Layout_div6", img="1736")}This is a dotscene loader based on {LEX()}RapidXML{LEX}.{TRANSCLUDE}
{maketoc}

!Introduction
This ((DotScene|dotscene)) loader is based on ((New DotScene Loader)) but uses RapidXML instead of TinyXML.
It also implements a simple Ogre terrain loader.

RapidXML is very similar to TinyXML in use, but it's only a single header - and thus extremely lightweight.


---
!The Code

see [https://github.com/OGRECave/DotSceneFormat|OGRECave/DotSceneFormat]

---
!Sample Use
Add the two files above to your project, along with {MONO()}rapidxml.hpp{MONO}, and then it's just a matter of calling {MONO()}parseDotScene{MONO}:
{CODE(wrap="1", colors="c++")}
   DotSceneLoader loader;
   loader.parseDotScene("SampleScene2.xml","General", mSceneMgr);
{CODE}
%note% The loader assumes that the scene is in your Ogre resource locations.

That's it.

---
{TRANSCLUDE(page="seebox")}* ((DotScene))
* ((DotScene Loader with User Data))
* ((MOGRE dotSceneLoader))
* ((Tools: Blender|#dotScene Exporter|Blender dotScene Exporter)) - Exports .scene files from Blender.
* Example Scene Converter - Parses scene file into binary octree file (Works in conjunction with DotSceneManager)
* 3DS Scene Exporter - Exports meshes/lights/materials/.scene file (ogreaddons/3dssceneexporter)
* Octopus - From the [http://www.yake.org/|YAKE] creators - exports .scene files (among other things) from 3DS Max
* [http://www.lfagames.com/help.htm|LFA Scene Manager] for Maya - Exports meshes/lights/materials/.scene file
* ((Maya Scene Exporter)) - Open Source scene exporter, supporting lights,cameras,transformations, references. In Ogre AddOns CVS.
* ((OgreMax Scene Exporter)) - The OgreMax Scene Exporter is a 3DS Max 8/9/2008/2009 exporter plugin that exports scenes to the .scene format.
* ((Ogitor)) - An open source Ogre scene editor ([http://www.ogitor.org/|www.Ogitor.org]){TRANSCLUDE}

        

History

Information Version
Tue 07 of May, 2024 12:35 GMT-0000 paroj 18
Sun 29 of Oct, 2017 23:10 GMT-0000 paroj 17
Wed 28 of Jun, 2017 12:37 GMT-0000 paroj 16
Wed 30 of Nov, 2011 14:38 GMT-0000 qmech Removed namespace Ogre in from DotSceneLoader code-snippet. DotSceneLoader.h does not use Ogre namespace- 15
Thu 17 of Jun, 2010 12:42 GMT-0000 jacmoe 14
Thu 17 of Jun, 2010 11:09 GMT-0000 jacmoe 13
Thu 17 of Jun, 2010 11:08 GMT-0000 jacmoe 12
Thu 17 of Jun, 2010 02:47 GMT-0000 jacmoe 11
Thu 17 of Jun, 2010 02:46 GMT-0000 jacmoe 10
Thu 17 of Jun, 2010 02:37 GMT-0000 jacmoe 9
Thu 17 of Jun, 2010 02:35 GMT-0000 jacmoe 8
Thu 17 of Jun, 2010 02:33 GMT-0000 jacmoe 7
Thu 17 of Jun, 2010 01:32 GMT-0000 jacmoe 6
Thu 17 of Jun, 2010 01:13 GMT-0000 jacmoe 5
Thu 17 of Jun, 2010 00:45 GMT-0000 Beauty added "See also" section with related links 4
Wed 16 of Jun, 2010 22:34 GMT-0000 jacmoe 3
Wed 16 of Jun, 2010 22:26 GMT-0000 jacmoe 2
Wed 16 of Jun, 2010 22:20 GMT-0000 jacmoe 1