On Fri, Jun 5, 2009 at 7:11 PM, gr3go (via Nabble)<[email protected]> wrote: > Hey, > > I would need to obtain the full frame after composition. Before I used a > simple glReadPixels, but it's not the right choice because it takes too much > time to execute glReadPixels (framrate dropped from 70 to 50). > I've been analyzing the compositor module, but I'm not sure how could I > solve this problem. > > Could anyone help me with some tips?
The only sure way is to do a readback in Channel::frameViewFinish, since your channel might contribute to the rendering, i.e., not all data making up a frame is present in the Frames given to Channel::frameAssemble. This has a performance penalty, as you've observed. You might play around with PBO transfers: have two eq::Images which use PBO, syncReadback on the previous frame's image and startReadback on the 'current' image. HTH, Stefan. > P.S: I'm happy to hear about Equalizer 1.0, Congrats for all the team! Good > work! Nice to hear. What are you doing with Equalizer? -- View this message in context: http://n2.nabble.com/How-to-obtain-the-full-frame--tp3031738p3042678.html Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.
_______________________________________________ eq-dev mailing list [email protected] http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev http://www.equalizergraphics.com

