« Return to Thread: useOwnContainer + ZSorting

Re: useOwnContainer + ZSorting

by Andy Zupko :: Rate this Message:

Reply to Author | View in Thread

To use viewportlayers, if you put one object on a layer and leave  
everything else, it will not be able to sort the layer around the  
other objects.  To get correct sorting in that case, you need to put  
all objects on layers.  I would recommend using viewport.getChildLayer  
instead as it is significantly faster in most cases.


On Jul 1, 2009, at 5:17 AM, karim beyrouti wrote:

> Hello List -
>
> I am trying to set the alpha of a BitmapMaterial ( on a plane )
> which works when i set the 'useOwnContainer = true'
>
> However that breaks the Z sorting of the planes.
>
> Anyone have tip for that one?
>
>
> Thanks
>
>
>
>
> Karim
> _______________________________________________
> Papervision3D mailing list
> Papervision3D@...
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org


_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

 « Return to Thread: useOwnContainer + ZSorting