Copy link to clipboard
Copied
So i'm trying to use a control layer to effect hundreds of dots
https://www.youtube.com/watch?v=1UaZNcVobhg&t=293s
i've watched this tutorial and its great, i can get it to work, but after 5 mins its constantly crashing After Effects when i start duplicated all the layers to make up the hundereds of dots.
each layer has this code:
x = thisComp.layer("Gradient").sampleImage(transform.position, [.5,.5]/2, true, time)[0]; 100*[x,x]
really annoying as i need to use this effect on a job.
Copy link to clipboard
Copied
Assuming you have pre-comped your Gradient layer (like in the tutorial) you should try turning off the post effect parameter in sampleImage() and see if that improves performance, like this:
x = thisComp.layer("Gradient").sampleImage(transform.position, [.5,.5]/2, false, time)[0]; 100*[x,x]
Also, when you say "crashing After Effects", what do you mean exactlly? Are you getting any error messages?
Copy link to clipboard
Copied
I'm struggling with same problem.. Have you solved it?
Copy link to clipboard
Copied
I'm struggling with same problem.. Have you solved it?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now