Hi Joakim,
The OSG's ConvexPlanerOccluders can be quite expensive on cull, so its
best to use a small number of very large occluder. Get the balance
right and you'll find that it actually cuts the cost of the cull
traversal so you win on both cull and draw.
One technique that I've thought about, but haven't had the opportunity
to implement is to generalise the ConvexPlanarOccluder to a
ConvexHullOccluder, this would allow several seperate occluder walls
to be combined into a single occluder, with much much better occlusion
properties.
The techinique your suggestion may well be effective too, is there a
chance that its similar to VisibilityGroup? This allows you to accept
a subgraph when you are inside a surface.
Robert.
On 7/5/06, Joakim Simonsson <[EMAIL PROTECTED]> wrote:
I have a model with many square shaped blocks (with huge depth complexity).
I have played around with occluder nodes to reduce my draw timings. They
are really good, but too many gives unacceptable cull timings.
I thought if I define some bounding boxes, that have some kind of
exclusion lists, I can increase the performance even more.
This is what I mean:
I place a bounding box along a road.
I add all nodes that are occluded by other geometry to a nodelist of the
bounding box node.
When the viewer is inside this bounding box, all the nodes in the
nodelist will be hidden.
Before I begin to implement this, I wonder if someone here has some tips
how to do this. Are there any existing suitable nodes in osg that could be
used as a starting point? Or does it already exist a node in osg that does
this?
--
Joakim Simonsson
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/