[Papervision3D] AS3 drawing API - filled 2x slower then wireframe

Tim Knip tim.knip at gmail.com
Fri Jan 12 19:47:45 EST 2007


Did some additional benchmarking on the drawing API...
man, its too damn slow!

Got a model with 413 verts and 702 faces....
After matrix-transformation and projection to screen I get:

1. not drawing => +50 fps...
2. wireframe => 15 fps
3. solid filled => 6 fps.
4. bitmap filled => 6 fps (!!!)

Apparently Flash's raster-code isn't much good?
I admit: for sure they have other things on their mind (like
interactivity) then polys p/sec...

Hehehe: I'm thinking of a standalone app where Flex calculates stuff
and OpenGL displays... wonder what that fps would be....

Carlos: about your idea of using ByteArray: as guys of byterarray.org
are showing its possible to out-perform Flash's raster-code ;-).
Texture stuff will obviously slow down things further.

Going to try this week I think, but still gotta use setPixel(s) to put
stuff 'on screen', afraid that will be the bottleneck (setPixel ==
drawing-api??)... Or are there other alternatives for putting a
ByteArray on screen?

Tim



More information about the Papervision3D mailing list