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._______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com