Some people asked me about how to get the stats of how many polygons were being rendered per frame on PV3D 2.0. Well, I didn't know until yesterday. It has indeed changed a bit, here is how:
public var stats :RenderStatistics;
public function renderLoop(e:Event = null)
{
stats = renderer.renderScene(scene, camera, viewport);
trace(stats);
}You get much more extra info than just the polygons, take a look on the
RenderStatistics class for more info. Hope this makes it clear for everyone.
#permalink
Share:Digg! ~
del.icio.us ~
Stumble ~
Furl ~
Reddit