Myvideo

Guest

Login

Пример использования выражений для создания анимации в After Effects

Uploaded By: Myvideo
1,540 views
0
0 votes
0

Видеоурок по созданию анимации, реагирующей на расстояние до объекта с помощью выражений (экспрешенов) в After Effects. Выражения, которые используются в видео: INFLUENCE POSITION nullPos = (“NULL“).; objPos = ; maxDist = (“CONTROLLER“).effect(“Max Distance“)(“Slider“); strength = (“CONTROLLER“).effect(“Strength“)(“Slider“); dist = length(nullPos, objPos); dir = normalize(objPos - nullPos); moveAmount = strength * (1 - clamp(dist / maxDist, 0, 1)); newPos = objPos dir * moveAmount; newPos; INFLUENCE TIME REMAP nullLayer = (“NULL“); distance = length(, ); maxDist = (“CONTROLLER“).effect(“Max Distance Time“)(“Slider“); strengthDist = (“CONTROLLER“).effect(“Strength Time“)(“Slider“); effectiveDist = clamp(strengthDist, 0, maxDist); timeStart = 0; timeEnd = 5; clampedDistance = clamp(distance, effectiveDist, maxDist); remapTime = linear(clampedDistance, maxDist, effectiveDist, timeStart, timeEnd); remapTime; EFFECTS ANGLE nullPos = (“NULL“).; objPos = ; angle = -radiansToDegrees((objPos[1] - nullPos[1], objPos[0] - nullPos[0])) 180; EFFECTS OPACITY: nullPos = (“NULL“).; objPos = ; maxDist = (“CONTROLLER“).effect(“Max Distance“)(“Slider“); dist = length(nullPos - objPos); opacity = 100 * (2 - 2 * clamp(dist / maxDist, 0, 1)); Видео переведено и озвучено с помощью нейросетей!

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later