robert.osfield at gmail.com
Fri Sep 14 02:29:50 PDT 2007
The core OSG uses osg::Viewport rather than ProjectionRectangle,
Viewport is a direct mapping to OpenGL's glViewport. You can get the
Viewport from the Camera i.e.
The ProjectionRectangle is really just a viewport, but Don decided he
didn't like the use of the word viewport for glViewport and that
ProjectionRectangle was somehow more intuitive.
The core OSG by contrast follows OpenGL naming.
On 9/14/07, #POH CHENG GUAN# <timpcg at pmail.ntu.edu.sg> wrote:
> In version 1.2, I used the Producer's function: getProjectionRectangle to get my projected x, y, width and height for picking purpose. In version 2, how do I get the projected x, y, width and height?
> osg-users mailing list
> osg-users at lists.openscenegraph.org
More information about the osg-users