Hi
Does anybody know if a tool exists, that converts a xith3d scenegraph to it’s Odejava equivalent? Such a tool would be really nice, because we could then use all the fileformats we have for xith also for odejava (at least the xith users of odejava).
I don’t believe such a tool exists. I have written a tool which can convert Xith3D triangle meshes into Odejava ones however.
I think the main problem is that for Odejava, you typically create a much more simplified model of your scene for collision reasons. For example, for my tanks, they are thousands of triangles in Xith3D, but only 3 boxes in Odejava. I found that the geometry approximations work great for collisions.
Cheers,
Will.
Yeah - I actually only want to use that for loading e.g. md2 or obj files also for odejava. There’s only XODE as a fileformat to load in ODEJava right?
Yes. XODE works quite well IMHO, you can use the node names to link Odejava objects with their Xith3D counterparts. You can also use an extension to directly specify the model file, though I found the former solution works fine enough.
Will.
Nah - my problem is, I e.g. have a model created in a Modeleditor (e.g. blender3d) for the physics representation of my object. Now I want to load that model into ODEJava. As far as I know this I have two options:
- export it to xode by writing an xode exporter for blender.
- export it to md2, obj or whatever then load it to a Branchgroup with one of the xith loaders and then transform the branchgroup to an Odejava-Geom.
Are this the only possibilities?
Version 2 is done 
I posted that in Odejava forums - thought it more appropiate to post there, sorry for the double post.
http://192.18.37.44/forums/index.php?topic=10496.0
Arne