Hi,

Robert Osfield schrieb:
On 11/5/06, Don Burns <[EMAIL PROTECTED]> wrote:
> If its an RTT camera then it won't have Producer::Camera counter part.


Beg to differ.  Are you reading back a texture? or an FBO?  Either will work
with a producer::Camera post draw callback.

Oliver is using a osg::CameraNode not a Producer::Camera for his RTT
work, in this case there isn't a Producer counter part, its managed
entirely with the core osg/osgUtil.

If you are doing RTT using a Producer::Camera &
Producer::RenderSurface this is a different matter, a Producer
callback will work.

I want to read back a texture and the z-buffer values. I want to do several others things, which could be done manually in an easy way, but with osg it seems not to be so easy.

What is the difference between the osg::CameraNode and the Producer::Camera? If there is no such big difference, I could use a Producer::Camera and do a postDrawCallback.

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

Reply via email to