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!
BlendMode Version!




COMMENTS
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?
FLASHNINE said:
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));
myObject.ownCanvas=true;
myObject.filters=myFilter;
Easier than cake! Can try it in the newest version 1.9
Best
-Pete
Jeffrey Blyseth said:
Unbelievable! Just awesome.
tm said:
Great but where's the source for all these demos???
Thanks
Eddie 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.
flashnine said:
Hi, I will release the code soon please join
http://groups.google.com/group/away3d-dev
to ask questions and updates on source codes.
Thank you
-----
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?
Fabrice Closier said:
For technical questions, please post your request(s) on our list.
http://groups.google.com/group/away3d-dev