11 Dec 2007

Away3D Filters, Depth of Field, and Particles

by Peter Kapelyan

This shows Away3D version 1.9 in action with REALTIME filters (blurring) on each object.
Make sure you get the latest version, which has the ownCanvas property.

This feature is pretty awesome, so check out what I made!

Click to make an explosion!

Depth Of Field + Particles

BlendMode Version!



12 Dec 2007 06:15 PM

Gaz said:

Looks great! Haven't had a play with the newest version. Will different objects each with its own ownCanvas still be z-sortable between each other?

12 Dec 2007 07:36 PM


Yes each object is zsortable within each other, that's how it works now.
You can try it like this:

myFilter.push(new GlowFilter(0xFFFFFF, 1, 19, 19, 1, 1, false, false));

Easier than cake! Can try it in the newest version 1.9


12 Dec 2007 09:35 PM

Jeffrey Blyseth said:

Unbelievable! Just awesome.

20 Jan 2008 01:34 AM

tm said:

Great but where's the source for all these demos???

02 Feb 2008 07:52 PM

paullaster said:

I agree with there is a lack of source file and code example for Away3d. Right now its a few ppl showing what it can do but keeping it a secret. Which is fine seeing that its a free product. But these cool examples dont look like they are for commercial use. especially the texture demo! The community would grow faster with people sharing.

02 Feb 2008 09:36 PM

flashnine said:

Hi, I will release the code soon please join


to ask questions and updates on source codes.

Thank you

07 Feb 2008 08:31 AM

amarghosh said:

i tried to use the ownCanvas and filters in the Z-sorting example given in away3d tutorials (http://away3d.com/examples.php?example=45&_searchterm=;)
i applied a GlowFilter to the top cube and set its properties as:

cubetop.ownCanvas =true;
cubetop.filters = filterA;
cubetop.blendMode = BlendMode.MULTIPLY;

when i run it, i am getting the filter correctly but the z-sorting of the top cube is lost.. it behaves as if view.renderer was Renderer.BASIC instead of Renderer.CORRECT_Z_ORDER.
can u tell me what i am missing? or is z-sorting not possible when ownCanvas is true?

08 Feb 2008 06:59 PM

Fabrice Closier said:

For technical questions, please post your request(s) on our list.

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