*blog... kind of... *rss 



Stats on PV3D 2.0
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) : void
{
	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.
0 comments written so far...


Have your say!



Name:

Website:

Comment: