Hi Jason,

The PagedLOD node is designed to incrementally load level of detail
levels as not to leave null children and to avoid popping straight
from low level of detail to heigh level of detail.  Chris Hanson has
done some custom work which circumvents this for his own app, but its
not something that is in the OpenSceneGraph core itself.

Personally I'd create a quad tree with the each PagedLOD only have two
children, the low level of detail which is always present, and the
external tile, this external tile would be a group contain four
PagedLOD's.  You code could procedurally generate this without the
need for complex code to circumvent the way the core OSG works.

Quad trees are generally well suited to most databases anyway in terms
of balancing culling and LOD management.

Robert.

On 10/24/06, Jason Beverage <[EMAIL PROTECTED]> wrote:
Hi everyone,

I've been working on a project that uses PagedLOD along with a pseudo
loader to dynamically create geometry based on LOD.  Things are working
great so far, but there is just one problem I'm having that I need some
help with.

Per a previous mailing list post by Robert, I've created my children
with the first child as an inline node and the rest contain the range
data and filename used for the pseudo loader.  They are arranged in
order from lowest level of detail to highest.

The issue that I'm having is that the database pager seems to always
want to load all previous children before it loads the correct level of
detail.  For example, if I start very far away from my model, I see the
lowest level of detail.  If I zoom in very quickly to be right next to
the model, I should see the highest.  The pager will load all the
children in order until it gets the highest level of detail instead of
directly loading the highest level.  Since things are being generated
dynamically, these unnecessary loads can hurt performance.

Is there something I can tweak to change this behavior?

Thanks!

Jason

_______________________________________________
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/

Reply via email to