Mark Borgions
Forum Replies Created
-
I’m not the most efficient expressions writer, but I might be able to help.
There’s two things you need: the animation at each marker.
First, determine the trigger point :
myTrig = thisComp.layer(“layername”).marker.key(“marker name”).time ;
Then the interpolation :
linear(time, myTrig, myTrig+0.2, value1, value2)
Where you replace the values to the ones relevant to youThen, and this is where better coders might have a better solution, you check which one needs to be triggered by putting them in if else if statements
So something like what is below.Hope this helps. Might become complicated, but if works for me.
Also, I tend to put the duration in a slider control, that way I can adjust it there once for the whole thing. Like
myDur = pickwhip slider control effect
Thus my interpolation becomes
linear(time, myTrig, myTrig + myDur, value1, value2)if (time < thisComp.layer("layername").marker.key("second marker name").time)
myTrig = thisComp.layer("layername").marker.key("first marker name").time ;
linear(time, myTrig, myTrig+0.2, value1, value2) ;
else if (time < thisComp.layer("layername").marker.key("third marker name").time)
...
end if -
Similar problem here.
Only a few keyframes. When hitting the spacebar, the preview starts but stops all responsiveness of the application. Need to hard relaunch the app after every single preview. -
Mark Borgions
July 29, 2015 at 4:55 pm in reply to: Multiple changing values outside of one compositionA few things that might help.
– You can create an expression control on a null in your master comp. Easiest is to rearrange windows, so you have two timelines on top of each other. Then you can pick wip the thing you want to control to the expression control in your parent comp.
– Now again, if your nested comp behaves differently in the different parent comps, you need different nested comps. If not, there’s no problem.
– A solution might be to isolate the variable element, and pre comp the non-changing elements on their own.Maybe I still misunderstand your problem. In that case, sorry. Just trying to help…
-
Mark Borgions
July 29, 2015 at 3:46 pm in reply to: Multiple changing values outside of one compositionHow complex is your nested comp?
Layer count.
Could you isolate the changing element? Maybe pre-comp the rest in another nested comp? -
Mark Borgions
July 29, 2015 at 7:41 am in reply to: Multiple changing values outside of one compositionIf you ask the same thing to do two different things, that’s not going to work. You need to have a duplicate of the nested comp. You could link all of the parameters of the copied comp to the original, so you only need to change them there.
If you copy the element with “Copy with property links” and paste it in the second comp, all properties will be tied to the original. Than just relink the ones you like to control from your second master comp.
Hope this helps -
You’re welcome
M
-
There might be a better way, but I do this kind of thing with a marker (on layer or comp level)
Then have a slider control the time offset in seconds.Hope this helps.
Mark
endFrame = thisLayer.marker.key("MARKERNAME").time ;
timeOffset = pickwhip-the-slidercontrol ;
linear (t=time, endFrame-timeOffset, endFrame, 0,100)