Hi Alan,

On 4/26/07, Alan Harris <[EMAIL PROTECTED]> wrote:
Return of an old question!

If the corners of the bounding volume (I assume a box) are all outside
the view frustrum would that node be culled? I assume a bounding box is
used as I would expect a bounding sphere to generally interact with the
view frustrum.

The Node's all have bounding sphere's that enclose their children.

The Drawable leaves all have bounding boxes that enclose their geometry.

The view frustum culls the above such that if any point of the
bounding sphere or bounding box is in the view frustum then its
accepted.

I expect it is from what is happening. Therefore is there a simple way
of ensuring that culling does not occur on objects within, say, a
specified distance of the viewer.

There isn't a way to disable culling for near objects, it shouldn't be
required any, such a feature would just be a hack around a bug
elsewhere in the culling set up - in this case its looks like the
ClusterCullingCallback set up is wrong so this is where the fix should
happen - in the set up of the ClusterCullingCallback.

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

Reply via email to