On 4/24/2011 2:15 PM, Zuzana Číková wrote:
I have one main and one slave camera, I would like to make the background of 
the slave camera semi transparent so I can see the main camera rendering. How 
is this possible? I have spheres visualized in both cameras and these dont have 
to be semitransparent, just the background.

Hm. Did you try disabling clear on the slave camera? Set the clear mask to 0, or set it to clear just the depth buffer.

Other thing, I wish I could border the viewport of the slave camera, so it 
would be directly visible that bordered part is the one of slave camera.

Use the same technique as you would for a fullscreen quad or triangle pair, but use a GL_LINE_STRIP primitive instead.
   -Paul
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to