2008-05-28
Flash Player 10 - Playing with drawTriangles
Following senocular's great Flash Player 10 Drawing API tutorial I wanted to see what I can do with the new triangles.
If you have Flash Player 10 installed you should see a rotating box below. Click on the movie to give it the focus. The Space key will switch the new TriangleCulling from POSITIVE to NEGATIVE. So you might get an idea of how that works. The num keys will change speed of rotation. ...
I'll have to add that I am not a genius in mathematics but the new triangle stuff is quite easy to use once you figured out how. This demo took me about 1 day [learning included] !
If you are interested to see the sources - no problem - I love OpenSource - Get it here but do not fool me for bad coding practice or missing comments.
Have fun!



