-
No loops but I get timeout while waiting for the engine
I have, what I think is, fairly simple expression code attached to a light in my comp. It is designed to drive the intensity of a light based on the muzzle flashes of a layer.
multiplier = 800;
driverLayer = thisComp.layer("HDfootage.mov 2");
samplePoint = [400,700];
sampleSize = [780,720];
lightnessSample = driverLayer.sampleImage(samplePoint,sampleSize);
driverLightness = rgbToHsl(lightnessSample)[2];
thisComp.layer("Light 2").Intensity = driverLightness * multiplier;When I step through my footage I see the intensity of the light is changing based on the flashes (20% to !40%). However, every time I render this comp I get an error ” timeout while waiting for the engine”
Why? I have no loops. I cannot see where I am going wrong.