BigJack Rolls
Registered User
Join date: 11 Oct 2006
Posts: 39
|
05-13-2008 07:37
Is there an easy way to add frames in Qavimator ( in the middle of an animation ) ?
I know you can just change the total frame number and the new frames will be tacked on at the end. But, I've completed an animation and now realize that I need additional frames in the middle ( it's a Titanic "I'm Flying" animation ) . Basically, I did the beginning 'step up onto the railing and put out your arms, and the ending 'step back down to the deck' .. but didn't leave enough time for the actual "arms out .. I'm flying" part.
I know I can drag each individual setting in the avm file down to the new end frames, one by one. And I know that I can copy a frame and paste it at the end .... but that leaves the old frame still in place and I need to get rid of it.
|
Deira Llanfair
Deira to rhyme with Myra
Join date: 16 Oct 2006
Posts: 2,315
|
05-13-2008 09:42
A few ideas...
- On upload to SL, loop your animation on the flying part so that pose is held until you stop the animation, then the last part of the animation will run untill the end.
- Add the number of frames you need and copy the frames from the flying pose to the end and paste them further down the time line.
- Retime the animation by running it more slowly i.e., fewer frames per second.
_____________________
Deira  Must create animations for head-desk and palm-face!.
|
Lear Cale
wordy bugger
Join date: 22 Aug 2007
Posts: 3,569
|
05-13-2008 11:17
You can edit .bvh files with a text editor. Each frame in on one line, after MOTION or some such. After all the curly braces stuff is done.
At the line for the frame where you want to add new frames, simply duplicate the line however many times you want.
Now, open up the .bvh file in Qavimator. Show the timeline.
For each of the frames you just added:
- Select the frame but NOT any joints by clicking in the spaces between groups of joints. Make sure no joint is highlighted. (There may be other ways to do this, such as selecting any joint and then clicking on the ground or sky.)
- Click on the K button at bottom, which will make all the squares on that frame disappear. If it doesn't, you probably had a joint selected; try again.
Save the file, bingo.
You can do the same trick with .avm files, with the following additional steps. The .avm files are the same as .bvh files, but with lines at the end that correspond to joints. Each line contains:
* the number of keyframes for that joint * the index for each keyframe for that joint, where 0 specifies the frame AFTER the "T" frame, and 1 is the frame after that, etc. (IIRC ... you might have to verify that there isn't an index for the T frame.)
After inserting M frames before frame N, you have to add M to all indices greater than or equal to N, for each line.
Easy, see?
|
BigJack Rolls
Registered User
Join date: 11 Oct 2006
Posts: 39
|
thanks !
05-13-2008 20:57
There are always tricks . I knew you folks would know how ! Thank you very much
|
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
|
05-14-2008 10:04
I think you can copy/cut and paste individual frames.
_____________________
So many monkeys, so little Shakespeare.
|
Lear Cale
wordy bugger
Join date: 22 Aug 2007
Posts: 3,569
|
05-14-2008 10:49
Good point, Lee -- you can click on any joint in the timeline and copy, then click on any joint in another frame and copy. The copied frame becomes a keyframe for all joints.
So, you could add frames (at the end), and then working backwards, copy each frame over.
|