I'd like to make a simple debug view that shows # of visible triangles /
total # of triangles.

 

I think I got total # by counting faces w/ the following (if anyone sees a
problem here let me know):

for each (var geo:Geometry in view.scene.geometries)

 

But I haven't been able to dig up a good way to identify an off screen vs.
onscreen face count.

 

Thanks,

Dave

 

p.s. Are there any other statistics I should think about (I have FPS, mem,
and  want to add face count)? I'll probably post this as a easy to plugin
utility for debugging after I'm done.

Reply via email to