[Papervision3D] COb number of culled objects counted twice in renderSessionData RenderStatistics

Jeff W. info at jeffwinder.nl
Fri Jun 5 10:51:25 PDT 2009


hi list,

I noticed a couple of times before that when you have a a do3d  in your
scene and move it outside the frustum, the COb (number of culled objects) in
StatsView 'counts' the do3d as being culled twice. Ten do3d's outside the
frustum leads to a COb stat of 20.

This happens because both DisplayObject3D and TriangleMesh3D have:
renderSessionData.renderStatistics.culledObjects++;

So when the object is culled it is added and counted twice to the render
statistics as being culled.

Is there an idea behind this that I'm missing or is it just a bug?

thanks,

Jeff.
-- 
View this message in context: http://www.nabble.com/COb-number-of--culled-objects-counted-twice-in-renderSessionData-RenderStatistics-tp23892766p23892766.html
Sent from the Papervision3D mailing list archive at Nabble.com.




More information about the Papervision3D mailing list