Abstract
We propose an efficient self-shadowing illumination model for Morphable Models. Simulating self-shadowing with ray casting is computationally expensive, making it impractical in Analysis-by-Synthesis methods for object reconstruction from single images. Therefore, we propose to learn self-shadowing for Morphable Model parameters directly with a linear model. Radiance transfer functions are a powerful way to represent self-shadowing used within the precomputed radiance transfer framework (PRT). We build on PRT to render deforming objects with self-shadowing at interactive frame rates. It can be illuminated efficiently by environment maps represented with spherical harmonics. The result is an efficient global illumination method for Morphable Models, exploiting an approximated radiance transfer. We apply the method to fitting Morphable Model parameters to a single image of a face and demonstrate that considering self-shadowing improves shape reconstruction.
Introduction
3D Morphable Models (MMs) are a cornerstone of modern computer vision, particularly for reconstructing 3D facial geometry from 2D images. However, a significant limitation of standard MMs is their "shadow-blindness." Most models assume a local lighting environment where light reaches every surface point uniformly, neglecting the complex self-shadowing cast by features like the nose, brow, or wrinkles.
While global illumination techniques such as ray-casting can accurately simulate these shadows, they are computationally prohibitive for real-time applications. In Analysis-by-Synthesis loops—where model parameters are iteratively adjusted to match an input image—recalculating shadows via ray-casting at every step is unfeasible. This work introduces MoMo-PRT, a method that bridges the gap between the realism of global illumination and the speed required for interactive reconstruction.
Methodology: Learning the Linear Shortcut
The core innovation of MoMo-PRT lies in approximating complex physical shadowing through a learned linear mapping. The approach is built upon the Precomputed Radiance Transfer (PRT) framework, which uses a "transfer matrix" to represent how surface points interact with light. While PRT typically requires expensive re-calculation of this matrix whenever a shape deforms, the authors leverage the linear nature of Morphable Models (often based on PCA) to simplify this process.
Model Building
The training phase involves "pre-baking" shadows for a diverse set of face shapes. The researchers generated 600 random face shapes and computed high-quality radiance transfer matrices using traditional ray-casting. They then applied multivariate linear regression to solve for a weight matrix $W$ that maps the Morphable Model’s shape parameters ($\theta$) directly to the transfer matrices ($T$).
Efficient Rendering
Once the mapping $W$ is learned, estimating shadows for a new shape $\theta'$ becomes a simple matrix multiplication: $T' = W\theta'$. This estimated transfer matrix allows for rapid rendering under environment maps represented by Spherical Harmonics. This decoupling of expensive physics from the rendering loop enables global illumination effects at interactive speeds.
Additionally, the authors addressed "double-shadowing" by developing a texture correction method. Since original face scans often have shadows baked into their diffuse textures, they "un-shaded" these textures to ensure that the newly calculated shadows do not overlap with pre-existing ones.
Evaluation and Results
The model was evaluated using the Basel Face Model (BFM) as the underlying 3D structure. Real-world performance was tested on the Labeled Faces in the Wild (LFW) and Annotated Facial Landmarks in the Wild (AFLW) datasets, while synthetic data provided ground-truth comparisons for quantitative analysis.
Performance and Accuracy
MoMo-PRT achieves a staggering 685x speedup compared to full PRT simulation via ray-casting. Despite this massive reduction in computation, the linear approximation remains highly accurate, maintaining an error rate of less than 1.5% relative to ground-truth ray-traced shadows.
Reconstruction Quality
The inclusion of self-shadowing provides critical depth cues that improve the accuracy of 3D reconstruction. In synthetic tests, the shape reconstruction error was reduced from 2.51mm (using local lighting) to 2.12mm with MoMo-PRT. Qualitatively, the model captures subtle details like the deepening of nasolabial folds in older faces, which are often flattened by simpler lighting models.
Discussion and Future Work
A key insight of this research is that self-shadowing is "smooth" within the shape space of human faces. Because facial deformations are relatively constrained, a linear model can effectively capture the resulting shadow variations. By making global illumination "cheap," the authors have enabled its use in optimization-heavy tasks like image fitting.
However, some limitations remain. The current model assumes Lambertian (matte) surfaces and does not account for specularity or subsurface scattering. Furthermore, the use of Spherical Harmonics is best suited for low-frequency, "soft" environmental lighting rather than sharp shadows from point sources. Future iterations might explore non-linear mappings, such as neural networks, to better handle extreme geometries or more complex material properties.
Summary updated