ssween opened this issue on Aug 30, 2005 ยท 16 posts
Dale B posted Wed, 31 August 2005 at 6:08 AM
That's one way. An easier way is to get familiar with Mr Graph Editor. ;) In a Biovision file, the hip is the root node; that is where you have to work to get two BVH files to mate so far as spatial orientation (the Poser Body selection is specific to Poser, and outside the loose BVH 'standard'). Try this. 1) Load your first animation. 2) determine how many frames are in your second animation, click on the frame counter and add that many frames to your first animation. Save under a new name, or with a digit count (xxxxxxxx001, 002, like that) to save the original setup. 3) Move the frame counter just past the end of the first animation (if 100 frames, set counter to 101). 4) Import the second animation; it should add itself starting at the frame after the first one ends. 5) If the animation pallette is open (referred to hereafter as the dopesheet), click on the button with the red curved line. This brings up the graph editor. You can close the dopesheet after this is up. 6) Select the figure, and then the hip; the graph editor should identify what it is accessing. The small drop down menu at the top right gives you access to the parameters available. 7) Select XTrans. 8) Move the slider below the graph window, so that you see the green vertical line that marks the frame you are currently on, and change the frame count so that you are at the first frame of the second animation. 9) Place your cursor just past the green line (on the green line it turns into a fat white arrow, and you don't want that), hold down your right mouse button and drag towards the end of the second animation. The graph window should go dark on on you. 10) Release your mouse button and move the cursor into that darkened region; you should get doubled horizontal lines. If you left click and hold, you can drag all the keyframes within the dark region forward and backward on the timeline. 11) Hold down ctrl and place the cursor in the dark region; you should have double vertical arrows. Left click and you can move all the keyframes in that zone 'up' or 'down' on the scale. Since you have Xtrans selected, simply move your cursor up or down until there is no difference between the value of the graph line between the end of the first animation and the beginning of the second. 12) Repeat this with Ztrans (and Ytrans if neccesary), and you have aligned two bvh files. You may have to adjust the Yrot as well, if the direction the figure is facing isn't the same between the two. 13) This does -not- blend all the other motions; to do that, you need to make space between the animations to keyframe the blend by hand. But the graph editor can help there as well. 14) It takes a =lot= longer to explain it than it does to actually do it, btw....