Hi Brian,

On Thu, Feb 28, 2008 at 5:43 PM, Brian <[EMAIL PROTECTED]> wrote:
>
>  Oops, I meant Producer::Camera::setProjectionRectangle.  There is no 
> osg::Camera class.

The OSG uses OpenGL naming conventions, so its just plain Viewport (as
in glViewport) rather than ProjectionRectangle.  So what you are
looking for is:

  camera->setViewport(x,y,w,h);

Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to