Hello Dominik, Marcus,

Dominik Rau wrote:
> Hi Marcus.
> 
> Am 14.08.2008 um 09:37 schrieb Marcus Lindblom:
> 
>> My bet is that the OSG::Image (in system memory) never gets updated  
>> from
>> it's corresponding buffer on the gfx-card (which you write to using
>> FBOViewport). To do so would require a glReadPixels() or  
>> glGetTexImage()
>> (or whatever the latter is called) to download data to the OSG::Image.
> 
> 
> Yep - I think you're right. And I also think that glGetTexImage is the  
> way to go.

FBOViewport can be instructed to read the data back to cpu memory, the 
field that controls this is sfReadBuffer.

        Hope it helps,
                Carsten

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to