ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: How to Retime Camera with Baked Keyframes

COW Forums : Adobe After Effects

Respond to this post   •   Return to posts index   •   Read entire thread

Greg Burrus
Re: How to Retime Camera with Baked Keyframes
on Jun 7, 2018 at 3:06:29 pm

Old thread but I thought I would post my solution based on Conrad's response since it helped me. It took me a bit but I figured out at least one way to do it.

Duplicating or creating a new camera as he said with no animation.

Then link the values together of what has the baked animation:
thisComp.layer(“Camera Name").transform.position (or whatever you are trying to control)

Then add .valueAtTime():
thisComp.layer(“Camera Name").transform.position.valueAtTime()

Inside the valueAtTime function link it to a slider on a null:
valueAtTime(thisComp.layer("Camera Control").effect("Slider Control")("Slider"))

Next make sure to divided it by your comps Frames per second or the timing will be off : valueAtTime(thisComp.layer("Camera Control").effect("Slider Control")("Slider")/24)

Final will be:
thisComp.layer(“Camera Name").transform.position.valueAtTime(thisComp.layer("Camera Control").effect("Slider Control")("Slider")/24)

After this, you need to connect your footage from your render. I have all of my composite layers in one precomp. Turn on time remap and link that to the slider that is Controlling your camera.
thisComp.layer("Camera Control").effect("Slider Control")("Slider")

Also divide it by your frames per second:
thisComp.layer("Camera Control").effect("Slider Control")("Slider")/24

Now it all should be linked up together and one slider should control your camera and your animation.

My case was needing to have simple text animation pop up over the animation at times where I added an extra frame to hold the 3D render cause it would be silly to render out multiple frames for holding on screen.

Though I could of done this with precomping as another poster suggested but that would require multiple comps with the camera duplicated(instances would work if I didn’t need to retime) or modifying the bake camera keyframes (I’ve done this before) but I always fear I may select one I don’t need.

This way allowed me to keep all of my controls and animations in one comp so I could see things at once. Though I could split it up easily as well and just link controls in another master comp if I wanted.

Hope this may help someone in the future. - Portfolio - Blog

Posts IndexRead Thread 

Current Message Thread:

© 2019 All Rights Reserved