Jen Hunter
2011-10-24 11:57:14 UTC
Hi,
I am currently working on a pose estimation combined with OpenSceneGraph rendering.
It seems that the POSIT algorithm from OpenCv needs modelpoints from a left handed coordinate system.
I am working with Sketchup exported Collada files that are right handed. OpenSceneGraph is as OpenGL right handed as well.
So I calculate the pose with the POSIT algorithm with left handed input 3D points and get a left handed pose.
When I apply a negative scaling along z and change the winding order to osg::FrontFace::CLOCKWISE it is displayed left-handed.
For various reasons I'd rather have it displayed right-handed as usual.
I was wondering if there is a way to transform a left-handed modelview matrix into a right-handed one?
I'd really appreciate any idea.
Thank you!
Dakota
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=43516#43516
I am currently working on a pose estimation combined with OpenSceneGraph rendering.
It seems that the POSIT algorithm from OpenCv needs modelpoints from a left handed coordinate system.
I am working with Sketchup exported Collada files that are right handed. OpenSceneGraph is as OpenGL right handed as well.
So I calculate the pose with the POSIT algorithm with left handed input 3D points and get a left handed pose.
When I apply a negative scaling along z and change the winding order to osg::FrontFace::CLOCKWISE it is displayed left-handed.
For various reasons I'd rather have it displayed right-handed as usual.
I was wondering if there is a way to transform a left-handed modelview matrix into a right-handed one?
I'd really appreciate any idea.
Thank you!
Dakota
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=43516#43516