What started out as a set of simple plug-ins for After Effects has developed into a complex shading and lighting solution over the years — the software is no longer limited to mere diffuse or specular lighting: It currently includes support for fake reflections, refractions, subsurface-scattering, screen-space ambient occlusion and even a very simplified global illumination model, many of which were used during the production of A Night at the Cathedral. Thanks to these tools our render times were only a fraction of what a full 3D raytracing renderer would have required.

Wireframe showing how the cathedral was split into several independent parts
While part of the team was busy animating and shading characters, others began creating background mattes for all 30 shots, which meant modeling a medieval cathedral and its surroundings from the ground up. Obviously a cathedral and its interior is an enormous and highly detailed scene which can be quite a burden even on state-of-the-art soft– and hardware. Consequently the polygon count for individual objects was kept as low as possible.
To make working with this 12.000.000 polygon scene bearable, we split the cathedral up into more than a dozen blocks, each pertaining to a specific area and which could be imported on a shot-by-shot basis.
Wherever it made sense, instancing was used in order reduce the scene’s memory footprint: For example, the side of the cathedral is comprised of a dozen identical instances of a single wall piece that are automatically repeated and thereby save a lot of memory. The same is true for benches, stained-glass windows, chandeliers and many other complex details inside the building.

PANDA was used to generate the non-photorealistic look on our 3D models
Both the cathedral model and textures are basic in terms techniques applied — just clean polygon meshes and medium resolution textures including diffuse, bump– and normal-maps. Our trick to creating the painterly backgrounds seen in the film was Studio Lampion’s proprietary non-photorealistic 2.5D renderer, PANDA (Paint AND Automate). This tool automatically repaints scenes using actual strokes painted by an artist by converting the location and direction of these 2D brush strokes into actual 3D space. It thereby becomes possible to automatically repaint the scene from arbitrary perspectives. The brush strokes remain coherent over time to avoid the noisy flickering effect simpler 2D paint solutions may exhibit.

Background rendered with PANDA with additional 2D details
After having PANDA create a painterly base for a shot, we brought these background layers into Photoshop for basic cleanup and adding additional detail in 2D. Often reference photos of statues and ornaments we had taken in castles and churches during the pre-production phase were used to embellish the background mattes by first extracting a normal-map from the photo and then conforming the colors and overall lighting to the background environment’s.
Finally, everything was brought together in After Effects where we added special effects such as fire, snow and fog to the shots and integrated characters and backgrounds by making the lighting match using Normality.
The production of A Night at the Cathedral was finished in November ’08 after about eleven months of work. Studio Lampion is currently refining certain elements of the film based on the feedback we received from our screening audiences.
Article first published in 3D Artist magazine.