I'm making a video game using Ogre3d. I load the .scene file with the most recent tinyxml dotscene loader. Now I want to save the modified scene back to the .scene file. Can someone give me an example or an hint on how to do that?
1
There are 1 best solutions below
Related Questions in C++
- C++ using std::vector across boundaries
- Linked list without struct
- Connecting Signal QML to C++ (Qt5)
- how to get the reference of struct soap inherited in C++ Proxy/Service class
- Why we can't assign value to pointer
- Conversion of objects in c++
- shared_ptr: "is not a type" error
- C++ template using pointer and non pointer arguments in a QVector
- C++ SFML 2.2 vectors
- Lifetime of temporary objects
- I want to be able to use 4 different variables in a select statement in c ++
- segmentation fault: 11, extracting data in vector
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- How can I print all the values in this linked list inside a hash table?
- Configured TTL for A record(s) backing CNAME records
Related Questions in OGRE3D
- Marching Cubes Terrassing/Ridge Effect
- In Ogre3D, how to export texture pixel value to physical memory
- Boost thread overrides value of member variables
- Creating a plugin for CEF3 in Unity 3D
- Convert X8B8G8R8 to R8G8B8 C++ code
- Linking to framework with cmake on Mac OS X
- Resource Initialization and OpenGL Contexts
- How to fix Ogre3d segfault with std::_Rb_tree_insert_and_rebalance?
- Fatal Error: OgreCgPlugin.h: No Such File or Directory (Ogre3d)
- Where in the Ogre3D framework should I add / delete dynamic objects?
- How do I set a timer in Ogre 3D?
- Ogre3d 1.9 + xcode 6.1 for iOS 7 give error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'?
- Which vertices is observable from the specific camera view in OGRE3D engine?
- i made CEGUI-0.8.2 by cmake and then trying add ogre3d, but have some problems help me
- GET GET GET GET GET DO - Overdesigning? Efficiency vs Consistency
Related Questions in OGRE
- Libhand library compilation error on Ubuntu 12.04
- In Ogre3D, how to export texture pixel value to physical memory
- C++ Ogre Runtime error 'Assertion failed'
- C++ OGRE3D VS2013: Error LNK2038: mismatch detected for '_MSC_VER': value '1700' doesn't match value '1800'
- Could not locate OIS using CMake and Makefiles
- Frame Listerner in QMLOgre advancingu
- Frame Listener in QMLOgre Lib Freeze Window
- Ogre difference between quaternion
- Mesh overlapping moving 3D characters
- Cmake Add new project to solution
- How can I tell if HLSL shader code is valid for a given shader version?
- Embedding Ogre into a qt application on windows platform
- How to fix Ogre3d segfault with std::_Rb_tree_insert_and_rebalance?
- Launching other applications from within Ogre
- Player Bullets going the wrong way and Enemy bullets not firing
Related Questions in SCENE
- Update Unity Scene in Android Studio
- Xcode 6 SpriteKit Scene not Refreshing
- Using NSUser Defaults to save a current game score (not high score)?
- Loading new FXML in a Jar
- Method for loading a SKScene from a file without calling the init(fileNamed:"")
- specifying scene's background color in SceneKit
- How to put multiple LineCharts into one Scene/Stage?
- SceneKit NSNode split parts
- How to check if the fxml window or a stage is open or not in JavaFx?
- Argument type mismatch Exception while opening a new stage
- C++ Raytracer - Only one object appearing in scene
- How to have th enter key repeat the action of a click of a button?
- Using other Class in Scene
- Swift : Updated Variable in a different scene
- How to close current stage when clicking a button to display new stage
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You need to code the exact reverse process:
This TinyXml Tutorial shows the needed code parts in terms of XML generation.
A real-world example is Ogitor (an WYSIWYG Ogre editor), where each editor object has a method TiXmlElement* CXXXEditor::exportDotScene(TiXmlElement *pParent) that moves all relevant attributes/states into the TinyXml structures before it then gets saved into a file.