looping idle motion - first and last frame not equal - although I copied the first and pasted it in the last


https://forum.reallusion.com/Topic356326.aspx
Print Topic | Close Window

By gm0124816 - 7 Years Ago
Hi All,
iClone 7.2. Import a character. Go to MixMoves-Male (CC) and let the standing idle animation run one time (not looping).
Go to the motion layer, double click the first frame and copy it. Go to the last frame of the animation and paste it. They are not the same ! So, I cannot make it a looping animation. If I play it with the looping on, I get a small shift between the last and the first frame ... ... I added "off" value for spring in first and last frame, nothing happened ...
There are no gestures or any other stuff. Just the steps I mentioned.
What am I doing wrong ?
By 4u2ges - 7 Years Ago
Are you referring to Stand01? Yes, there is a small motion root offset by X. Use curve editor to fix that.
Just sample torso, open curve editor, select MotionRoot\PositionX and look at the last few frames.
You'll see they are down by some value (compare to the first frame). Just move them up a little to level with the first frame and shift is gone.
By gm0124816 - 7 Years Ago
Yes it is Stand01. Am I correct I need the "Curve Editor"-plugin to do this ?
I have the 6.5 pipeline version with all bells on it, but I did not use much of that all, so I only bought the standard edition of the 7.
One more thing : if you copy the keyframes, you copy everything except the root position and rotation ? If so, why did they not add a keyframe for the root ?
By 4u2ges - 7 Years Ago
Oh sorry, I forgot the Curve Editor is not standard. Well, that is how it is now. We just have to look for the workarounds.
Is there particular reason you need to loop the play? You could instead extend the frames count, add another clip and blend it. That would also work.
But since I already have fixed Stand01 I'll just share it. Please see attached.


By gm0124816 - 7 Years Ago
Thanks 4u2ges !
No, no particular reason for Stand01, it was just something I noticed and I did not get it that making an overall keyframe at position 1 and copying to the last frame was not working. I did not look for the root in there, I actually supposed it was in there ...
My next step would have been the creation of a custom opening and copying that as the closing - like you suggested -, so thanks for the confirmation !
I must say that I miss editing curves, most 3D tools have this standard ! So it looks like the curve-editor is worth the money and I will buy one the upcoming days.
Especially thanks for sharing the ZIP and for all the other free content in the store. I would have happily bought that quality - I actually bought a couple of thousand dollars of items in the store last year and not all was that high of quality, even-though it was sometimes high prized !
By Rampa - 7 Years Ago
If the feet don't move, try adding a second loop instead of using the loop tool. This will give you a blend between the two. If the feet are moving, then you'll need to actually adjust the loop.
By animagic - 7 Years Ago
Another idea that might work is to add a reversed clip after the initial one.
By Chuck23.C - 7 Years Ago
gm0124816
I did not look for the root in there.

When copying keys to loop motions.... You should copy and paste the "Pose."... not an individual key.
The Pose key represents all of the bones. When pasted at the end... it perfectly matches.

Example:
Select all of the bones - set key.
Copy this key to the end.

By 4u2ges - 7 Years Ago
@gm0124816
No problem and thank you for kind words about content :)

@Chuck23.C
That might work, but too much work involved, as simply adding bone keys does not bare a desired result.You need to sample whole clip and delete 10 - 20 keys at the end before finding the right spot where root is getting moved down by X. Otherwise sliding would occur between copied key and the one just before that. Easier to just fix it in CE.

@animagic That is an interesting idea. But the whole damn root just moved down after reversal. As a result the mismatch was still there. The curve editor does not properly display reversed clip. It is still straight although the cursor is moving in opposite direction when you slide it along the timeline :)

https://forum.reallusion.com/uploads/images/67b17671-3119-499e-9911-704e.jpg




By Chuck23.C - 7 Years Ago
Find the spot where the root is (starting to move).

I agree.
That spot is where I past the "Pose" key for all bones.
The curve editor makes it easy to see the problem and a quick fix.

One can NOT take a motion... copy / paste the first key to the last and expect it to loop correctly.
1. Splice / Adjust the clip (properly).
Don't expect to loop any clip without doing this.

2. Copy and Paste the "Pose Key" for all bones.

By 4u2ges - 7 Years Ago
Am I the only one who started to get a strong suspicion? :w00t:
By animagic - 7 Years Ago
4u2ges (2/5/2018)
Am I the only one who started to get a strong suspicion? :w00t:

No you're not alone in this feeling...:Wow: The floodgates are open, so to speak...:P
By 4u2ges - 7 Years Ago
animagic (2/5/2018)

No you're not alone in this feeling...:Wow: The floodgates are open, so to speak...:P



:) Sigh.. like in good old times...
By gm0124816 - 7 Years Ago
@Chuck23.C
I looked it up and in the video created by Reallusion https://www.youtube.com/watch?v=DqvYxjy3fVY at 8:18 they do explain how to do it. They are Reallusion and one would expect that things would happen like they advocate ... ... and if they don't, Reallusion should at least include the tools, by default, to EASILY correct it ...

Like I said before, I will buy the Curve editor and do like 4u2ges suggests.

I did not know other newbies with even less visits on this forum than myself could be that persistent in how 'things should and must be done" ...

Thanks to all for your appreciated help !
By Rampa - 7 Years Ago
There is a quick and effective way to set the same pose anywhere you want in a clip. This video is from iC6, so the clip tracks look a little different, but its still using the same functions in the motion layer panel, which is the same.

By Kelleytoons - 7 Years Ago
4u2ges (2/5/2018)
animagic (2/5/2018)

No you're not alone in this feeling...:Wow: The floodgates are open, so to speak...:P



:) Sigh.. like in good old times...


Me too, before I even read you guys posts -- and I've reported him to Peter (once burned, twice shy -- I will NOT let him sucker me again).

Hopefully Peter will take the right steps to get rid of him (again) soonest.
By gm0124816 - 7 Years Ago
@Rampa
Thanks for the video, it was interesting ! But I just tried it with this Stand01 MixMoves motion and unfortunately it did not help. I did set my first frame as the default and "defaulted" the last frame. The shift is still there, but now at the last frame. If I add a "Reset" frame somewhere in the motion, the shift still happens ...

I just bought and installed Curve Editor and I will have a look at the webinar video from a couple of weeks ago.

Thanks again for the help !
By gm0124816 - 7 Years Ago
I just played around with the Curve editor and Stand01 like suggested by 4u2ges (MotionRoot\Position X). Smoothing out the curves to have start and begin better adjusted to each other and that looks already a lot more like I was hoping for in just minutes ! I must say that I have missed having the possibility to edit curves (in iClone) ! It feels like coming home ... ... or maybe it is me just getting older and liking the good old fashioned way of working ... ... grrr ...