[Papervision3D] stats view updated
renkster at gmail.com
Tue Nov 11 10:37:03 PST 2008
Thats very useful John. Thanks..
2008/11/10 John Grden <neoriley at gmail.com>
> I typically want to know poly counts with models and so for my Collada
> viewer, I finally added that ability to the StatsView object in Papervision.
> If you haven't used it or known it was there before, you can create a nices
> stats Sprite like you often see by doing this:
> addChild( new StatsView(renderer));
> And you'd see a nice black box at the top/left giving you all the stats
> about your scene. Except for one: total poly count.
> it's purely on demand, so you'll have to update it, but doing so is as
> simple as:
> you can also use the static method CountPoly's if you don't want to use the
> statsView object:
> this way, you can just pass specific objects to find out what their poly
> count is.
> have fun,
> [ JPG ]
> Papervision3D mailing list
> Papervision3D at osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Papervision3D