[osg-users] Convert from screen space to world space and back to screen space.

Zach Basanese osgforum at tevs.eu
Fri Jul 14 11:45:33 PDT 2017

Thanks for the response Steal.

So, if I'm reading that post correctly, I can multiply my vector of (x, y, 0) by ModelInverse*ViewInverse*WindowMatrix, apply my 3D rotations, and then multiply the resulting vector by Model*View*Window to get back to screen-space.

I'll give it a try!


Steal wrote:
> Ou, that is a rather easy question. First of all, you'll like the lhs and rhs operations you can do with matrices, like mat * mat and vec * mat, I think work.
> http://forum.openscenegraph.org/viewtopic.php?t=2292
> Maybe this has something useful in it.

Read this topic online here:

More information about the osg-users mailing list