glReadPixels is one way you have to call something like glDrawBuffer
(GL_COLOR_ATTACHMENT0_EXT); when with FBO's  I think
( along time since I have done this )


Gordon Tomlinson
Product Manager 3d Technology & Project Wyvern
Overwatch(r)
An Operating Unit of Textron Systems
-----Original Message-----
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Martin
Aasen
Sent: Wednesday, June 09, 2010 9:33 AM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] Read texels from texture in GPU memory

Hi all!

I am currently rendering to a texture by attaching it to a camera as
Camera::COLOR_BUFFER. 

Now I want to read data back to the CPU from this texture. I have looked
at the examples and examined the forum, but I still don't understand how
to do this.  

Can anyone please point me to the information I need or provide some
code examples to get me started?

Cheers,
Martin

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to