-
One Expression Massively Increasing Render Time
I’ve been posting here the past couple weeks to gather different expressions to achieve what I’ve come to call and Audio Avatar. Just to give all the info about the composition before I ask my question:
Comp Size: 60x60px
Composition Length: 2 hours approx.
Description: A simple face made of various shapes. The mouth scale is pickwhipped to Audio Amplitude. As is the position of the eyebrows. The eyes used to also be pickwhipped to the audio in a reversed fashion (whereby they get smaller in response to the audio) – However, this looked silly as the face looked like it was sneezing everytime it spoke. So I replaced that expression on Scale, with this expression on Opacity:minSeg = 2.0;
maxSeg = 5.0;
blinkDur = .2;
fadeTime = .07;seedRandom(index,true)
segStartTime = -random(minSeg,maxSeg);
segEndTime = segStartTime;
i = 1;while (time >= segEndTime){
i += 1;
seedRandom(i,true);
segStartTime = segEndTime;
segEndTime = segEndTime + random(minSeg,maxSeg);
}if (time < segStartTime + blinkDur/2)
easeOut(time,segStartTime,segStartTime+fadeTime,100,0)
else
easeIn(time,segStartTime+blinkDur-fadeTime,segStartTime+blinkDur,0,100)This expression is much better for making a simple blink effect. However, before I added this expression, the 2 hour comp was taking around 1-2 hours to render. With this expression, the render runs with the estimation of 1-2 hours, but then about 40 minutes in, the render time begins to increase until it reaches in the range of 7-9 hours. Watching the initial render shows that it is rendering multiple frames per second, but by about 40 minutes in, this slows to a crawl and then only 1 or 2 frames are rendered per second.
There are no other effects that begin during this time. It’s the same all the way through. I was just wondering if anyone could explain what the cause of this might be? (I also have multiprocessing switched on)