[osg-users] OBJ Files Rotated When Saved

2020-06-03 Thread 'Scott Shaw' via OpenSceneGraph Users
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 ex

Re: [osg-users] OBJ Files Rotated When Saved

2020-06-03 Thread Andreas Ekstrand
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" You can find out what options a certain format support with: osgconv --format Regards, Andreas On 2020-06-03 22:41, 'Scott Shaw' via O