Hi Robert,
following your suggestions, i solved my doubts.
This is the correct code:
...
// cylinder :
osg::ClipNode* cnCylinder=new osg::ClipNode();
cnCylinder->addChild(cylinderModel);
groupCylynder->addChild(cnCylinder);
clipPlaneForCylinder=new osg::ClipPlane();
planeForCylinder=new osg
Hi Andrea,
Positional state like clip planes are handled in a special way by the
OSG as they have to be assigned a particular modelview matrix to
position them correctly, and this means that you can't arbitarily
state sort them and have any modelview matrix current when they are
applied. The solv
2 matches
Mail list logo