Hi folks,

additional observation:

In case, where for each frame in the update-callback the color-buffer 
attachment is bound to new Image instance, and all outcoming pictures are all 
gray, except the first one -- I now store the reference to the initial 
color-buffer bound image, and write it's content together with the newly 
created per frame images. The per frame created and bound images are still 
gray, but the initial image receives the frame content instead. So the unbind 
and bind to new image in the update callback seems not to work, here:

Code:
// in update callback
cam->detach( osg::Camera::COLOR_BUFFER);
cam->attach( osg::Camera::COLOR_BUFFER, mImage.get());


Only the first bound image receives the frame content, independent of rebinding 
the color_buffer.

Can anyone help with some idea, what is goin wrong?

Cheers,
Alexej

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=43314#43314





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to