Martin Spott wrote:
Hi,
the actual reason why I'm asking is very specific - but in fact the
intention is quite 'generic'.

FlightGear typically uses the AC3D format for drawing aircraft models
and scenery buildings. This works quite nicely - this is one of our
usual eye-catchers:

  http://foxtrot.mgras.net/bitmap/FGFS/ggb-ac.png

Now I've been building OSG 2.6.0 with the Collada DOM 2.1.1, I took
'osgconv' to convert the .ac model into a .dae and replaced the
respective reference in our FlightGear Scenery. This is how our
eye-catcher looks as an OSG-converted Collada model:

  http://foxtrot.mgras.net/bitmap/FGFS/ggb-dae.png
Oops :)

When I load your model in .ac format together with axes.osg the Golden Gate's road is along the Z axis, with the Y axis pointing up.
Is that what you expect?

I don't see anything like "rotate Z to Y up" in the AC3D plugin, I believe the .obj plugin does do something like that

Paul
Apparently, contrary to my earliest assumptions, this is not solely
specific to the Collada writer. As a comparison, when I'm subsituting
the .ac with an .ive file (OSG-converted from the .ac as well) it's the
same story:

  http://foxtrot.mgras.net/bitmap/FGFS/ggb-ive.png

I'm getting curious: Does file format conversion with OSG 'normalize'
the orientation, does the AC3D reader behave differently when loading a
model for FlightGgear, is there something else I should take into
account ?

I've put a little package onto the site for those who'd like to try it
out. This contains the original .ac model, the involved texture files
plus the .dae and .ive as a result of my convertion attempts:

  http://foxtrot.mgras.net/bitmap/FGFS/ggb.tar.bz2

Thanks for reading,
        Martin.

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to