Marioko
23-10-2006 19:44:03
Hi..
i was reading in some post about nxscene, my question is: It is still supported??
How can use it? its something plugin or converter from Max???
Thanks..
betajaen
23-10-2006 20:40:46
What do you mean the class or the file format?
The file format has been removed in favour of several others: Material-Like, YAML and binary. Material-Like is already implemented in 0.4 RC1 which allows exporting and importing of scenes.
There are no exporters for Max or any 3D modelers as I don't have them or wish to buy them just to write an exporter.
There are two tutorials 504a and 504b I believe which does it.
Marioko
24-10-2006 14:49:32
ok..
i was reading 504b about scene loader... a question:
in this line:
blueprint<scene> bp = Serialiser::Serialiser::Unserialise(new Serialiser::TextStream("test.txt"));
You are loading a text file ("test.txt"), what is the structure and formate of this file... is XML??
betajaen
24-10-2006 16:50:18
No, it's the material-format like.
Load 504a, press 1 for half a second, then press 2 to save the scene. The scene is saved in there a file called test.txt, as you've seen 504b it's loaded in there.
That is the file and the structure is in there. As your writing an exporter, all NxOgre needs to know is the position or pose of the body, density and shapes. Everything else is optional such as mass pose or angular velocity.