High Performance AS3 3D Ornaments

as3-3d-ornaments.jpg

I was reading Neatorama today when I saw a SWF file which I’ll call Ornaments (since it’s getting to be that time of year).

I tried to learn more about the file and its author but the page featuring Ornaments is written in Japanese and the BabelFish translation didn’t really provide much more insight. Whoever created the Ornaments file sure knows their stuff.

It starts out with 512 ornaments/particles rearranging to form various geometric configurations as the camera flies around to show it all off. You can click and drag inside the SWF to affect the camera view and you can make it a bit more interesting by pressing the plus sign to add more particles. I got to about 5,000 ornaments before it was a little choppy.

6 Responses to “High Performance AS3 3D Ornaments”

  1. Pixelwit says:

    Impressive indeed.

    I just got Essential ActionScript 3 by Colin Moock, maybe I’ll learn this AS3 stuff yet.

  2. nwebb says:

    That’s what I meant – still extremely impressive :]

  3. Pixelwit says:

    Sure, that’s an easy one. There’s only one object on the screen (a bitmap). 😉

    I think the real ‘performance’ is in calculating the interaction of that many virtual objects. I’m pretty sure drawing each graphic to the main bitmap with filters is a chore too, but nowhere near as difficult as trying to draw that many MovieClips in older players.

  4. nwebb says:

    +5000 for me too before any real lag kicks in.
    Any idea how it copes this well with so many objects on screen at once?

  5. Pixelwit says:

    Thanks Neil, how many particles can you show at once?

Leave a Reply

PixelWit.com's Comment Guidelines


Warning: Undefined variable $user_ID in /home2/pixelwit/public_html/blog/wp-content/themes/fvariant2/comments.php on line 57

You must be logged in to post a comment.

© Sean O'Shell 2007-2024