Hi, That's because you are using the WireColorMaterial, so it will show all
the lines in your object, for all the triangles. Unfortunately, there is no
material that will "detect edges" as of yet, but you do have some other
options.

One option is: you can try to apply a bitmap material that has the lines
where you want them, so the material will contain pixels + colors, not
vector shapes. Downside is you have to create that custom bitmap for every
different shape you have (most likely).

Hope it makes sense.

-Pete

On Tue, May 11, 2010 at 1:42 PM, Nash <[email protected]> wrote:

> Peter, It's Away3d 2.4.0
> I'm not using any material in this example.
>
> view = new View3D({x:200,y:
> 200,renderer:Renderer.INTERSECTING_OBJECTS});
> ui.addChild(view);
>
> var mat1:WireColorMaterial = new WireColorMaterial();
> mat1.color = 0xFFFFFF;
> mat1.wirecolor = 0xFFFFFF;
>
> tri = new Triangle();
> tri.a = new Vertex(0,200,0);
> tri.b = new Vertex(100,0,0);
> tri.c = new Vertex(-100,0,0);
> tri.bothsides = true;
>
> view.scene.addChild(tri);
>
> savagelook, Yellow line is a triangle. But it's not important. If i
> create a prism without triangle i get same result.
>



-- 
___________________

Actionscript 3.0 Flash 3D Graphics Engine

HTTP://AWAY3D.COM

Reply via email to