[osg-users] Update Optimization
robert.osfield at gmail.com
Tue Jul 15 03:39:06 PDT 2008
On Tue, Jul 15, 2008 at 11:33 AM, John Burgess
<john.burgess at rocketmail.com> wrote:
> Thanks for the advice, after using KdTree and LineSegmentIntersector, my
> update traversal rate reduce from 700ms to 60ms.
Much better, but still not good enough...
How to get the time lower will depend upon what exactly is the new
bottleneck, but this is something you'll need to look into by
profiling the code at your end.
There are high level things you could do as well, such as doing a
round robin update of your objects, or caching the intersection data
so that you reusing some of the traversal data between frames.
More information about the osg-users