Well, the simplest way to retrieve the image from the RTT texture is to
attach an image to the color buffer of the camera.
Of course this slows down the rendering loop if you read every image
rendered. So it is possible to attach the image only before the frames
you actually want. When changing
Hi,
look at the osgprerender example where an image is attached to the RTT
camera. Search for -attach. You do not need to call readImage yourself.
rgds
jp
Guerrero, Michael (CIV) wrote:
After looking into this further, it seemed that using glGetTexImage
would be able to copy from a texture
After looking into this further, it seemed that using glGetTexImage
would be able to copy from a texture used as a render target (FBO). I
have tried this only to be left with a black texture that never gets
filled in. I know that function works by grabbing whatever texture is
currently bound and
3 matches
Mail list logo