The issue has been dealt with and is updated in the current trunk code -
please have a look at this thread for more details:

http://groups.google.com/group/away3d-dev/browse_thread/thread/9bff1b577aeb6a52

cheers

Rob


On Mon, Oct 20, 2008 at 10:43 AM, gabe <[EMAIL PROTECTED]> wrote:

>
> I am trying to display semitransparent "cubes within cubes", however,
> it seems as though the two triangles of each side are differently
> shaded:
>
>
> http://www.iemar.tuwien.ac.at/processviz/away3d/questions/cubes_triangles_show/
>
> I gathered this might be because the centerpoints of the two
> triangles, have a different shading. I then tried to use a
> DirectionalLight3D so that the shading should be the same all over the
> side of a cube. However, I had no luck with this. My code is:
>
> new Cube(
>  material:new WireColorMaterial("random", {width:5, alpha:0.5}),
>  x:0, y:0, z:0,
>  width:1, height:1, depth: 1
> );
>
> Can anybody give me a hint how I can obtain a cube that has semi-
> transparent sides with a flat shading ? that'd be nice.




-- 
Rob Bateman
Flash Development & Consultancy

[EMAIL PROTECTED]
www.infiniteturtles.co.uk
www.away3d.com

Reply via email to