New example by accident
This is what came out as I was testing to implement a custom renderer in my engine (The sources are available in the google code repository).
Posted in 3D, Experiments, Flash 9, Source | 3 Comments »
This is what came out as I was testing to implement a custom renderer in my engine (The sources are available in the google code repository).
Posted in 3D, Experiments, Flash 9, Source | 3 Comments »
The Flash 10 beta player is out for a while and I found a few minutes to try out the new native 3D effects. You can get quite nice and fast results out of the new API if you only want to display flat 2D planes in 3D-space:

(Space = fullscreen, Download source, Flash Player 10 needed)
Posted in 3D, Actionscript, Experiments, Flash 10, Particles, Source | 4 Comments »
Good news everyone! I packed everything together, cleaned up a bit and created a google.code project for my 3D engine. Since it became popular under the name ‘nulldesign’s 3d engine’ I call it ND3D from now on ;). I will post additional infos, more examples and future developments here in my blog and on the project page. So long…
Posted in 3D, Actionscript, Experiments, Flash 9, Source | 6 Comments »
I just got a mail from Mr.Doob, he made a 3d line clock for the D///FEST 2008 website with my 3d engine. You can download the sources on the website:
Btw.: I’m planning to put the engine up to google code and continue working on it. It will stay lightweight, small and simple!
Posted in 3D, Source, Talk | 2 Comments »
About some time ago I started to code my own 3D engine in flash. Derived from a small AS2 project, I challenged myself to built my own flash 3D engine. So I took out my good old Actionscript Animation Book and opened the 3D chapter. Very soon I could move a cube around. A few pages later I learned how to implement simple dynamic lighting. The next challenge was to get texture mapping to work. Since flash still can’t distort images, you need a workaround. After I found these great examples: Seb Lee-Delisle’s flash texture maps and Andre Michelle’s texture examples it was done. Somewhere inbetween I switched to AS3, which was quickly done. Meanwhile Papervision3D became very popular and I thought it didn’t make sense to continue evolving my engine. But since I came so far, I needed to find out how to implement a few effects like depth of field or additive rendering ;)

My engine shouldn’t and doesn’t compete with Papervision3D or Sandy3D, nor it has a very user-friendly API, no stunning effects or animation support, but I learned a lot while building it, understanding 3D to 2D rendering, optimizing the code for a few ms of extra speed (AS3 rocks!) or challenge problems with 3D rotations like gimbal lock and their solutions: quaternions. It’s just another 3D flash engine, at least I can say: I made it! ;)
It’s undocumented, there’s still a lot of work to do and it doesn’t have a cool name , but if you want to play around with it or just take a look how I set up this and that, feel free to download the sources (yes, the 3D ribbon example is included). And I’m always interested in what you think about it, so drop a comment or mail.
Posted in 3D, Actionscript, Experiments, Flash 9, Source | 21 Comments »
Derived from one of my older experiments: Three different populations of fireflies are fighting for their survival. If a firefly encounters an enemy fly, it tries to convert it to their tribe. The converted fly looses lifepoints and eventually dies during conversion. For the “collision logic”, I used a slightly modified version of Grant Skinners AS3 Proximitymanager. You can download the source and play around with it here (but don’t expect beautiful code ;)).
Posted in Experiments, Flash 9, Particles, Simulations, Source | 6 Comments »

Sources available here.
AS3 particle system. 5000 particles with random motion based on a noisemap (Press any key to view the map) Click to change to another random map. Launch!
Posted in Experiments, Flash 9, Particles, Source | 8 Comments »