24 Dec 2008

Merry Christmas 2008!

by Rob Bateman Merry Christmas 2008!

Inspired by the fantastic new Audi VDT site produced by ArtificialDuck using Away3d, I decided to go on a little exploratory tour of the current Away3d codebase to see what could be done about fast(er) rendered 3d particles. My results use a new set of classes soon to be uploaded to the trunk in the 2.2.6 dot release of Away3d - basically with this update it will be possible to create single 3d objects containing many particles, greatly reducing the number of matrix calculations required for rendering a collection of particle objects (or billboards as they're more commonly known). The above test is a bit of an extreme case so may run slow on older machines - 4096 stars are being rendered independently per frame, with a bit of mouse-influenced movement nicked from the Audi site wink The classes have yet to be properly optimised, but I hope to be able to provide full source soon along with an update to the Away3d trunk once things are complete. In the meantime the demo had a bit of a festive look to it so seemed fitting to release over the winter break. Hope you like and merry christmas! *****Update***** Source is now available for the demo above via the usual right-click menu or this direct link. You will require the latest trunk version of Away3d from the svn, version 2.2.6. On a side note, the default demo now renders 1024 stars to get a smoother framerate. With this number of billboards, things fly!


31 Dec 2008 04:34 AM

zszen said:

so great , and so slow...

04 Jan 2009 02:01 PM

ozgur uksal said:

It would be nice to see the integration between away3d and flint particle system.


07 Jan 2009 05:58 AM

Patrik de Jong said:

Hey thank you for the cudos!. That is an amazing result, at the audi site we managed around 1000 particals, but that was really the maximum at that time.

keep it up!

08 Jan 2009 05:07 PM

kombizz said:

I love it although it is little bit slow.

17 Jan 2009 05:34 AM

Martin said:

Hi, i've just got into Away3D and loving it so far, just a suggestion; the version available on the downloads page doesn't work out of the box, I had to find out what the problem was (the use namespace arcane thing), then found out I had to get it off SVN, which meant having to learn what SVN was first.

You might be putting off lots of potential new users with that broken version.

Also, any chance of some example code for the BitmapRenderSession? I've got it working to a degree, but it'd be nice to see how i should have done it.

Great work though, by far the best 3d solution for Flash about.

20 Jan 2009 07:31 AM

Rob Bateman said:

for an example of bitmaprendersession in use, check http://www.infiniteturtles.co.uk/blog/away3d-supernova-visualiser-update. This is also available as a demo in the downloads section

15 May 2009 03:47 PM

3D in Adobe Flash render engine future | said:

[...] examples on the official site here. The examples for Away 3D vary from 3D game environement, generate objects in the 3D space, create 3D text effects and 3D [...]

Only registered members can comment. Click here to login or here to register