Dear Hartwig and Robert, Thanks for your answer. I have solved the problem with Robert's advice by using clipNode. However in my geometry, there are a lot of osgText. ClipNode does not effect on the osgText; so all the text in my geometry is still seen on the screen although the text is not inside the clipBox.
How can I solve this ? robertosfield wrote: > Hi Ali, > > One way of constraining rendering is to use osg::ClipNode - this > allows you to place one or more osg::ClipPlane (wrapper around > glClipPlane). Have a look at the osgclip example, to run it use: > > osgclip cow.osgt > > Robert. > _______________________________________________ > osg-users mailing list > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > ------------------ > Post generated by Mail2Forum ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=73179#73179 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

