> Some of our applications use clipping planes to reveal 
> details of the model.  Since this entails OSG sending 
> geometry to the graphics card, only to then have it tossed, 
> I'm interested in a culling plane that I can use to minimize 
> the amount of geometry that gets sent and then clipped.

Whether this works well or not would be model- and usage-dependant. Merely
bisecting Nodes/Drawables wouldn't help much; a non-zero number of
Nodes/Drawables would have to fall on the culled side of the clipping plane
to produce good results.

I wonder if it would be possible to simply incorporate this type of culling
into CullingSet::isCulled() so that it would happen automatically. Would
need to add a new CullingSet::MaskValues enumerant, something like
"CLIP_PLANE_CULLING", maybe even add it to the default set as it would be
easy enough to do nothing if no clip planes were enabled. Then CullingSet
would need to have access to current state to get the transformed clip
planes.

Maybe Robert can comment on this idea (or shoot it down :-).
   -Paul

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to