Oh darn, I wish I had noticed that before. J Yeh, it's all there, perfect! Thanks Pete & katopz!
David From: [email protected] [mailto:[email protected]] On Behalf Of Peter Kapelyan Sent: Friday, July 24, 2009 9:36 PM To: [email protected] Subject: [away3d] Re: Is there a good way to count culled faces? I think all that stuff is in away3d\core\stats\Stats.as You can see it also when you right click on a 3D object and select the stats. -Pete On Fri, Jul 24, 2009 at 10:21 AM, David Parks <[email protected]> wrote: 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. -- ___________________ Actionscript 3.0 Flash 3D Graphics Engine HTTP://AWAY3D.COM
