Baking Cycles

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
teotoon
Posts: 133
Joined: Wed Aug 04, 2004 7:19 am
Location: Turkey

Baking Cycles

Post by teotoon »

Hello, is there a way to bake a cycle as keyframes?
User avatar
synthsin75
Posts: 10269
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Baking Cycles

Post by synthsin75 »

A custom script could to that, but why would you need to?
teotoon
Posts: 133
Joined: Wed Aug 04, 2004 7:19 am
Location: Turkey

Re: Baking Cycles

Post by teotoon »

Hi Syn,

I created a additive walk cycle. Now I want to tweak individual frames and also make the cycled walk back. The only solution I would think is that baking cycle, then work on frames. There are such functions in some classical 2D animation apps, such as "Rough Animator". A custom script would be great !

Cheers
User avatar
synthsin75
Posts: 10269
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Baking Cycles

Post by synthsin75 »

Turns out an old script I wrote a long time ago will handle additive cycles for at least bones and point motion: https://sites.google.com/site/synthsin/ ... ects=0&d=1
Paul (hayasidist) might have a more robust script to bake frames.
User avatar
hayasidist
Posts: 3846
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Baking Cycles

Post by hayasidist »

Back in the days of AS8/9 (and before additive cycles!?), I did a script to unload switch keyframes to a .dat, expanding cycles to create individual keys are requested in the OP - this .dat could then be imported into another document - but that was really only useful in the days before copy / paste keys between docs and I haven't touched that since 2013.

Frankly, I'd just use copy/paste keys and tweak the copies...
teotoon
Posts: 133
Joined: Wed Aug 04, 2004 7:19 am
Location: Turkey

Re: Baking Cycles

Post by teotoon »

Thank you guys, I will try both solutions...

Cheers
DDLLC
Posts: 6
Joined: Mon Oct 11, 2021 10:05 pm

Re: Baking Cycles

Post by DDLLC »

Ok I have a question. I created a walk cycle in an action. It plays back fine in the action. When I add it to the main timeline, it cycles then stops.

Now, the cycle continues, but one of the legs stops moving. So the character is doing the motion with his upper body, and one leg. I can’t figure out why that left leg won’t move on the main timeline.

I hope this question makes sense

Is there a way to post videos to this forum so I can show you guys?
User avatar
Greenlaw
Posts: 10412
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Baking Cycles

Post by Greenlaw »

Re: videos...

Most users upload to YouTube or Vimeo and use the corresponding buttons in the post editor to add them. If you hover over any of the buttons, it gives you some info about the formatting. I prefer Vimeo but either service works well.

If the video is short and you want to loop it, GIF works well. In this case, upload it as an image. Moho can write to GIF and many screen recorders can save GIF. Many of the looping demos you see in this forum are uploaded this way. GIF has many drawbacks though: very limited duration, no sounds, and only 256 colors max. The advantage is convenience when posting very short looping demos.
User avatar
Greenlaw
Posts: 10412
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Baking Cycles

Post by Greenlaw »

Sorry, forgot to add that when you upload a GIF, the image will need to be hosted by another website or a cloud account. This is true for any images.

There are many image hosting websites out there that will do this for free. Just upload the file, copy the link, and paste the link in your post here. The downside with using a third party site is that the image may not always be available. This is what happened to many images here they used to be hosted by Tiny Pic.

A more 'permanent' solution is to use a cloud storage service like DropBox or Google Drive. I like to use Dropbox; I can rename files, overwrite them, and move them around to different folders, and the links will remain valid. I think Google Drive is more restrictive than DropBox but it works well too. Both services offer a free version of their services, and you can subscribe if you need more space. The main advantage with this is that you control the links and images yourself, so there's more flexibility.

If you go with DropBox, here's an important tip: In the link, you will need to replace the [?dl=0] bit at the end of the link to [?raw=1]. This allows the forum to display the image and not just the link.

Hope this helps.
Post Reply