[osg-users] [Repost while forums down] Convert from screen space to world space and back to screen space
Christian Buchner
christian.buchner at gmail.com
Mon Jun 26 02:27:55 PDT 2017
The thing is... a 2D pixel on screen is essentially a line segment in 3D
(contained within the view frustum). After manipulating this line with a
rotation matrix, this would most likely become a line in 2D space too.
Are you interested in the closest intersection with an object instead? That
might not always return a valid result if there's no object intersecting.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170626/5c733c97/attachment-0003.htm>
More information about the osg-users
mailing list