Hi Per,

On Wed, Jan 28, 2009 at 8:55 PM, Per Fahlberg <[email protected]> wrote:
> I don't really understand how this is not a bug since it is possible to
> switch small feature culling on for a subgraph but not switch it off?

The scene graph itself doesn't support switching off small feature
culling in a subgraph. The way you tried to add this back in was
inappropriate, so didn't work.

My proposed change to just enable small feature culling for subgraphs
that needn't it didn't require disabling culling for subgraphs so
would be more efficient as culling would never be complete disabled.
Disabling culling for a deeply embedded subgraph causes all the
parents culling to be disabled as well, which prevents early
termination of traversal that would otherwise be done so I wouldn't
recommend it.

> I will however scratch my head and try to figure out if I can somehow easily
> invert the enabling and disabling of small feature culling in my program.

You could just use LOD's, this is effectively all that small feature
culling simulates.

Alternatively you could just set the bounding box of the drawables of
interest to an artificially large size to prevent the small feature
culling from effecting them.

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

Reply via email to