Hi all,

please give me a little assistance.
I'm using geometry shaders for creating my objects during rendering.
That is why I can't use the picking via lineIntersection inside osg.
But I have a local proprietary structure containing my display objects and
I know how to calculate the "nearest" hit with a ray.
The only thing: I don't know how to convert screen coordinate (x,y,0) x,y [0,1] to a coordinate in model space. Doing so and the same with (x,y,1) should give me the 2 points defining my ray for further local processing.

Any help appreciated.

Thanks

- Werner -

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

Reply via email to