Hi Mathias,
I haven't compiled and run your app, but browsing through it looks
like you arn't setting the clip plane number for each of the planes so
they arn't distinct, for you two planes you'll need to use 0 and 1, as
if they both use 0 (which is the default) then they will be set the
same OpenGL clip plane, the last one to apply will be the one that
takes affect.
Robert.
On 2/18/07, Mathias Fröhlich <[EMAIL PROTECTED]> wrote:
Hi,
I have a scenegraph consisting of several subgraphs where each of them has a
set of clip planes that are different for each of these subgraphs.
I have attached a simple test program that illustrates what I mean.
I expect to draw a two rectangular quads colored read or blue. Due to the
setting of the clip plane I expect that they do not overlap and only the half
of the quad is painted. But that does not work.
What am I doing wrong?
Greetings
Mathias
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/