RapidXML Dotscene Loader         Dotscene loader using RapidXML
Print

Image This is a dotscene loader based on RapidXML.

Table of contents

Introduction

This 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 OGRECave/DotSceneFormat(external link)


Sample Use

Add the two files above to your project, along with rapidxml.hpp, and then it's just a matter of calling parseDotScene:

DotSceneLoader loader;
   loader.parseDotScene("SampleScene2.xml","General", mSceneMgr);

Info The loader assumes that the scene is in your Ogre resource locations.

That's it.


See Also
Image


Contributors to this page: paroj1 points  , qmech76 points  , jacmoe180265 points  and Beauty14565 points  .
Page last modified on Wednesday 28 of June, 2017 12:37:29 UTC by paroj1 points .


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.