Hi John,

>I want to design a way to detect which rendered object user is touching in
the screen.

I would suggest to take a look at existing solutions:

http://www.mvps.org/directx/articles/improved_ray_picking.htm ( it uses DX
but explains an approach )

http://uncommoncode.wordpress.com/2010/09/22/select-objects-with-mouse-in-openscenegraph/

https://github.com/xarray/osgRecipes/blob/master/cookbook/chapter3/ch03_06/select_model.cpp(
example fromOpenSceneGraph 3 Cookbook)

Regards
Sergey
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to