2009/5/23 Paul Griffiths <[email protected]>:
> My second idea of how to create my effect has a flaw, if the rear contents of 
> 2 scrollpanels overlap then ill get the contents of the scrollpanels inside 
> each other.
>
> If anyone knows how to create single-sided clipPlanes which only clip when 
> viewed from one side and when viewed from the other side do not clip then do 
> post, its what I need.
>

Lol, I knew you where going to wind up asking this question.

The idea solution is portal rendering.
No mucking about with stencil buffers or render to texture.

However I don't think osg supports portal rendering,
and modifying the render stage to support it isn't
exactly trivial.

-- 
http://www.ssTk.co.uk
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to