Hi Stefano,
[EMAIL PROTECTED] wrote:
> Hi Carsten,
> what I need is a copy of the pixel data. Your proposed method implies an
> fboviewport->setReadBuffer(true) (with an heavy glReadPixels!), which would be
> too slow for my needs. Is there any faster method like a glCopy that I could
> use out-of-the-box? Or I should extend the fboviewport functionality myself?
hm, if you don't need the data in main memory but only on the gpu, why
do you need a copy of it in the first place? Maybe if you give us an
explanation of what you are trying to do, we might come up with a way to
do it.
In theory the framebuffer extension should work with glCopyTexImage2D
and appropriately set read and draw buffers, I'm not sure if this
operation is usually implemented in hardware though. In answer to your
question, there is currently no out of the box way to duplicate a
textures pixel data in OpenSG without going through main memory.
Carsten
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users