[eq-dev] How to obtain the full frame?

2 views
Skip to first unread message

gr3go

unread,
Jun 5, 2009, 1:11:49 PM6/5/09
to eq-...@equalizergraphics.com

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?

Regards,
Adam

P.S: I'm happy to hear about Equalizer 1.0, Congrats for all the team! Good
work!

--
View this message in context: http://n2.nabble.com/How-to-obtain-the-full-frame--tp3031738p3031738.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.


_______________________________________________
eq-dev mailing list
eq-...@equalizergraphics.com
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Stefan Eilemann

unread,
Jun 8, 2009, 8:35:50 AM6/8/09
to eq-...@equalizergraphics.com
On Fri, Jun 5, 2009 at 7:11 PM, gr3go (via
Nabble)<ml-user+182939-293588172@...> 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: Re: [eq-dev] How to obtain the full frame?

gr3go

unread,
Jun 8, 2009, 8:40:44 AM6/8/09
to eq-...@equalizergraphics.com

Hey,

Thanks for the tips..
I am developing an application for remote visualization using cluster based
rendering....
It's a diploma thesis...

Regards,
Adam

--
View this message in context: http://n2.nabble.com/How-to-obtain-the-full-frame--tp3031738p3042697.html


Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.

Reply all
Reply to author
Forward
0 new messages