That sounds like a good place to start. couple of questions.
1. when you bring in a collada i cannot cast the Object3D it is as a mesh so i am not sure how i would access mesh.vertexes.array. i do have access to the vertex array on GeometryData.geometry. 2. do you have any more information on the format of the data i would need to generate? for each vertex does it need a complete 3X3 matrix of translation, rotaiton and scale? It seems like since i am moving them in 3D it would need that amount of info. Also are there IDs per vertex or just their position in the array? 3. can you send me the as3 classes for the Animator example so i can see the data format i need to generate, a concrete example would be very helpful. thanks, On Apr 29, 7:44 pm, Fabrice3D <[email protected]> wrote: > Hi Chris, > I see you've found your way to our dev group, welcome! > > After reading your first message, it got me thinking... > We are talking long duration here, right? > I think you could first indeed use animator but just for 3 frames, > just to init the system. > Then update the frame dictonaries with the externall data as they > play, you can use the loops events for this. > it would be like once frame 1 is played, it would play 2 to 3, you > would then swap on loop the frame 1, > once it plays 3 to 1, feed frame 2 etc etc > > The only issue would be to ensure you do have for every data load/feed > the same array order. > It also needs to be sync with the first frame order, which is not > allways same as mesh.vertexes array. > > then the values could be by chunk/frames loaded externally using xml > or even plain text. > it would just be a bunch of numbers per frame with a delimiter. > > I've wrote something similar for a dance editor a while ago, it should > work nicely. > Let me know how it goes. I feel there are some new features that could > come out of this :) > > Fabrice > > On Apr 30, 2009, at 1:08 AM, evilotto wrote: > > > > > Here is my problem. I have a model that i am loading into away3D via > > COLLADA. i need to apply transformations per vertex to the model > > (without using bones). I would like to use animator for this but i > > can’t create a AS3 class for each of the frames. > > > Esentially what i am doing is I have a piece of video and am tracking/ > > match moving it to a model. This produces per vertex transformation > > data, i need to be able to load that data externally via XML or some > > other format and apply it to the verticies of the COLLADA model, again > > without any bones. Animator seems to be able to do this, but I don’t > > know how to format the data since the only i have seen are using this > > as3 export idea.
