Quoting Robert Osfield <[EMAIL PROTECTED]>:
On 5/17/07, Jeremy L. Moles <[EMAIL PROTECTED]> wrote:
Try adding:

  camera->setReferenceFrame(osg::Transform::ABSOLUTE_RF);
  camera->setRenderOrder(osg::Camera::POST_RENDER);

I don't think your quad is being created incorrectly, I think it has
everything to do with how the camera is being setup...

This is required for a in scene graph Camera doing a HUD, but not for
a viewer Camera.

Just to specify, Robert is correct - the camera I'm trying to setup is the final viewer camera. I want to do a RTT and then just display the result of that onto a quad which has 1-to-1 pixel to texel mapping in the viewer. The RTT part is not what I'm struggling with now, it's setting the camera up correctly to see the quad.

Any ideas? Thanks in advance,

J-S
--
______________________________________________________
Jean-Sebastien Guay     [EMAIL PROTECTED]
                        http://whitestar02.webhop.org/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to