hello,
i'm looking for a solution to give an negative offsetY value to a
movieMaterial that i use on a plane.
i have two MovieMaterial and one plane.
My plane is half height from the movieMaterial
The idea is to use the top part of the first MovieMaterial for the
front, and use the bottom part of the second for the back.
MoviesMaterials must be bigger than the plan (2x plane height),
because i will invert the part of them during the animation i create
The problem is that when i setup a negative offset, the texture is
tilled, cause i also setup the lockH property to keep aspect ratio of
the movie clip
here is my code :
var summerPlan:MovieClip = new SummerPlan() as MovieClip;
var rainningPlan:MovieClip = new RainningPlan() as MovieClip;
var summerMatTop:MovieMaterial = new MovieMaterial(summerPlan,
{smooth:true,precision:2,lockH:742});
var rainningMatBottom:MovieMaterial = new MovieMaterial(rainningPlan,
{smooth:true,precision:2,lockH:742,offsetY:-742});
How i can fix this please?
thank you very much.
--
Subscription settings: http://groups.google.com/group/away3d-dev/subscribe?hl=en