что такое pre compose after effects

Precomposing, nesting, and pre-rendering

About precomposing and nesting

If you want to group some layers that are already in a composition, you can precompose those layers. Precomposing layers places them in a new composition, which replaces the layers in the original composition. The new nested composition becomes the source for a single layer in the original composition. The new composition appears in the Project panel and is available for rendering or use in any other composition. You can nest compositions by adding an existing composition to another composition, just as you would add any other footage item to a composition. Precomposing a single layer is useful for adding transform properties to a layer and influencing the order in which elements of a composition are rendered.

Nesting is the inclusion of one composition within another. The nested composition appears as a layer in the containing composition.

A nested composition is sometimes called a precomposition, which is occasionally abbreviated in casual use to precomp or pre-comp. When a precomposition is used as the source footage item for a layer, the layer is called a precomposition layer.

During rendering, the image data and other information can be said to flow from each nested composition into the composition that contains it. For this reason, nested compositions are sometimes referred to as being upstream of the compositions that contain them, and the containing compositions are said to be downstream of the nested compositions that they contain. A set of compositions connected through nesting is called a composition network. You can navigate within a composition network using the Composition Navigator and Mini-Flowchart. (See Opening and navigating nested compositions.)

Precompositions in After Effects are similar to Smart Objects in Adobe Photoshop.

Uses for precomposing and nesting

Precomposing and nesting are useful for managing and organizing complex compositions. By precomposing and nesting, you can do the following:

Preferences and composition settings that affect nested compositions

Because a precomposition is itself a layer, you can control its behavior using layer switches and composition switches in the Timeline panel. You can choose whether changes made to the switches in the containing composition are propagated to the nested composition. To prevent layer switches from affecting nested compositions, choose Edit > Preferences > General (Windows) or After Effects > Preferences > General (Mac OS), and then deselect Switches Affect Nested Comps.

In the Advanced tab of the Composition Settings dialog box (Composition > Composition Settings), choose Preserve Resolution When Nested or Preserve Frame Rate When Nested Or In Render Queue for a composition to retain its own resolution or frame rate, and not inherit those settings from the containing composition. For example, if you deliberately used a low frame rate in a composition to create a jerky, hand-animated result, you should preserve the frame rate for that composition when it is nested. Similarly, the results of rotoscoping may look wrong when converted to a different frame rate or resolution. Use this setting instead of the Posterize Time effect, which is less efficient.

Jeff Almasol provides a script on his redefinery website that makes toggling the Preserve Resolution When Nested or Preserve Frame Rate When Nested Or In Render Queue preference setting more convenient.

Changing the current time in one panel updates the current time in other panels associated with that composition. By default, the current time is also updated for all compositions related to the current composition by nesting. To prevent compositions related by nesting from updating their current times when you change the current time in one composition, deselect the Synchronize Time Of All Related Items preference (Edit > Preferences > General (Windows) or After Effects > Preferences > General (Mac OS)).

Online resources about precomposing and nesting

Chris and Trish Meyer share tips on setting up a composition hierarchy so that making changes in a project is easier in this article from the ProVideo Coalition website.

See this page on aescripts website for the Zorro-The Layer Tagger script, which allows you to group layers in your composition using tags rather than precomposing.

Precompose layers

Precomposing layers places them in a new composition (sometimes called a precomposition), which replaces the layers in the original composition. Precomposing a single layer is useful for adding transform properties to a layer and influencing the order in which elements of a composition are rendered.

Leave All Attributes In

Leaves the properties and keyframes of the precomposed layer in the original composition, applied to the new layer that represents the precomposition. The frame size of the new composition is the same as the size of the selected layer. This option is not available when you select more than one layer, a text layer, or a shape layer.

Move All Attributes Into The New Composition

Moves the properties and keyframes of the precomposed layers one level further from the root composition in the composition hierarchy. When you use this option, changes you applied to the properties of the layers remain with the individual layers within the precomposition. The frame size of the new composition is the same as the frame size of the original composition.

Effects can include masks and effects of other layers

The control is similar to the function of View menu at the bottom of the Layer viewer panel which allows you to render the layer from different positions in the rendering order: from its source, from its masks, or from its individual effects.
For effects with layer properties, open the Input Parameter menu to the right of the layer selection choose the target input layer such as:

Opening and navigating nested compositions

Nested compositions are sometimes referred to as being upstream of the compositions that contain them, and the containing compositions are said to be downstream of the nested compositions that they contain. The root composition is the most downstream; the most deeply nested composition is the most upstream. A composition flow path is a chain of compositions that are related to one another by containing or being nested within one another. A composition network is the entire set of compositions that are related to one another through nesting.

After Effects provides several ways to open a nested composition (precomposition):

Double-clicking a precomposition layer when a paint tool or the Roto Brush tool is active opens the layer in the Layer panel.

To open the most recently active composition in the same composition network as the currently active composition, press Shift+Esc.

Use the Composition Navigator.

Use the Composition Mini-Flowchart.

The Composition Navigator

The Composition Navigator is a bar along the top edge of the Composition panel that shows the composition active in that viewer in relation to other compositions in the same composition network. The compositions shown are the most recently active compositions in the flow path of the currently active composition.

что такое pre compose after effects. bc Composition Navigator. что такое pre compose after effects фото. что такое pre compose after effects-bc Composition Navigator. картинка что такое pre compose after effects. картинка bc Composition Navigator.

A. Active (current) composition B. Arrow for opening Composition Mini-Flowchart C. Panel menu button D. Ellipsis

Arrows between the composition names indicate the direction in which pixel information flows for this flow path. The default is to show compositions in the Composition Navigator bar with downstream compositions on the left and upstream compositions on the right. This default is indicated by the Flow Right To Left option in the Composition panel menu. To show compositions in the other order, choose Flow Left To Right. This setting is a global preference; it applies to all compositions and to the Composition Mini-Flowchart view.

The names of downstream compositions are dim to indicate that their contents are not used or shown in the active composition.

To show or hide the Composition Navigator bar, choose Show Composition Navigator from the Composition panel menu.

To activate any composition shown in the Composition Navigator bar, click the composition name.

To scroll through a long flow path, place the pointer over a composition button in the Composition Navigator and roll the mouse scroll wheel.

The Composition Mini-Flowchart

The Composition Mini-Flowchart is a transient control that you can use to quickly navigate within a composition network. When you open the Composition Mini-Flowchart, it shows the compositions immediately upstream and downstream of the selected composition.

Colors in the Composition Mini-Flowchart are based on the label colors assigned to compositions in the Project panel. If a composition is used multiple times within one composition, the multiple instances of the nested composition appear as one entry with a number in parentheses indicating the number of instances.

To open the Composition Mini-Flowchart, do one of the following:

что такое pre compose after effects. Mini%20flowchart%20new.png.img. что такое pre compose after effects фото. что такое pre compose after effects-Mini%20flowchart%20new.png.img. картинка что такое pre compose after effects. картинка Mini%20flowchart%20new.png.img.

A. Indicator that composition does not flow into other compositions B. Direction of flow C. Active (current) composition

Click the arrow to the right of a composition name in the Composition Navigator bar.

Choose Composition Mini-Flowchart from the Composition menu, the Composition panel menu, or the Timeline panel menu.

Upstream compositions in the Composition Mini-Flowchart are sorted from top to bottom either alphabetically or by layer order. To switch between these sorting orders, press the S key when the Composition Mini-Flowchart is open. When sorting by layer order, a composition used multiple times is sorted according to its topmost instance in the stacking order. Downstream compositions are always sorted alphabetically.

Rich Young provides additional information about the Flowchart panel and the Composition Mini-flowchart on the After Effects Portal website.

Pre-render a nested composition

A complex nested composition can take a long time to render, either for previews or for final output. If you have a nested composition that you do not expect to work on further, you can save time during each rendering operation by pre-rendering the nested composition into a movie and replacing the composition with the rendered movie. You can still modify the original nested composition, because it remains in the Project panel. If you make a significant change to the original nested composition, render it again.

Pre-rendering a nested composition is especially beneficial when you will use it multiple times in a project.

Apply your final output settings when you pre-render the nested composition.

The Pre-render command adds the composition to the render queue and sets the Import & Replace Usage post-render action to replace the composition with the rendered movie.

An alternative to replacing the composition with the movie is to use the rendered movie as a proxy for the nested composition.

Render order and collapsing transformations

A composition consists of layers stacked on top of one another in the Timeline panel. When the composition is rendered—either for previewing or for final output—the bottom layer is rendered first. Within each raster (non-vector) layer, elements are applied in the following order: masks, effects, transformations, and layer styles. For continuously rasterized vector layers, the default rendering order is masks, followed by transformations, and then effects.

Transformations are changes to those properties grouped under the Transform category in the Timeline panel, including Anchor Point, Position, Scale, Rotation, and Opacity. What you see that in the Layer panel is the result of the rendering before transformations are performed.

For additional control over when transformations are performed, you can apply the Transform effect and reorder it with respect to other effects.

In a group of effects or masks, items are processed from top to bottom. For example, if you apply the Circle effect and then apply the Magnify effect, the circle is magnified. However, if you drag the Magnify effect above (before) the Circle effect in the Effect Controls or Timeline panel, the circle is drawn after the magnification and isn’t magnified.

After a layer has been rendered, rendering begins for the next layer. The rendered layer below may be used as input to the rendering of the layer above—for example, for determining the result of a blending mode.

If a composition contains other compositions nested within it, the nested composition is rendered before other layers in the containing composition.

Some effects ignore masks on the layer to which they’re applied. To have such an effect operate on a masked layer, pre-compose the layer with the mask applied, and then apply the effect to the pre-composed layer. (See About precomposing and nesting.)

Instead of a Collapse Transformations switch, vector layers have a Continuously Rasterize switch in the same location. Vector layers include shape layers, text layers, and layers with vector graphic files as the source footage. Text layers and shape layers are always continuously rasterized.

Collapsing transformations can, for example, preserve resolution when a layer is scaled down by half in a nested composition, and the nested composition is scaled up by a factor of two in the containing composition. In this case, rather than performing both transformations and losing image data in the process, one transformation can be performed—doing nothing, because the individual transformations cancel each other.

If transformations are not collapsed, a nested composition that contains 3D layers is rendered as a 2D image of the 3D arrangement, using the default composition camera. This rendering prevents the nested composition from intersecting with 3D layers, casting shadows on 3D layers, and receiving shadows from 3D layers in the containing composition. The nested composition is also not controlled by the cameras and lights of the containing composition.

If transformations are collapsed, the 3D properties of the layers in the nested composition are exposed to the containing composition. Thus, the nested composition can intersect with 3D layers, cast shadows on 3D layers, and receive shadows from 3D layers in the containing composition. The containing composition’s camera and lights can also control the nested composition.

Essentially, collapsing transformations for a nested composition tells After Effects to not flatten and crop the layers in the precomposition. Because an adjustment layer operates on the composite of all of the layers beneath it within the same composition, an adjustment layer within a nested composition with collapsed transformations will force the flattening and cropping that collapsing transformations would normally prevent.

When a closed mask (with mask mode other than None), a layer style, or an effect is applied to a nested composition with collapsed transformations, the layers in the nested composition are first rendered on their own, then masks and effects are applied, and then the result is composited into the main composition. This rendering order means that the blending modes of the nested layers are not applied to any underlying layers in the main composition, and that 3D layers above and below the collapsed layer cannot intersect or cast shadows on each other.

Источник

After Effects: создаём вау-эффект для главной страницы

Рассказываем, как просто и быстро с помощью After Effects сделать эффектную страницу сайта.

что такое pre compose after effects. 9e46ccb882bd9274a9684227036b954e. что такое pre compose after effects фото. что такое pre compose after effects-9e46ccb882bd9274a9684227036b954e. картинка что такое pre compose after effects. картинка 9e46ccb882bd9274a9684227036b954e.

что такое pre compose after effects. 5a122f681561caf095a39ddce50247e2. что такое pre compose after effects фото. что такое pre compose after effects-5a122f681561caf095a39ddce50247e2. картинка что такое pre compose after effects. картинка 5a122f681561caf095a39ddce50247e2.

Специально для этого руководства я разработал вот такой макет, который мы будем анимировать.

что такое pre compose after effects. 22035118122019 1d57acc80cb2587e070287659c7cbbfb53ef97fe. что такое pre compose after effects фото. что такое pre compose after effects-22035118122019 1d57acc80cb2587e070287659c7cbbfb53ef97fe. картинка что такое pre compose after effects. картинка 22035118122019 1d57acc80cb2587e070287659c7cbbfb53ef97fe.

что такое pre compose after effects. 22035118122019 b801fd7ae558264529a16091a7f2b0c8a8642a5b. что такое pre compose after effects фото. что такое pre compose after effects-22035118122019 b801fd7ae558264529a16091a7f2b0c8a8642a5b. картинка что такое pre compose after effects. картинка 22035118122019 b801fd7ae558264529a16091a7f2b0c8a8642a5b.

Вы можете использовать мои макеты, где есть все необходимые элементы для анимации, или нарисовать свои.

Анимация, которая получится в итоге:

что такое pre compose after effects. 22034818122019 f6426dfeec1bbbc01168489977c5e62d86273fab. что такое pre compose after effects фото. что такое pre compose after effects-22034818122019 f6426dfeec1bbbc01168489977c5e62d86273fab. картинка что такое pre compose after effects. картинка 22034818122019 f6426dfeec1bbbc01168489977c5e62d86273fab.

что такое pre compose after effects. 11363818092019 8eade49e3e9855c545facb583cc75361d0c85654. что такое pre compose after effects фото. что такое pre compose after effects-11363818092019 8eade49e3e9855c545facb583cc75361d0c85654. картинка что такое pre compose after effects. картинка 11363818092019 8eade49e3e9855c545facb583cc75361d0c85654.

Автор статей по дизайну.
В веб-дизайн пришел в 2013 году, осознанно начал заниматься с 2015 года. Параллельно освоил верстку. Время от времени публикует переводы на Хабре.

Подготовка проекта

Создание проекта

Как всегда, начнём с создания проекта и композиции: File — New — New Project.

что такое pre compose after effects. 22034818122019 3e56b4d6c2ade309ed57cf709adc5de2c7fdc22d. что такое pre compose after effects фото. что такое pre compose after effects-22034818122019 3e56b4d6c2ade309ed57cf709adc5de2c7fdc22d. картинка что такое pre compose after effects. картинка 22034818122019 3e56b4d6c2ade309ed57cf709adc5de2c7fdc22d.

Затем выбираем New Composition.

что такое pre compose after effects. 22034818122019 50dba60862546aabb67df7fa61dccae64d89df44. что такое pre compose after effects фото. что такое pre compose after effects-22034818122019 50dba60862546aabb67df7fa61dccae64d89df44. картинка что такое pre compose after effects. картинка 22034818122019 50dba60862546aabb67df7fa61dccae64d89df44.

В окне настроек композиции укажите параметры, как показано ниже. Частоту кадров выставите 25, длительность — 16 секунд.

что такое pre compose after effects. 22035018122019 9fa9e0155fe9c67cecea9e3be243d214189845a4. что такое pre compose after effects фото. что такое pre compose after effects-22035018122019 9fa9e0155fe9c67cecea9e3be243d214189845a4. картинка что такое pre compose after effects. картинка 22035018122019 9fa9e0155fe9c67cecea9e3be243d214189845a4.

Назовите композицию Travel-interface. После создания композиции добавьте новый слой. Щёлкните правой кнопкой мыши по панели слоев и выберите New — Solid, цвет #111F20.

что такое pre compose after effects. 22034818122019 c059a2af229fba3bd6c583faa6f605cea8af2f9d. что такое pre compose after effects фото. что такое pre compose after effects-22034818122019 c059a2af229fba3bd6c583faa6f605cea8af2f9d. картинка что такое pre compose after effects. картинка 22034818122019 c059a2af229fba3bd6c583faa6f605cea8af2f9d.

Подготовка к переносу макета

Макеты я разрабатываю в редакторе Figma и переносить их буду вручную, чтобы вы могли закрепить навык работы с инструментами After Effects.

Если у вас уже есть наработанный скилл по инструментарию, можете воспользоваться прекрасным конвертером, который перенесёт ваш макет из Figma в After Effects автоматически, и сразу перейти к созданию анимации.

Фотографии я переношу «один в один» либо использую оригинал большего разрешения, чем в макете, чтобы фото можно было уменьшить уже в After Effects. При переносе не использую никакой другой софт, кроме Figma и After Effects. Текст набираю в самом After Effects — никаких JPG-экспортов, иначе к тексту нельзя будет применить эффекты.

Перед тем как вы начнёте формировать композицию в After Effects, подставьте фоном изображение макета: так будет удобнее выравнивать элементы.

Для этого выделите Frame в Figma и экспортируйте его в формат JPG или PNG. Для подложки это не принципиально, JPG весит немного меньше, поэтому я использую его.

что такое pre compose after effects. 22035018122019 d2c67df3c56a0e1de4b85ec200e1aca844647966. что такое pre compose after effects фото. что такое pre compose after effects-22035018122019 d2c67df3c56a0e1de4b85ec200e1aca844647966. картинка что такое pre compose after effects. картинка 22035018122019 d2c67df3c56a0e1de4b85ec200e1aca844647966.

Теперь импортируйте этот файл в After Effects.

что такое pre compose after effects. 22034818122019 b0934fc2a5e776c3a2b98f826f8de627a93a55b7. что такое pre compose after effects фото. что такое pre compose after effects-22034818122019 b0934fc2a5e776c3a2b98f826f8de627a93a55b7. картинка что такое pre compose after effects. картинка 22034818122019 b0934fc2a5e776c3a2b98f826f8de627a93a55b7.

Создайте новую папку, чтобы в дальнейшем было удобнее подцеплять нужные файлы. Создать папку можно двумя способами: нажать на иконку папки в нижней части панели проекта либо нажать правой кнопкой мыши в контекстном меню.

что такое pre compose after effects. 22034718122019 1c268adcc76f0822608460c62d7afe7d51467887. что такое pre compose after effects фото. что такое pre compose after effects-22034718122019 1c268adcc76f0822608460c62d7afe7d51467887. картинка что такое pre compose after effects. картинка 22034718122019 1c268adcc76f0822608460c62d7afe7d51467887.

Папку назовите Bg и перенесите в неё файл interface-bg.jpg. Чуть позже сюда будет добавлен ещё один файл второго экрана.

Теперь порядок файлов на панели проекта должен быть таким:

что такое pre compose after effects. 22034718122019 d6905b1da291803f91b79e3ad59b4f33a6558d85. что такое pre compose after effects фото. что такое pre compose after effects-22034718122019 d6905b1da291803f91b79e3ad59b4f33a6558d85. картинка что такое pre compose after effects. картинка 22034718122019 d6905b1da291803f91b79e3ad59b4f33a6558d85.

Далее перенесите файл подложки interface-bg.jpg на панель Timeline, установите его выше слоя заливки и зафиксируйте по клику на иконку замочка, чтобы случайно не сдвинуть.

что такое pre compose after effects. 22035218122019 57e56f7258b3a91ce36f5a26e22dcf5ac6ad0b0b. что такое pre compose after effects фото. что такое pre compose after effects-22035218122019 57e56f7258b3a91ce36f5a26e22dcf5ac6ad0b0b. картинка что такое pre compose after effects. картинка 22035218122019 57e56f7258b3a91ce36f5a26e22dcf5ac6ad0b0b.

Должно получиться вот так:

что такое pre compose after effects. 22034818122019 dee3e84e6140e0bd012db8e05ed5059b75e8f3fd. что такое pre compose after effects фото. что такое pre compose after effects-22034818122019 dee3e84e6140e0bd012db8e05ed5059b75e8f3fd. картинка что такое pre compose after effects. картинка 22034818122019 dee3e84e6140e0bd012db8e05ed5059b75e8f3fd.

Подложку можно сделать полупрозрачной, чтобы видеть изменения в After Effects при переносе. Либо можно после переноса частей макета отключать видимость подложки по клику на иконку глаза.

Перенос макета

Приступаем к переносу элементов макета и подготовке их к анимации. Сначала переносим хедер — логотип, меню и дополнительное бургер-меню.

Начните с логотипа. Перейдите в редактор Figma, выделите логотип и посмотрите параметры текста, которые необходимы для анимации в After Effects.

что такое pre compose after effects. 22034718122019 6469bf1379f0a943d5f2777ef39b9772a52b542b. что такое pre compose after effects фото. что такое pre compose after effects-22034718122019 6469bf1379f0a943d5f2777ef39b9772a52b542b. картинка что такое pre compose after effects. картинка 22034718122019 6469bf1379f0a943d5f2777ef39b9772a52b542b.

Теперь переключитесь в After Effects, на панели инструментов выберите Horizontal Type Tool и в рабочей области композиции около логотипа наберите слово Travel.

что такое pre compose after effects. 22035118122019 60e289d1d9bb6b785bf433879cab641aee18d3c0. что такое pre compose after effects фото. что такое pre compose after effects-22035118122019 60e289d1d9bb6b785bf433879cab641aee18d3c0. картинка что такое pre compose after effects. картинка 22035118122019 60e289d1d9bb6b785bf433879cab641aee18d3c0.

Настройте значения текста — гарнитуру шрифта, размер и межбуквенный интервал, как в Figma, — и переместите на место логотип.

что такое pre compose after effects. 22034818122019 f3f8f120fc7170f2c49b7dbd8b1f5f3d42b8795b. что такое pre compose after effects фото. что такое pre compose after effects-22034818122019 f3f8f120fc7170f2c49b7dbd8b1f5f3d42b8795b. картинка что такое pre compose after effects. картинка 22034818122019 f3f8f120fc7170f2c49b7dbd8b1f5f3d42b8795b.

Обратите внимание: межбуквенный интервал в Figma указывается в процентах, а в After Effects — нет. Интервал вам придётся подбирать на глаз, ориентируясь на размеры в подложке.

Как и логотип, так же перенесите все пункты меню. Бургер-меню нарисуйте инструментом Rectangle Tool, который находится на панели инструментов.

что такое pre compose after effects. 22034818122019 021d9a3332e068d8ca5ef19a610888ca4bdfea5b. что такое pre compose after effects фото. что такое pre compose after effects-22034818122019 021d9a3332e068d8ca5ef19a610888ca4bdfea5b. картинка что такое pre compose after effects. картинка 22034818122019 021d9a3332e068d8ca5ef19a610888ca4bdfea5b.

Задаём белый цвет, отключаем обводку. Шапка готова! Отключите видимость подложки и посмотрите, что получилось:

что такое pre compose after effects. 22034618122019 cc9fc8e6480ae902b98b6d5847371c9f0b916420. что такое pre compose after effects фото. что такое pre compose after effects-22034618122019 cc9fc8e6480ae902b98b6d5847371c9f0b916420. картинка что такое pre compose after effects. картинка 22034618122019 cc9fc8e6480ae902b98b6d5847371c9f0b916420.

Теперь сделаем так, чтобы работать было удобнее и большое количество слоёв не мешало на панели Timeline. Выделите все пункты меню и нажмите правой клавишей мыши на любом из них; в появившемся контекстном меню выберите Pre-compose.

что такое pre compose after effects. 22035018122019 5b1fed156db92d7341ec4f18b5817e5b3fc85f97. что такое pre compose after effects фото. что такое pre compose after effects-22035018122019 5b1fed156db92d7341ec4f18b5817e5b3fc85f97. картинка что такое pre compose after effects. картинка 22035018122019 5b1fed156db92d7341ec4f18b5817e5b3fc85f97.

Композицию назовите Menu; не забудьте отметить пункт, который выделен на скриншоте ниже.

что такое pre compose after effects. 22035018122019 ac9a5d92c9e9514fd6a468854d5d948566565411. что такое pre compose after effects фото. что такое pre compose after effects-22035018122019 ac9a5d92c9e9514fd6a468854d5d948566565411. картинка что такое pre compose after effects. картинка 22035018122019 ac9a5d92c9e9514fd6a468854d5d948566565411.

По этому же примеру сделайте Pre-compose для бургер-меню, композицию назовите Burger.

Давайте сверимся и посмотрим, как сейчас должна выглядеть ваша панель Timeline.

что такое pre compose after effects. 22034618122019 0f30954966fa3616f494036fbb56e158cd32cc31. что такое pre compose after effects фото. что такое pre compose after effects-22034618122019 0f30954966fa3616f494036fbb56e158cd32cc31. картинка что такое pre compose after effects. картинка 22034618122019 0f30954966fa3616f494036fbb56e158cd32cc31.

Если у вас всё так же, можете приступать к переносу блока фотографий-категорий и надписей к ним.

Чтобы закрепить предыдущий материал, анимацию фотографий будем делать с помощью масок.

Импортируйте в проект все необходимые фотографии. Создайте для них папку Photo и разместите их там.

что такое pre compose after effects. 22034718122019 db1d00c070e6bfe7b03adea86604a37f834a8066. что такое pre compose after effects фото. что такое pre compose after effects-22034718122019 db1d00c070e6bfe7b03adea86604a37f834a8066. картинка что такое pre compose after effects. картинка 22034718122019 db1d00c070e6bfe7b03adea86604a37f834a8066.

Включите видимость слоя с подложкой, если он был выключен; выберите фотографию, с которой хотите начать, и перенесите её на Timeline.

что такое pre compose after effects. 22034818122019 bd07ebf0cbab23142e5cd808d5dfd56dacaaa246. что такое pre compose after effects фото. что такое pre compose after effects-22034818122019 bd07ebf0cbab23142e5cd808d5dfd56dacaaa246. картинка что такое pre compose after effects. картинка 22034818122019 bd07ebf0cbab23142e5cd808d5dfd56dacaaa246.

Для лучшей подгонки нажмите

, чтобы развернуть рабочую зону на весь экран:

что такое pre compose after effects. 22035218122019 689fe6191fd51c70a317ded76fcecb8dff44a207. что такое pre compose after effects фото. что такое pre compose after effects-22035218122019 689fe6191fd51c70a317ded76fcecb8dff44a207. картинка что такое pre compose after effects. картинка 22035218122019 689fe6191fd51c70a317ded76fcecb8dff44a207.

После того как вы примерно подогнали фотографию (точную подгонку обеспечит маска), выберите инструмент Rectangle Tool и, не снимая с неё выделение, нарисуйте маску так, чтобы она чётко обозначила границы фотографии на подложке и обеспечила максимальную точность по макету.

С маской будет выглядеть так:

что такое pre compose after effects. 22034818122019 11c535a81148df46fd31a221d83fcc32d657cdb5. что такое pre compose after effects фото. что такое pre compose after effects-22034818122019 11c535a81148df46fd31a221d83fcc32d657cdb5. картинка что такое pre compose after effects. картинка 22034818122019 11c535a81148df46fd31a221d83fcc32d657cdb5.

Остальные фотографии формируются подобным образом: переносите на Timeline, грубо подгоняете на панели композиции и делаете финальную подгонку маской при выделенной фотографии.

Не забудьте про боковые фотографии, у которых должна быть прозрачность 10%. Чтобы настроить значение прозрачности, выберите эти фотографии на панели Timeline, нажмите клавишу T на клавиатуре или выберите Opacity из свойств слоя.

что такое pre compose after effects. 22034818122019 55fa2930c669547f39bdf4811612b72e20db9a93. что такое pre compose after effects фото. что такое pre compose after effects-22034818122019 55fa2930c669547f39bdf4811612b72e20db9a93. картинка что такое pre compose after effects. картинка 22034818122019 55fa2930c669547f39bdf4811612b72e20db9a93.

Про перенос шрифтовых элементов мы уже проговаривали чуть выше — по аналогии перенесите надписи к фотографиям. Единственное отличие от того же меню — в том, что надписи вертикальные. Чтобы развернуть текст на 90 градусов, точнее на –90, выберите нужный слой на Timeline, нажмите клавишу R, что означает Rotation, и укажите значение –90. Вот так:

что такое pre compose after effects. 22034718122019 65b4a51f9238bb54752a4e540ba32171f5b09774. что такое pre compose after effects фото. что такое pre compose after effects-22034718122019 65b4a51f9238bb54752a4e540ba32171f5b09774. картинка что такое pre compose after effects. картинка 22034718122019 65b4a51f9238bb54752a4e540ba32171f5b09774.

Все остальные надписи делаются точно так же.

Ручной перенос макета из Figma позволяет не только полностью контролировать и создавать правильно сформированные слои и их названия, но и прокачивать навыки работы с After Effects. Это особенно важно для новичков: вы на простых задачах тренируетесь использовать инструменты и набиваете руку.

Теперь, когда вы перенесли первый экран, выключите отображение подложки. Кликните на иконку глаза на панели Timeline и посмотрите, что получилось. Должны отображаться все блоки макета и элементы этих блоков: логотип, меню, бургер-меню, пять фотографий и надписи к ним, боковые фотографии должны иметь прозрачность 10%. Если у вас всё так, переходите к следующему шагу.

Вот что должно получиться после переноса первого экрана:

что такое pre compose after effects. 22035118122019 082a908e9ddfd390f503677c010f525a4d023fcd. что такое pre compose after effects фото. что такое pre compose after effects-22035118122019 082a908e9ddfd390f503677c010f525a4d023fcd. картинка что такое pre compose after effects. картинка 22035118122019 082a908e9ddfd390f503677c010f525a4d023fcd.

Второй экран будем переносить и формировать после того, как анимируем первый экран. По сути второй экран — это просто добавление двух фотографий и небольшого текстового блока.

Анимация первого экрана

Вся анимация с масками — это закрепление предыдущего урока и подводка к интересному эффекту, реализация которого позволит вам собрать лишнюю сотню лайков на Behance.

Анимация центрального блока с фотографиями

Выберите фотографию с подписью ѕ, раскройте стек свойств и выберите Masks — Mask 1 — Mask Patch. На панели Timeline переместитесь на нулевой кадр и нажмите на иконку секундомера, чтобы поставить ключевой кадр, затем переместите индикатор текущего времени на двадцать первый кадр и также поставьте ключевой кадр.

что такое pre compose after effects. 22034818122019 68b10686c7e5f4fd21d786a1986bab9736ebf362. что такое pre compose after effects фото. что такое pre compose after effects-22034818122019 68b10686c7e5f4fd21d786a1986bab9736ebf362. картинка что такое pre compose after effects. картинка 22034818122019 68b10686c7e5f4fd21d786a1986bab9736ebf362.

Далее выделите первый выставленный ключевой кадр и переместите маску фотографии вниз, как показано ниже.

что такое pre compose after effects. 22034618122019 708c0bd27c934cebc233f6fb9ee57098eefce354. что такое pre compose after effects фото. что такое pre compose after effects-22034618122019 708c0bd27c934cebc233f6fb9ee57098eefce354. картинка что такое pre compose after effects. картинка 22034618122019 708c0bd27c934cebc233f6fb9ee57098eefce354.

Нажмите пробел или ухватите индикатор текущего времени мышкой и передвиньте его между ключевыми кадрами, чтобы протестировать, что получилось:

что такое pre compose after effects. 22035218122019 ac01ee020f13c79723c0aea6c3c63d5dff940fd3. что такое pre compose after effects фото. что такое pre compose after effects-22035218122019 ac01ee020f13c79723c0aea6c3c63d5dff940fd3. картинка что такое pre compose after effects. картинка 22035218122019 ac01ee020f13c79723c0aea6c3c63d5dff940fd3.

Выделите оба кадра и нажмите F9 на клавиатуре, чтобы можно было настроить график Easy Ease и придать плавность анимации.

что такое pre compose after effects. 22034718122019 f53679f50d25ca8ed0dfac07fa198965060b1c7c. что такое pre compose after effects фото. что такое pre compose after effects-22034718122019 f53679f50d25ca8ed0dfac07fa198965060b1c7c. картинка что такое pre compose after effects. картинка 22034718122019 f53679f50d25ca8ed0dfac07fa198965060b1c7c.

Я настроил график так, чтобы анимация плавно затухала к окончанию движения.

что такое pre compose after effects. 22035018122019 c668f1f3266241de8cd09ebc166a0ffadbe6ca3f. что такое pre compose after effects фото. что такое pre compose after effects-22035018122019 c668f1f3266241de8cd09ebc166a0ffadbe6ca3f. картинка что такое pre compose after effects. картинка 22035018122019 c668f1f3266241de8cd09ebc166a0ffadbe6ca3f.

Теперь нужно сделать так, чтобы вторая фотография, которая находится справа, начинала движение именно тогда, когда первая почти прекратила своё. Анимироваться второе фото будет не снизу вверх, а слева направо.

что такое pre compose after effects. 22035018122019 d238bd95b0164751650e5c181f4af7b8c051a75d. что такое pre compose after effects фото. что такое pre compose after effects-22035018122019 d238bd95b0164751650e5c181f4af7b8c051a75d. картинка что такое pre compose after effects. картинка 22035018122019 d238bd95b0164751650e5c181f4af7b8c051a75d.

Третья фотография будет анимироваться по аналогии с двумя первыми, но только сверху вниз.

Выберите фотографию Switzerland на панели Timeline, в свойствах выберите Masks — Mask 1 — Mask Patch, перейдите на двадцатый кадр. Это на один кадр меньше, чем окончание движения анимации первой фотографии. Благодаря этому у зрителя возникнет ощущение, что первая фотография как бы создаёт предпосылки для движения второй.

На двадцатом кадре поставьте ключ, затем переместите индикатор текущего времени на девятый кадр второй секунды и установите ещё один ключевик. Вернитесь к первому кадру, выделите правые вершины маски и передвиньте их влево. Не забудьте про Easy Ease.

что такое pre compose after effects. 22034818122019 62777958cb1fa0485c7045d86c3ed98c58311d24. что такое pre compose after effects фото. что такое pre compose after effects-22034818122019 62777958cb1fa0485c7045d86c3ed98c58311d24. картинка что такое pre compose after effects. картинка 22034818122019 62777958cb1fa0485c7045d86c3ed98c58311d24.

Третью фотографию анимируйте самостоятельно. Как и в предыдущих примерах, по двум ключевым кадрам сдвигайте вершины маски у первого кадра в нужную сторону и настраивайте Easy Ease.

что такое pre compose after effects. 22035018122019 0a5ec3ac2acd16344a64800cf607ef2d8dbb7639. что такое pre compose after effects фото. что такое pre compose after effects-22035018122019 0a5ec3ac2acd16344a64800cf607ef2d8dbb7639. картинка что такое pre compose after effects. картинка 22035018122019 0a5ec3ac2acd16344a64800cf607ef2d8dbb7639.

Теперь нужно анимировать текст и две оставшиеся фотографии.

Анимация текста

Текст должен появляться постепенно, не перетягивать на себя внимание, а как бы мягко сопровождать движение фотографий.

Наименование страны будет появляться с помощью эффекта Slow Fade On, который находится на панели Effects & Presets — Animation Presets — Text — Animate In. Слой с цифрами анимируем с помощью эффекта Decoder Fade In, который находится там же.

что такое pre compose after effects. 22035218122019 62d7b361c58aadf0982709f42cb1618ed111c828. что такое pre compose after effects фото. что такое pre compose after effects-22035218122019 62d7b361c58aadf0982709f42cb1618ed111c828. картинка что такое pre compose after effects. картинка 22035218122019 62d7b361c58aadf0982709f42cb1618ed111c828.

Подробно ознакомиться со стандартными текстовыми эффектами можно в этой статье.

Пример анимации текста для первой фотографии:

что такое pre compose after effects. 22034618122019 c384d3e418c1562c1bbf0adfaf71efc497b93ffd. что такое pre compose after effects фото. что такое pre compose after effects-22034618122019 c384d3e418c1562c1bbf0adfaf71efc497b93ffd. картинка что такое pre compose after effects. картинка 22034618122019 c384d3e418c1562c1bbf0adfaf71efc497b93ffd.

Давайте разберём, как сделать такую анимацию и синхронизировать её с движением фотографии.

Выберите текстовый слой Iceland и перейдите на панель Effects & Presets, найдите эффект Slow Fade On в списке Animation Presets — Text. Перенесите этот эффект мышкой на текстовый слой.

что такое pre compose after effects. 22035118122019 6f8156a54ff3ab1d1e6a04ed97182d137dc61de6. что такое pre compose after effects фото. что такое pre compose after effects-22035118122019 6f8156a54ff3ab1d1e6a04ed97182d137dc61de6. картинка что такое pre compose after effects. картинка 22035118122019 6f8156a54ff3ab1d1e6a04ed97182d137dc61de6.

Следующим шагом нужно настроить ключевые кадры этого слоя так, чтобы текст появлялся вместе с фотографией. Для этого перейдите в свойства этого слоя, выберите Text — Animator 1 — Range Selector 1 и перенесите первый ключевик на двенадцатый кадр, а второй — на третий кадр второй секунды.

что такое pre compose after effects. 22035218122019 6c5eab5cd247b7de717164f8f589c145fe087ee1. что такое pre compose after effects фото. что такое pre compose after effects-22035218122019 6c5eab5cd247b7de717164f8f589c145fe087ee1. картинка что такое pre compose after effects. картинка 22035218122019 6c5eab5cd247b7de717164f8f589c145fe087ee1.

Затем выберите слой с цифрой и примените к нему эффект Decoder Fade In, настройте ключевые кадры свойства Text — Animator 1 — Range Selector 1: первый ключевой кадр на втором кадре второй секунды, второй ключевой кадр на девятнадцатом кадре второй секунды.

что такое pre compose after effects. 22035118122019 3faa4406755960bd6ebc763637238ba125fe15c7. что такое pre compose after effects фото. что такое pre compose after effects-22035118122019 3faa4406755960bd6ebc763637238ba125fe15c7. картинка что такое pre compose after effects. картинка 22035118122019 3faa4406755960bd6ebc763637238ba125fe15c7.

Когда вы проделаете эти манипуляции со всеми фотографиями, смещая кадры относительно конкретной фотографии, должно получиться так:

что такое pre compose after effects. 22034618122019 b0db57166028d10b861a6ceedc3e58d5dd8b10d0. что такое pre compose after effects фото. что такое pre compose after effects-22034618122019 b0db57166028d10b861a6ceedc3e58d5dd8b10d0. картинка что такое pre compose after effects. картинка 22034618122019 b0db57166028d10b861a6ceedc3e58d5dd8b10d0.

Следующим шагом нужно анимировать боковые фотографии и текст к ним.

Они анимируются по тому же принципу, что и предыдущие фотографии, — с помощью маски. Анимация фотографий начинается по окончании движения последней фотографии основного блока Norway. Левая фотография двигается справа налево, правая — слева направо.

что такое pre compose after effects. 22034718122019 c55402b64e43a7be0be0b90a07d8c73d4e85a0c9. что такое pre compose after effects фото. что такое pre compose after effects-22034718122019 c55402b64e43a7be0be0b90a07d8c73d4e85a0c9. картинка что такое pre compose after effects. картинка 22034718122019 c55402b64e43a7be0be0b90a07d8c73d4e85a0c9.

Выберите фотографии Spain и France, переместите индикатор текущего времени на вторую секунду (на этой секунде заканчивается анимация основной композиции, состоящая из трёх фотографий), нажмите клавишу T (Opacity) на клавиатуре и поставьте ключевой кадр со значением 0%. Затем перейдите на девятнадцатый кадр третьей секунды и установите ключевой кадр там со значением прозрачности 10%. Получилась анимация прозрачности по двум ключевым кадрам от 0% к 10%.

что такое pre compose after effects. 22035018122019 b59512c045ea49005705d46b86a65dd12837fb83. что такое pre compose after effects фото. что такое pre compose after effects-22035018122019 b59512c045ea49005705d46b86a65dd12837fb83. картинка что такое pre compose after effects. картинка 22035018122019 b59512c045ea49005705d46b86a65dd12837fb83.

Анимация прозрачности боковых фотографий готова.

что такое pre compose after effects. 22035218122019 f57fcb456bccc8b31454e75408713d2d8dd194fe. что такое pre compose after effects фото. что такое pre compose after effects-22035218122019 f57fcb456bccc8b31454e75408713d2d8dd194fe. картинка что такое pre compose after effects. картинка 22035218122019 f57fcb456bccc8b31454e75408713d2d8dd194fe.

Теперь нужно настроить анимацию маски. Выделите фотографию France, в свойствах выберите Masks — Mask 1 — Mask Patch, перейдите на вторую секунду и установите ключевой кадр. Затем передвиньте индикатор текущего времени на двадцатый кадр третьей секунды и поставьте ещё один ключевой кадр.

что такое pre compose after effects. 22035318122019 98e0fd38c2675f2a80b9f4fc30a0534a9d61b92a. что такое pre compose after effects фото. что такое pre compose after effects-22035318122019 98e0fd38c2675f2a80b9f4fc30a0534a9d61b92a. картинка что такое pre compose after effects. картинка 22035318122019 98e0fd38c2675f2a80b9f4fc30a0534a9d61b92a.

Вернитесь к первому ключевику и передвиньте две крайние вершины маски влево так, чтобы исчезла фотография.

что такое pre compose after effects. 22034618122019 f0646c625095b49e4e4c41332dd1408112ad8d69. что такое pre compose after effects фото. что такое pre compose after effects-22034618122019 f0646c625095b49e4e4c41332dd1408112ad8d69. картинка что такое pre compose after effects. картинка 22034618122019 f0646c625095b49e4e4c41332dd1408112ad8d69.

Не забудьте настроить Easy Ease: выделите ключевые кадры и нажмите F9, чтобы анимация была более плавной.

Тоже самое проделайте с фотографией Spain. Настройте появление текста самостоятельно, его анимация делается точно так же, как мы делали ранее.

Напомню последовательность действий для анимации текста: перейдите на панель Effects & Presets, раскройте список Animation Presets — Text — Animate In и выберите эффект Slow Fade On. Мышкой перенесите эффект на текст, затем перейдите в свойство текста Text — Animator 1 — Range Selector 1 и настройте ключевые кадры так, чтобы эффект появления текста совпадал с появлением фотографии.

Вот что получилось.

что такое pre compose after effects. 22034818122019 d1e568c6e47ae666888bce422ce3f3d917aab539. что такое pre compose after effects фото. что такое pre compose after effects-22034818122019 d1e568c6e47ae666888bce422ce3f3d917aab539. картинка что такое pre compose after effects. картинка 22034818122019 d1e568c6e47ae666888bce422ce3f3d917aab539.

Следующим шагом создадим курсор мыши, его анимацию и траекторию движения для перехода на второй экран.

Создание и анимация курсора

Создание курсора

Создайте новую композицию и назовите её Cursor.

что такое pre compose after effects. 22035118122019 68ec74a58807b6039e5ce1f9915704dfda25812a. что такое pre compose after effects фото. что такое pre compose after effects-22035118122019 68ec74a58807b6039e5ce1f9915704dfda25812a. картинка что такое pre compose after effects. картинка 22035118122019 68ec74a58807b6039e5ce1f9915704dfda25812a.

Напомню, что композицию можно создать четырьмя способами:

1. Через верхнее меню, выберите Composition — New Composition.

что такое pre compose after effects. 22035218122019 dfe88107d4dc005bd52e35f6d1f6c2c6b1ac6120. что такое pre compose after effects фото. что такое pre compose after effects-22035218122019 dfe88107d4dc005bd52e35f6d1f6c2c6b1ac6120. картинка что такое pre compose after effects. картинка 22035218122019 dfe88107d4dc005bd52e35f6d1f6c2c6b1ac6120.

2. Через контекстное меню на панели проекта, нажмите правой кнопкой мыши и выберите New Composition.

что такое pre compose after effects. 22034618122019 395ac55f9d2bdf7b2eaa249aca1918774fc91ed3. что такое pre compose after effects фото. что такое pre compose after effects-22034618122019 395ac55f9d2bdf7b2eaa249aca1918774fc91ed3. картинка что такое pre compose after effects. картинка 22034618122019 395ac55f9d2bdf7b2eaa249aca1918774fc91ed3.

3. Через иконку внизу панели проекта Create a New Composition.

что такое pre compose after effects. 22034718122019 88b521f5a9cf8a283c41a04c9818011c30860cdf. что такое pre compose after effects фото. что такое pre compose after effects-22034718122019 88b521f5a9cf8a283c41a04c9818011c30860cdf. картинка что такое pre compose after effects. картинка 22034718122019 88b521f5a9cf8a283c41a04c9818011c30860cdf.

4. Через сочетание горячих клавиш, нажмите Ctrl + N.

Вернемся к созданию курсора мыши. После того как вы создали композицию с рабочей зоной 80 px, перейдите на панель инструментов, выберите Ellipse Tool и нарисуйте круг.

что такое pre compose after effects. 22035218122019 3f8f61f79958339234334be982da600867c21e07. что такое pre compose after effects фото. что такое pre compose after effects-22035218122019 3f8f61f79958339234334be982da600867c21e07. картинка что такое pre compose after effects. картинка 22035218122019 3f8f61f79958339234334be982da600867c21e07.

Обводку поставьте 10 px, цвет белый, цвет заливки #799CC4, прозрачность заливки 40%.

что такое pre compose after effects. 22034718122019 03cf79135f4779127c709c3f53c2bad793496501. что такое pre compose after effects фото. что такое pre compose after effects-22034718122019 03cf79135f4779127c709c3f53c2bad793496501. картинка что такое pre compose after effects. картинка 22034718122019 03cf79135f4779127c709c3f53c2bad793496501.

Теперь сделаем симуляцию нажатия. Для этого нажмите клавишу S, тем самым выбрав свойство Scale. Переместите индикатор текущего времени на нулевой кадр и установите там ключевой кадр, на втором и шестом кадре также установите ключевики. На втором кадре задайте значение 60%. Выделите все ключевые кадры и нажмите F9 Easy Ease.

что такое pre compose after effects. 22034818122019 7569c0596d6cc5392d650a474fcb363efeeebb15. что такое pre compose after effects фото. что такое pre compose after effects-22034818122019 7569c0596d6cc5392d650a474fcb363efeeebb15. картинка что такое pre compose after effects. картинка 22034818122019 7569c0596d6cc5392d650a474fcb363efeeebb15.

Переставьте индикатор текущего времени на двадцатый кадр и нажмите клавишу N; тем самым вы отсечёте неиспользованные кадры. Это поможет при тестировании не выжидать весь промежуток времени, указанный в композиции.

что такое pre compose after effects. 22035018122019 0a4a3bf12c308d0b4f7f4cdb6f3d06e1234587ea. что такое pre compose after effects фото. что такое pre compose after effects-22035018122019 0a4a3bf12c308d0b4f7f4cdb6f3d06e1234587ea. картинка что такое pre compose after effects. картинка 22035018122019 0a4a3bf12c308d0b4f7f4cdb6f3d06e1234587ea.

Теперь нажмите пробел, чтобы протестировать анимацию курсора мыши.

что такое pre compose after effects. 22035018122019 7434529a591f8c0960e440e1dab68f24dfbc7fa5. что такое pre compose after effects фото. что такое pre compose after effects-22035018122019 7434529a591f8c0960e440e1dab68f24dfbc7fa5. картинка что такое pre compose after effects. картинка 22035018122019 7434529a591f8c0960e440e1dab68f24dfbc7fa5.

Следующим шагом настроим траекторию перемещения курсора на второй экран.

Для этого перейдите в композицию Travel-interface и переместите композицию Cursor с панели проекта на панель Timeline выше всех слоёв.

что такое pre compose after effects. 22035318122019 5ecb1bf93c9ddd89ea3504c76fed094e310d783b. что такое pre compose after effects фото. что такое pre compose after effects-22035318122019 5ecb1bf93c9ddd89ea3504c76fed094e310d783b. картинка что такое pre compose after effects. картинка 22035318122019 5ecb1bf93c9ddd89ea3504c76fed094e310d783b.

Переключаться на второй экран будем через фотографию France — это полупрозрачная фотография справа.

что такое pre compose after effects. 22034718122019 999812ce5fd1de4b615414bafbd93db5772fddd1. что такое pre compose after effects фото. что такое pre compose after effects-22034718122019 999812ce5fd1de4b615414bafbd93db5772fddd1. картинка что такое pre compose after effects. картинка 22034718122019 999812ce5fd1de4b615414bafbd93db5772fddd1.

Идея такая: когда наводим курсор на фотографию, она становится ярче, текст исчезает, на некоторое время курсор замирает, а затем происходит симуляция нажатия курсора.

В реальности курсор может появляться откуда угодно, мы же анимируем его появление с нижней части экрана.

Сначала настроим яркость фотографии, симулируя наведение на неё курсора.

Выберите слой France и нажмите клавишу T для активации свойства Opacity, перейдите на двадцать пятый кадр пятой секунды, затем на шестую секунду и установите там ключевые кадры. Укажите значение 100% для кадра на шестой секунде. Получилась анимация яркости по двум ключевым кадрам.

что такое pre compose after effects. 22034818122019 04bb1e2ab6aaf3178cfee86089d1386a14f1cf30. что такое pre compose after effects фото. что такое pre compose after effects-22034818122019 04bb1e2ab6aaf3178cfee86089d1386a14f1cf30. картинка что такое pre compose after effects. картинка 22034818122019 04bb1e2ab6aaf3178cfee86089d1386a14f1cf30.

Затем настроим исчезновение текста. Выберите слой с нужным текстом, перейдите к свойству Text — Animator 1 — Range Selector 1, скопируйте ключевые кадры, которые отвечают за появление текста (Ctrl + C), и вставьте их (Ctrl + V) на двадцать втором кадре пятой секунды.

что такое pre compose after effects. 22035218122019 ae7b78cae03d2a3fc76b56094d04d79616ced2e1. что такое pre compose after effects фото. что такое pre compose after effects-22035218122019 ae7b78cae03d2a3fc76b56094d04d79616ced2e1. картинка что такое pre compose after effects. картинка 22035218122019 ae7b78cae03d2a3fc76b56094d04d79616ced2e1.

Выделите вставленные кадры и нажмите правой кнопкой мыши на одном из них, в контекстном меню выберите пункт Keyframe Assistant — Time Reverse Keyframes (воспроизведение ключевых кадров в обратном направлении). До этого ключевые кадры воспроизводились так, чтобы текст появлялся, теперь он будет исчезать.

что такое pre compose after effects. 22035018122019 8128f36f263fecf8a32480894f48982f52c869a3. что такое pre compose after effects фото. что такое pre compose after effects-22035018122019 8128f36f263fecf8a32480894f48982f52c869a3. картинка что такое pre compose after effects. картинка 22035018122019 8128f36f263fecf8a32480894f48982f52c869a3.

Смотрим на результат.

что такое pre compose after effects. 22035218122019 c5af2c3fa205077b3824a3c1b3199ba98874f456. что такое pre compose after effects фото. что такое pre compose after effects-22035218122019 c5af2c3fa205077b3824a3c1b3199ba98874f456. картинка что такое pre compose after effects. картинка 22035218122019 c5af2c3fa205077b3824a3c1b3199ba98874f456.

С этим разобрались, идём дальше.

Траектория курсора

Выберите слой с курсором, передвиньте курсор, как показано на скриншоте, за пределы нижней границы макета.

что такое pre compose after effects. 22035218122019 99e0f720eac9d65e10f793f14a2efc31b3e892a4. что такое pre compose after effects фото. что такое pre compose after effects-22035218122019 99e0f720eac9d65e10f793f14a2efc31b3e892a4. картинка что такое pre compose after effects. картинка 22035218122019 99e0f720eac9d65e10f793f14a2efc31b3e892a4.

Не снимая выделение со слоя курсора, нажмите клавишу P, чтобы активировать свойство Position. Поставьте ключевой кадр на двадцать втором кадре пятой секунды (я провел несколько пробных тестов, пока понял, что именно с этого кадра нужно начинать).

Теперь нужно подобрать временное значение курсора так, чтобы при его наведении на фотографию она меняла яркость. Для этого переместите индикатор текущего времени на двенадцатый кадр шестой секунды и установите там ещё один ключевой кадр для курсора. Передвиньте курсор на фотографию.

Траектория движения курсора:

что такое pre compose after effects. 22035218122019 fb311e1cecb8d8d47c3d316c6c0fcaae7e211d39. что такое pre compose after effects фото. что такое pre compose after effects-22035218122019 fb311e1cecb8d8d47c3d316c6c0fcaae7e211d39. картинка что такое pre compose after effects. картинка 22035218122019 fb311e1cecb8d8d47c3d316c6c0fcaae7e211d39.

Теперь курсор движется так:

что такое pre compose after effects. 22035118122019 ac4edc42a8fb79738ee0594f0149dc3336e4952d. что такое pre compose after effects фото. что такое pre compose after effects-22035118122019 ac4edc42a8fb79738ee0594f0149dc3336e4952d. картинка что такое pre compose after effects. картинка 22035118122019 ac4edc42a8fb79738ee0594f0149dc3336e4952d.

Получилось почти как надо: при появлении курсора картинка становится ярче, а текст исчезает. Теперь нужно синхронизировать анимацию нажатия курсора. Как вы помните, в композиции курсора мы настроили ключевые кадры так, чтобы анимация начиналась с нулевого кадра, но уже сейчас анимация всей сцены находится на пятой секунде временной шкалы; значит, нужно переместить ключевые кадры курсора примерно к пятой секунде.

Expressions — язык выражений After Effects. Нужны выражения для автоматизации и ускорения работы. Все доступные выражения можно посмотреть в официальном справочнике.

Перейдите в композицию Cursor, выделите все ключевые кадры в свойстве Scale и переместите их на десятый кадр седьмой секунды. Теперь симуляция нажатия курсора будет происходить в нужный нам момент.

Должно получиться вот так:

что такое pre compose after effects. 22034918122019 29bdb22f5e07790529970a015b0e7f44bebba99d. что такое pre compose after effects фото. что такое pre compose after effects-22034918122019 29bdb22f5e07790529970a015b0e7f44bebba99d. картинка что такое pre compose after effects. картинка 22034918122019 29bdb22f5e07790529970a015b0e7f44bebba99d.

Подготовка анимации второго экрана

Чтобы анимировать второй экран, его нужно сначала перенести из редактора Figma. Но по сути второй экран — это две дополнительные фотографии и два слоя с текстом, поэтому я не стал создавать для них отдельную композицию, а разместил в той же композиции, где находится первый экран, — Travel-interface. Перед тем как добавлять новые элементы, давайте разберёмся с переходом и элементами первого экрана.

Чтобы получить плавный переход с первого экрана на второй, нужно, чтобы элементы первого экрана не просто резко исчезали, а повторили плавную анимацию появления, только в обратном порядке. Мы такое недавно проделывали с текстом на фотографии France. Давайте повторим на примере основного блока фотографий.

Выберите фотографию Norway и нажмите клавишу M, тем самым вы активируете свойство Mask Path. Скопируйте ключевые кадры появления фотографии (Ctrl + C), переместите индикатор текущего времени на шестнадцатый кадр седьмой секунды и вставьте эти кадры (Ctrl + V).

что такое pre compose after effects. 22035018122019 af1316479c2a3b7f00af88db42373ce8f5fc2bcd. что такое pre compose after effects фото. что такое pre compose after effects-22035018122019 af1316479c2a3b7f00af88db42373ce8f5fc2bcd. картинка что такое pre compose after effects. картинка 22035018122019 af1316479c2a3b7f00af88db42373ce8f5fc2bcd.

Теперь выделите вставленные кадры и на одном из них нажмите правой кнопкой мыши. В контекстном меню выберите Keyframe Assistant — Time Reverse Keyframes (воспроизведение ключевых кадров в обратном направлении).

Анимация исчезновения элементов должна происходить, по моему мнению, несколько быстрее, чем анимация появления, поэтому я передвинул второй кадр чуть ближе к первому.

что такое pre compose after effects. 22034718122019 630ebb99b605df8553fdab4b7cdc3e86fb4cb259. что такое pre compose after effects фото. что такое pre compose after effects-22034718122019 630ebb99b605df8553fdab4b7cdc3e86fb4cb259. картинка что такое pre compose after effects. картинка 22034718122019 630ebb99b605df8553fdab4b7cdc3e86fb4cb259.

Все остальные элементы, в том числе и текст, анимируются подобным образом.

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *