[osg-users] osgoculus viewer picking
Michael Maurus
michael.maurus at web.de
Thu Nov 9 01:38:22 PST 2017
Okay, here a few updates of what I learned:
1. There is no geometry which will be rendered to the main camera of ogoculusviewer. That's why no intersections can be found.
2. Displaying the oculus view will be done by blitting the mirrorTexture to the back buffer.
3. So solve my problem, I added a third slave camera which renders the scene in user-friendly mode (different projection matrix than oculus). As this slave camera does not RTT picking in window coordinates works fine!
Cheers,
Michael
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72342#72342
More information about the osg-users
mailing list