On 29/12/09 6:52 PM, Paul Martz wrote: > Paul Martz wrote: >> I've noticed the same thing with OBJ. > > A little digging reveals that the OBJ plugin has a "noRotation" Option > that disables the x axis rotation. The rotation is only done on file > load, not on file write. > > Rotation about x is on by default. I'd suggest a change to off by > default, and the Option changed to "doRotation" to enable it.
The .x plugin has 'leftHanded' and 'rightHanded'. Maybe we could establish a common option for this type of functionality (one that does 'convert to right-handed, Z-axis up'). There already are options with (apparently) related functionality (courtesy of 'osgconv --formats'): Coordinate system: obj:noRotation x:leftHanded x:rightHanded Optimization: obj:generateFacetNormals obj:noTriStripPolygons stl:generateNormals stl:smooth stl:tristrip Image orientation hdr:NO_YFLIP hdr:YFLIP x:flipTexture Cheers, /ulrich _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

