Tuesday, September 16, 2008

Flash Player 10 : drawTriangles is faster?

What?

Flash Player 10 is out there for a while, and i really want to know is that faster for 3d with core function? let's try it, shall we? let's googling and let's see what i got there

How?

  1. start reading here : http://www.senocular.com/flash/tutorials/flash10drawingapi/
  2. or here : http://www.boostworthy.com/blog/?p=242
  3. more basic sample here : http://flashandmath.com/advanced/p10triangles/index.html
  4. advance sample here : http://pixelero.wordpress.com/2008/08/31/flash-10-part-4-of-testing-drawtriangles-old-school-tunnels/

Required?

  1. Flex and Flash Player 10 crazy setup
  2. some old computer...why? you 'll got same 24/24fps both of them in fast computer ;P

And then?

i'm lazy enough to rewrite all that, i think that should be better if we can compare speed with old as3 3d engine and new core drawTriangles function right? so i pick ND3D engine in this case cause it's nice and simple enough for integrate to Flash Player 10 (only need 1 night to integrate), ...tadaaa

Flash10 nulldesign AdditiveCubes 

Link?

  1. F9 : http://sleepydesign.com/labs/as3/ND3D/AdditiveCubes.html
  2. F10 : http://sleepydesign.com/labs/as3/ND3D/AdditiveCubes_F10.html

Result?

far as i test with my old computer i got Flash Player 10 with drawTriangles is slower than old style lineTo/moveTo for 2-3 fps, and plz don't trust/argue me yet, better follow link here :  http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=675&threadid=1387302&enterthread=y

So?

don't ask me! ask adobe! lol ;)

Post a Comment