[osg-users] Oculus DK2 and intersections

Maxim Kuzmin maxrider at mail.ru
Mon Jul 6 05:20:54 PDT 2015


Hi,

I'm working on osg-based application which shows 3d-scene. It can react on some input events, such as clicks and touches. I'm using IntersectionVisitor and LineSegmentIntersector to determine which object was clicked/touched. Now I'm interested in having such functionality in Oculus DK2 and I have it, but determination of clicked object works incorrectly - mistake is minimal in center and maximal on edges of the screen.

So, the question is - how to make IntersectionVisitor and LineSegmentIntersector work correctly with Oculus DK2?

Thank you!

Cheers,
Maxim

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64263#64263








More information about the osg-users mailing list