Re: [Plib-devel] [PATCH] crease for ac3d files and speedup
Brought to you by:
sjbaker
From: Mathias <Mat...@gm...> - 2004-10-09 08:11:53
|
On Freitag 08 Oktober 2004 21:08, Steve Baker wrote: > Mathias Fr=F6hlich wrote: > > But not for functions only operating on ssg*'s datastructures like > > ssgVtxTable::getNumColours(), ssgBranch::recalcBSphere(), > > If recalcBSphere is being called in an otherwise static scene, there > is something very seriously wrong - either with the application or > with SSG. Very true. But, one for one ... :) > The fact that: > > ssgEntity::dirtyBSphere(), > > ...is also in your top ten list says there is certainly some kind of > a bug. The only time the bsphere should be dirtied is for the > (presumably rare) moving models and things that move vertices > around outside of SSG. Since moving models are usually put into > the tree very near the top in most applications, those are very > unlikely to cause much CPU time consumption. > > This needs to be tracked down - recaclulating bounding spheres > needlessly will *cripple* performance. Yep. Better support for that crease thing and the speedup gain from that change = is=20 it worth anyway. Greetings Mathias =2D-=20 Mathias Fr=F6hlich, email: Mat...@gm... |