[osg-users] Equivalent of glTexSubImage2D ?
Johny Canes
psijsma at gmail.com
Mon Feb 27 11:46:53 PST 2017
Hi,
I've been exploring my options, and have not found a decent solution.
In the osg prerender example, there's an image that's attached to a camera. It is attached to a texture with texture->setImage(0, image);, and the camera has a post-draw callback that inverts the colors on the image.
The image holds the pixels of the scene.
When we render the texture, the texture may see that it has a dirty image attachment.
The problem is that I don't want to dirty the whole image, which is 2048x2048.
Cheers,
Johny
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70356#70356
More information about the osg-users
mailing list