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

[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

[osg-users] Re: Best way to debug detected OpenGL error 'invalid value' at top of State::apply(StateSet*)

2020-06-03 Thread Glenn Waldron
Download CodeXL and set it to break on OpenGL errors. That will tell you the exact GL call generating the error Glenn -- 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,

Re: [osg-users] Best way to debug detected OpenGL error 'invalid value' at top of State::apply(StateSet*)

2020-06-03 Thread Daniel Trstenjak
Hi Erik, > My question is: how can I find out what the underlying problem is? What is > the 'invalid value'? > Where is it coming from? take a look at the GL_KHR_debug and GL_ARB_debug_output extensions. They add some checking to OpenGL state changes and report errors. Greetings, Daniel --