HI Justin,
There isn't a new tile loaded callback, but you can use a
osgDB::Registry::ReadFileCallback to catch and handle all database
requests, in here you could add your own tracking code.
Robert.
On 8/3/07, KSpam <[EMAIL PROTECTED]> wrote:
> My application used paged terrain, and I require some entities to be tied to
> the ground.
>
> I am currently using an update callback in order to poll the current terrain
> height (osgUtil::IntersectVisitor) to ensure that the ground-tied entities
> are at the correct altitude. Unfortunately, this is a waste of processor
> resources (and framerate).
>
> I would like a way to determine that new terrain nodes have been loaded in
> order to minimize extraneous terrain polling. Is there a "on new terrain
> callback"?
>
> Can someone point me to an efficient strategy?
>
> Thanks,
> Justin
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org