William Brogden wrote:I really don't understand what the problem is.
What does your XML that creates "2D" data look like?
What is reading this data?
Ulf Dittmer wrote:There are any number of ways in which you can store 3D data in a file. Do you have a particular format in mind, maybe as an input for some application? I'm not clear on what specific problem you're facing.
Ulf Dittmer wrote:That goes back to the original question of what, exactly, you're trying to do. "Create 3D data" could mean various different things, especially as you mix it up with the storage of 3D data in a file format. What, exactly, do you have, and what, exactly, would you like to accomplish?
Storing 3D data could be as simple as this:
There are any number of libraries that can create XML, or you just write it directly to a text file if the format is simple.
William Brogden wrote:You seem to be confusing two different things, creating data and formatting it in XML.
One would use a 3D drawing program to create 3D data and the drawing program would be able to save that in some format, probably not the XML format you want.
You would need a second process to reformat the data to your desired XML.
So, first step is to have a 3D capable drawing program.... right? Do you have one?
Ulf Dittmer wrote:It actually sounds as if you're conflating even more issues. Are you asking how to draw something on the screen?