Hey William,

If you set ownCanvas = true to any 3d object, it will be rendered in its own
Sprite container. Once this is done you can apply any effects/filters to it
as if it was a normal sprite. Furthermore, you can use an ObjectContainer3D
to place other objects within it, set ownCanvas = true for the container and
apply a filter to all, for instance:

var container:ObjectContainer3D = new ObjectContainer3D();
scene.addChild(container);

var obj1:Cube = new Cube();
obj1.x = 1000;
container.addChild(obj1);

var obj2:Sphere = new Sphere();
obj2.x = -1000;
container.addChild(obj2);

container.ownCanvas = true;
container.filters = [new BlurFilter()];

Haven't tested it, but it should work...
Hope it helps, and welcome to Away =)

On Tue, Feb 17, 2009 at 1:37 AM, [email protected] <
[email protected]> wrote:

>
> Hi,
>
> I am new to away3d. I try papervision 3d before. Now, I want to switch
> the work to away3d.
> But I find a function missing in away3d which stop me for using it -
> Render Layer.
>
> I have a scene with several object. In papaervision3d,  I can render
> each object  in different layer.
> More, I can place different object in the same render layer and do
> effect on all object as once in that layer.
>
> I search though the api and code. I can't figure out how can I do it
> with away3d.
> From the achieve of this mail group, I learn a method which separate
> the object in different view and render.
>
> But, I find it is not practical in my case. Since the objects have
> hierarchical structure, I don't want to break the structure.
>
> Anyone have experience to deal with this issue?
>
> William

Reply via email to