View Full Version : Cycle. Voodoo or misunderstood?
Troyan 12-02-2006, 06:16 PM Ok, I did a simple animation where I wanted something to spin about 5 times and stop, so I did 0-359° over 1 second and I just wanted to cycle that. Well, I tried following the instructions in the Help (do a search for "cycle", it's in the Keys section of the timeline) which seemed pretty simple but could not get it to work no matter what I tried. Set timeline to keys mode, selected the track and chose "Cycle..." under Keys. Nothing. Tried selecting the one parameter track, the main tracks, nothing. Can anyone explain to me what I'm doing wrong or is this borked?
Realize I'm not talking about "Repeat" that can be found in the parameters window when you select the track. It's not the same since it continues forever.
|
|
Tiziano
12-02-2006, 06:47 PM
Do you mean that you want to loop a portion of the timeline?
If so, try page 920 of the v9 manual.
Also, C4d comes (came?) with a COFFEE called 'Infinate Rotation.' I don't remember where it installs but I keep mine in the Object folder of the Library. Anyway, attached is a modified version that spins in the h axis, once per second at 30fps for 5 seconds and then stops. Move the COFFEE tag to your object and keyframe 'Enable' to start and 150 frames later keyframe 'Enable' off to end.
If this works for you, great.
mikeh64
12-02-2006, 07:24 PM
are you in R10, or something earlier?
if you are R10 - maybe you could find an answer in the "before" and "after" settings in the track attributes
JoelOtron
12-02-2006, 08:15 PM
If you have mograph--you can just throw a time effector on it and it will spin infinitely (the effector default is set to rotation)
You can also use xpresso-- tying in the time node with the objects global rotation port.
I'll see if I can find the preset file I made a while back when I get a chance. Think I used the range mapper to control the speed of rotation.
If you are using 9+, then you would just loop the frames--but not sure how to keyframe loops in 10 (just started usinng it)
PS--I know how you feel--its Saturday--youve got a deadline--and nothings working for you
--your not alone :)
Troyan
12-02-2006, 09:09 PM
Sorry, I am in R10. It would help if I said what I was working with :). I know there are workarounds, I'm just wondering if anyone has gotten the Cycle feature to work. It has changed since R9 and I'm not talking about the Repeat function for After on the track attributes. If you do a search for Cycle in the new help system that comes with R10, you'll see what I'm talking about. You can't loop anymore like in R9 since the timeline has changed.
LucentDreams
12-02-2006, 11:40 PM
hmm works fine for me select track, go to Keys menu and choose cycle set number of times you want the entire track to cycle and if you want it to offset and click OK. Only do it to entire tracks though.
JoelOtron
12-03-2006, 12:32 AM
Hmm--see what you mean.
If I have 2 keys in my cycle--0 and 359, it copies the frames but the last frame is canceled out with the first one each time.
ie:
frame 0 = 0º
frame 30 =359º
Apply the cycle to the track so it repeats 3 times:
frame 0 = 0º
frame 30 = 0º
frame 60 = 0º
frame 90 =359º
Thats what I got at least when I tried it.
You can also select the track and switch the "after" selection to "repeat" in the AM. WOuld be really great if you could just enter the # of repeats there. I suppose there was a reason why that didnt happen.
JoelOtron
12-03-2006, 12:43 AM
hmm works fine for me select track, go to Keys menu and choose cycle set number of times you want the entire track to cycle and if you want it to offset and click OK. Only do it to entire tracks though.
When I select just the track (in this case object-> rotation->rotation H)--nothing happens at all. It only is working if I select all the keys as well. And then the result isnt what I would expect.
LucentDreams
12-03-2006, 12:44 AM
hmm dunno what mdoe your in, but when I select tracks is selects all keys on that track.
JoelOtron
12-03-2006, 01:15 AM
Yes--I wasnt clear--select the track--keys are slected too.
If I select the track, go to the key menu, select cycle with a value, NOTHING happens. Nothing.
If I DONT select the track--just the keys, and then select cycle as I did before, new keys are created--but all the values are "zeroed" out by the value of the first key--only the very last generated key has the correct end value. It doesnt work.
Are we all on a mac? maybe a mac bug?
If its a user error--then its very surprising why this should be so hard to figure out.
unseenthings
12-03-2006, 03:30 AM
Yes--I wasnt clear--select the track--keys are slected too.
If I select the track, go to the key menu, select cycle with a value, NOTHING happens. Nothing.
If I DONT select the track--just the keys, and then select cycle as I did before, new keys are created--but all the values are "zeroed" out by the value of the first key--only the very last generated key has the correct end value. It doesnt work.
Are we all on a mac? maybe a mac bug?
If its a user error--then its very surprising why this should be so hard to figure out.
I'm getting a lot of the same results... it's very, very picky as to when it actually creates those cycles, and when it does, they're not correct, as you stated above. I'm on Windows, same results in R10 regular and 64 bit versions. There's got to be a bug or some special trick we're missing... am I not clicking hard enough? :-)
JoelOtron
12-03-2006, 03:51 AM
Here are some shots showing the process
http://www.betatronstudios.com/en/Picture%2010.jpg
http://www.betatronstudios.com/en/Picture%2011.jpg
http://www.betatronstudios.com/en/Picture%2012.jpg
JoelOtron
12-03-2006, 04:06 AM
OK figured it out.
Seems that cycle works fine if its anything BUT 360º rotation.ALSO--needs to be more than 2 keyframes in the sequence.
The cool thing about the pre-10 looping function, was that it was a true loop--it would repeat the sequence as many times as you need it to--without having to prep your keyframes in any way.
With the cycle method, you have to bring the value back to 0 again once the first cycle is complete. So--if you want your last frame to be 359º, then you have to add one more frame after that set to 0 again. THEN the looping cycle works.
http://www.betatronstudios.com/en/Picture%2013.jpg
http://www.betatronstudios.com/en/Picture%2014.jpg
Trying to understand the problem here. If I make an rotation animation with two keyframes, the first at 0 and the second at 360, select those keys, choose cycle and activate the offset option, I then get a perfectly cycled rotation for however many times I want it.
Ah, but cycling without the offset option active doesn't work right. That looks like a bug.
LucentDreams
12-03-2006, 07:56 AM
can you please try it in the Fcurve view guys? I reported a bug where it behaves differently in key view than it does in fcurve. are you at least getting the right result in fcurve view?
I get the wrong result in both.
LucentDreams
12-03-2006, 08:29 AM
on PC or MAC. Even with offset it seems work fine.
needless to say we are finding this command to be inconsistent and buggy.
Offset works here fine. I think the issue may have something to do with the fact that a key can't be two values at once. If your first key is 0 and the second is 360, then when it tries to cycle from 0 to 360 the second time, the second key is set to 0. So you 0-0-360.
JoelOtron
12-03-2006, 01:45 PM
Offset works here fine. I think the issue may have something to do with the fact that a key can't be two values at once. If your first key is 0 and the second is 360, then when it tries to cycle from 0 to 360 the second time, the second key is set to 0. So you 0-0-360.
Yeah--thats it (what I was trying to show in an earlier post). It actually mention this I think in the Help entry--that the keys get overidden by the original first key value. But its limiting when needing to do rotation cycles.
JoelOtron
12-03-2006, 01:55 PM
I also have to say--since we're on the subject of bugginess--that I have CRASHED a number of times when using the powerslider.J After adding kfs in the powerslider, then just clicking around in my timeline (no commands--just clicking on screen) I get random crashes.
And on an unrelated note (related only in that I've been keeping the HELP window up while I work this stuff out), clicking on the help browser window--(selecting type, specifically) has also caused me to crash several times. This is on different macs with different installs of R10 also.
(I'll forward to maxon)
CGTalk Moderation
12-03-2006, 01:55 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.