From: James T. <zak...@ma...> - 2012-04-28 20:28:23
|
On 28 Apr 2012, at 20:10, Stuart Buchanan wrote: > 3) I've reduce the number of Drawables generated by reducing the quad > tree depth from 3 to 2, and reducing the number of LoD leaf nodes from > 10 to 4. James Turner - I'd be very interested if this change improves > your framerates. Sadly no (I already tried 3 to 2 and 10 to 2 - the number of drawables and primitive sets drops, but that's clearly not the bottleneck in this case). So I still go from 50fps to 33ish over EGPH with density = 1 .... not great (but flyable) One thing I did notice - you're creating a state set for each bin, based on texture. I think you want to globally cache those by texture (all the other parameters are fixed anyway, right?), so that OSG can see that all the prim-sets in different bins share a state set, and hence reduce state changes. James |