Don't you want to share the as file on you swf ? Some code will be
appreciated.

I just want to know the code to put 2 differents colors on each
triangle of a Plane.

On Aug 3, 4:52 pm, Darcey Lloyd <[email protected]> wrote:
> Just remembered some more info, it was something along the lines of for each
> (var f:face in myplane) or for each (var v:vertex in myplane.vertexes) for
> the below tests that I created generating an array of triangles within with
> colourmaterial applied to each.
>
> Regarding the video example you showed, if your object it recreated this
> way, on moue over can apply a new colourmaterial to the triangle.
>
> D
>
> 2009/8/3 Darcey Lloyd <[email protected]>
>
> > I experimented with maybe something you may find useful to what you want to
> > do.
>
> >http://www.allforthecode.co.uk/development/away3d/on_dev/01.swf
> > which led to
> >http://www.allforthecode.co.uk/development/away3d/on_dev/04.swf
> > and
> >http://www.allforthecode.co.uk/development/away3d/on_dev/03.swf
>
> > I created an object, then using each 3 points of each triangle in the mesh
> > array of that object (i think it was) i looped through them all creating
> > triangles and colouring them as i looped through. I don't have the code to
> > hand but that idea may help?
>
> > D
>
> > 2009/8/3 fdb <[email protected]>
>
> >> Yes like this. Do you want to share the tips ?
>
> >> On 3 août, 14:15, ben <[email protected]> wrote:
> >> > Hi,
> >> > you mean like this :http://www.vimeo.com/4526936 ( at 0:30 min)
>
> >> > I assume this is a self promotional answer !
> >> > ;-)

Reply via email to