[eq-dev] frustum for 2D-texture?
Stefan Eilemann
eilemann at gmail.com
Wed Apr 6 10:12:41 CEST 2011
Hi,
On 6. Apr 2011, at 9:18, shaakni [via Software] wrote:
> Using osgScaleViewer, I render a 2D texture that fit to my screen size (1280 * 1024).
> My window is having the viewport relatively [0 0 1 1].
> But I m not sure what values need to be given for setting frustum i.e., wall { ... } so that the texture
> get rendered in original resolution on the screen?
For 2D operations you want to set up a 2D orthographic relative to the *view*. Have a look at eqPly::Channel::_drawOverlay for an example.
Cheers,
Stefan.
--
View this message in context: http://software.1713.n2.nabble.com/frustum-for-2D-texture-tp6244970p6245089.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.equalizergraphics.com/pipermail/eq-dev/attachments/20110406/ad394ddf/attachment.htm>
More information about the eq-dev
mailing list