|
|
About precomposing and nestingIf 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 nestingPrecomposing and nesting are useful for managing
and organizing complex compositions. By precomposing and nesting,
you can do the following:
For example, you can use nesting to make a planet both rotate and revolve (moving like the Earth, which spins on its own axis and also travels around the Sun). To create such a system, animate the Rotation property of the planet layer, precompose that layer, modify the Anchor Point property of the precomposition layer, and then animate the Rotation property of the precomposition layer. Preferences and composition settings that affect nested compositionsBecause 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 nestingAngie Taylor provides an extensive discussion and explanation of animation using nesting, parenting, expressions, and null object layers in a PDF excerpt from her book Creative After Effects 7: Workflow Techniques for Animation, Visual Effects, and Motion Graphics. Trish and Chris Meyer provide an introduction to precomposing and nesting in a PDF excerpt from the “Parenting and Nesting” chapter of their book After Effects Apprentice: Real-World Skills for the Aspiring Motion Graphics Artist. |