On 25. Mar 2011, at 15:23, Dardo D Kleiner - CONTRACTOR wrote: > Is there a way to determine the overall screen frustum of a set of channels > from *outside* the channels' render context? > > I'm trying to position 2D elements wrt the view (like statistics are drawn in > frameViewFinish), but need to know the overall pixel width/height before the > frame is drawn (to build/position the geometry). Seems > getViewport/getPixelViewport are only valid within Channel::frameFoo > functions (not, e.g., in Pipe::frameStart).
Does frameViewStart help? This is only for destination channels, so I'm not sure if that helps you. Outside Channel::frameFoo they return the channel's native data, i.e., the pvp and vp relative to the window. Non-destination channels do not have this information, since it is only determined at draw time for which destination channel they render. In fact, they might render for different dest channels during one frame. Cheers, Stefan. -- http://www.eyescale.ch http://www.equalizergraphics.com http://www.linkedin.com/in/eilemann _______________________________________________ eq-dev mailing list [email protected] http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev http://www.equalizergraphics.com

