Hi Scott,

This is default behavior, due to different z or y up conventions. It can be disabled with the noRotation loader option:
osgconv -O "noRotation" <inputFile> <outputFile>

You can find out what options a certain format support with:
osgconv --format <format_extension>

Regards,
Andreas


On 2020-06-03 22:41, 'Scott Shaw' via OpenSceneGraph Users wrote:
I ran into an issue today that seems to be a bug within the OSG OBJ writer.

I called osgDB::writeNodeFile(*geometry,fileName) with .obj as the extension and my geometry ended up rotated 90 degrees about the X-axis.  When I called the same function with the same geometry but with .ive as the extension, the geometry looked fine.  I can just use IVE files for now, but I figured I'd let someone know.
--
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscr...@googlegroups.com <mailto:osg-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/cc85a9e2-8690-4b01-8f15-3c7bfb6cc138%40googlegroups.com <https://groups.google.com/d/msgid/osg-users/cc85a9e2-8690-4b01-8f15-3c7bfb6cc138%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osg-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osg-users/1cdbbaba-f760-1f95-b34e-f069f65d4c68%40remograph.com.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to