Following on from my Character Animation Walk Cycle post, the character animation After Effects composition was placed as a layer in a new composition. This will be used to place the walking character in a 3D layered environment with a camera move and lighting effects.
Time remapping is enabled for the character animation nested composition and a loop expression is added to loop the animation
loopOut(type = "cycle", numKeyframes = 0)
Solid layers are created for the floor and background and all layers are enabled for 3D. The floor and background layers are then adjusted and positioned in Z space.
A light layer (spot light) is added with ‘casts shadows’ enabled and the ‘Character animation’ comp layer > material options > casts shadows is set to ‘on’.
A camera layer is added and the camera animated to zoom into the composition over the course of the animation.
Building assets are imported and added to timeline as 3D layers along with other assets, such as the clouds, moon and street lamp. The ‘accepts shadows’ setting is switched off on layers as appropriate.