If you need to draw rectangle based only on points, not 3D transform,
try to use native Flash methods like
http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS509D19BB-239B-4489-B965-844DDA611AE7.html


On Feb 22, 1:18 am, richardolsson <[email protected]> wrote:
> Hi,
>
> Take a look at (or use directly) the MovieMaterial in Away3D, which
> can retain interactivity and still be drawn as a material on any 3D
> surface. If you use a plane in Away3D on which you move the vertices
> per the data that you receive from mocha, you can use the
> MovieMaterial out of the box and it should do what you want.
>
> Cheers
> /R
>
> On Feb 22, 12:15 am, "n:ko" <[email protected]> wrote:
>
>
>
> > Hi all,
>
> > I am currently working on a project where we do motion tracking with
> > After Effects and Mocha.
> > I would like to apply a transformation to a movieClip based on the
> > tracking data sent by Mocha (positions (x,y) of the 4 corners of the
> > target MovieClip). It's quite easy to do on an image using the method
> > graphics.drawTriangles.
> > But I am looking for a way to apply the same distortion to a
> > MovieClip, to keep it interactive all the time...
>
> > Do you guys have any idea / link that could help me?
>
> > Thanks in advance,
>
> > n:ko

Reply via email to