On 7/11/07, Nigel Jenkins <[EMAIL PROTECTED]> wrote:
Robert Osfield wrote:
>
> One thing to note that the OSG only supports of position of each
> OpenGL clip plane per stage in rendering, it doesn't support multiple
> positions for each clip plane.

Thats a shame!

Would be really useful to have clipnode functionality that only worked
on geometry beneath it in the heirarchy, is there a reason that this
would be problematic because of OSGs internals that require the clipnode
defines the clipplanes per frame?

We don't just support decoration of subgraphs to support clip planes
as its really useful to decouple the positioning of the clip planes
from the use of them.  See the osgclip example for why this is useful.

Given this functionality you then have to limit how far the scope of a
single clip plane goes, the OSG by default limits it to the current
render stage.  You can do this programmatically by creating a
RenderStage in the cull traversal.

Robert.

Robert.
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to