do try see+learn from away3dlite.animators.bones.SkinVertex for that

hth

2009/10/26 mogg <[email protected]>

>
>
> I was thinking, with the added speed, vertex manipulation could lend
> itself to some really cool effects.
>
>
> On Oct 26, 6:36 am, mogg <[email protected]> wrote:
> > If this is not possible with Away3Dlite just let me know. I can get a
> > similar effect with pixel bender.
> >
> > On Oct 25, 8:33 pm, mogg <[email protected]> wrote:
> >
> >
> >
> > > Here is how I use to do this in Away3D 3.0.0.
> >
> > > //UNDERWATER EFFECT
> > > var mt:Mesh = loader.handle as Mesh;
> > > var mtA:Mesh = loaderA.handle as Mesh;
> >
> > > for(var x:int = 0; x < mt.vertices.length; x++)
> > > {
> > > // reset
> >
> > > mt.vertices[x].x = mtA.vertices[x].x;
> > > mt.vertices[x].y = mtA.vertices[x].y;
> > > mt.vertices[x].z = mtA.vertices[x].z;
> >
> > > cnt++;
> > > mt.vertices[x].x += (Math.sin(cnt)*3);
> > > mt.vertices[x].y += (Math.sin(cnt)*3);
> > > mt.vertices[x].z += (Math.sin(cnt)*3);
> >
> > > }
> >
> > > Is this possible with Away3Dlite? I have dug around the geometrydata
> > > but seem to keep hitting brick walls. Any help would be much
> > > appreciated.
> >
> > > On Oct 25, 6:07 am, mogg <[email protected]> wrote:
> >
> > > > In Away3D I could loop through a mesh's vertices and manipulate them
> > > > prior to rendering each frame. In Away3Dlite I'm having trouble
> > > > figuring out how to do this. Any pointers?
> >
> > > > By-the-way...Away3Dlite ROCKS!- Hide quoted text -
> >
> > > - Show quoted text -- Hide quoted text -
> >
> > - Show quoted text -




-- 
katopz
http://www.sleepydesign.com

Reply via email to