Hi,

you may use a PolytopeIntersector to get all items intersecting the rectangle. 
Afterwards, you may modify the node mask of the found items: set a specific bit 
of the node mask to one if it is found by the PolytopeIntersector and to zero 
if not (by implementing a visitor inspecting the scene). The camera will then 
cull all items that have a zero in the node mask.

You may also write your own visitor that is doing this checking and sets the 
node mask of the visited drawables at the same time.

Cheers,
Hartwig

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=73175#73175





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

Reply via email to