ricardocabellov5.0balter-egos
trace mr.doob r08028
blogdemoscenefeaturedextrascontact
 *blog... kind of... *rss

« Oh noes! T-Mobile beat...FastStart on .MP4 file... »

Stats on PV3D 2.0
17.01.2008
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.
posted by mr.doob at 04:21
0 comment written so far

SORRY!
Is not that I don't care about what you have to say, of course I do, but they are speaking louder and I lost my patience :(
 *profile 



traditional id: Ricardo Cabello Miguel
based in: London, UK
serving to: Hi-ReS!
contact me: click here


 *latest posts 

* Showcase is back, now in Javascript (19.11.2008)
* Zeh's Fnk (15.11.2008)
* Lupen III (Italian Opening) VS Captain... (08.11.2008)
* Duuuuude! (31.10.2008)
* Pump 'N Seal, Jackie Chan, Manuela and... (26.10.2008)
* Ubuntu 8.10 on a Macbook Pro (25.10.2008)
* Ubuntu 8.04, Apple Keyboard - Change F... (22.10.2008)
* Rules for making the internet a better... (21.10.2008)
* The Magic of Viral (10.10.2008)
* Jonathan Harris: Beyond Flash, an adde... (06.10.2008)
* Zeitgeist: Addendum (05.10.2008)
* Crisis (03.10.2008)
* Youtube, now in Super HD! (30.09.2008)
* Adobe AIR for Linux - Beta (28.09.2008)
* What does the Google Chrome logo inspi... (28.09.2008)


 *latest comments 

* C++, SDL Coding? Maybe.. ;) (Preview) (trace)
* C++, SDL Coding? Maybe.. ;) (Preview) (Joey)
* La picaresca (spt)
* Mr. Slip Up (ricardo)
* La picaresca (ricardo)
* La picaresca (spt)
* La picaresca (sole)
* Demoscene @ Cirsa (sml)
* La picaresca (humphr3y)
* La picaresca (alfio)
* fiver2's new baby: debris (Jcl)
* Barcelona = full of shit(s) (Soli)
* Demoscene @ Cirsa (Scener)
* Rar & unrar with Ubuntu (SethPlate)
* Mindcandy 2 (Jcl)


 *wish list