EyeNeRF: A Hybrid Representation for Photorealistic Synthesis, Animation and Relighting of Human Eyes

Gengyan Li, Abhimitra Meka, Franziska Müller, Marcel C. Bühler, Otmar Hilliges

Introduction

Creating realistic digital humans remains one of the most significant challenges in computer graphics, and the eyes—often called the "windows to the soul"—are frequently the point where the illusion fails. The periocular region presents a unique convergence of physical complexities: transparent refractive surfaces, scattering in the sclera, fine hair structures like eyelashes, and non-linear skin deformations.

EyeNeRF introduces a hybrid 3D representation designed to overcome these hurdles. By combining explicit mesh geometry with implicit neural radiance fields (NeRF), the system enables the synthesis of photorealistic, animatable, and relightable human eyes that outperform existing volumetric and mesh-only baselines.

The Challenge of Eye Modeling

The human eye region is difficult to model because it encompasses several distinct optical and physical phenomena in a very small area:

  1. Complex Optics: The cornea acts as a transparent, refractive lens, while the sclera (the white of the eye) exhibits complex light scattering.
  2. Diverse Material Properties: Models must simultaneously handle the wet, highly reflective surface of the eye alongside the matte, porous texture of the skin and the sub-pixel geometry of eyelashes.
  3. Dynamic Deformation: As the eye moves (re-gazing), the surrounding eyelids and skin deform in a complex, non-rigid manner.

Traditional methods typically struggle with this variety. Mesh-based models excel at representing rigid geometry and sharp reflections but fail to capture the fine details of hair and skin wrinkles. Conversely, pure NeRF models are excellent at volumetric details but often struggle to represent the sharp, physically accurate reflections and refractions necessary for a convincing eye.

Methodology: A Hybrid Approach

EyeNeRF addresses these challenges by assigning specific modeling tools to the tasks they are best suited for:

Explicit Eyeball Model

The system utilizes a parametric mesh based on the LeGrand eye model to represent the eyeball surface. This explicit geometry allows the system to use standard ray-tracing and Snell’s Law to calculate how light refracts into the iris and reflects off the cornea. This ensures that the most visually critical aspect of the eye—its reflectivity—is physically grounded.

Implicit Periocular Model (NeRF-SHL)

For the surrounding skin, eyelashes, and the interior of the eye, EyeNeRF employs a modified Neural Radiance Field. To handle movement, the authors incorporate a "warp field" (inspired by Nerfies) that transforms points from a moving frame into a static "canonical" space. This allows the model to learn a consistent representation of the subject's anatomy regardless of their gaze direction.

Relighting via Spherical Harmonics

To enable environmental relighting, the NeRF does not simply output a static color. Instead, it predicts Spherical Harmonics (SH) coefficients for both diffuse and specular reflectance at every 3D point. By multiplying these coefficients with the environment's lighting in the frequency domain, the system can compute final colors under novel lighting conditions in a mathematically tractable way, capturing high-frequency effects like self-shadowing on the skin.

Data Acquisition and Training

Because no existing dataset provided the necessary combination of multi-view, multi-light, and multi-gaze data, the authors developed a custom capture rig. The hardware setup included four high-quality static 4K cameras arranged in a diamond configuration, eight static LED lights, and a handheld GoPro with a co-located LED for additional coverage.

Subjects were recorded for approximately 40 minutes under various conditions, including following a moving camera with their gaze and rotating their head while maintaining a fixed gaze. From this data, roughly 580 training frames per subject were extracted, with head poses tracked via AR tags.

Key Insights

  • Network Disconnection: A critical technical detail is the "disconnect" implemented during the final training stage. For points inside the eyeball, the system zeros out certain network connections. This forces the model to rely on the explicit geometry for reflections, preventing the NeRF from "cheating" by baking reflections into the volumetric field.
  • Joint Optimization: The system refines the eyeball's 3D shape and position during training. Starting from a rough manual estimate, it uses photometric loss to "shrink-wrap" the mesh to the subject's specific anatomical dimensions.

Results and Performance

EyeNeRF was evaluated against pure NeRF models and state-of-the-art gaze redirection methods. Quantitatively, EyeNeRF consistently achieved the lowest Mean Squared Error (MSE) and highest Structural Similarity Index (SSIM) across novel view synthesis, re-gazing, and relighting tasks.

Qualitatively, the model successfully disentangles albedo (base color) from shading. It can synthesize extreme gaze angles that appear natural, whereas previous methods often suffered from "ghosting" artifacts or loss of subject identity. The environmental relighting is particularly effective, producing sharp, accurate reflections of new environments on the wet surface of the eye.

Limitations and Future Work

While EyeNeRF represents a significant step forward, several limitations remain:

  • Capture and Computation: The 40-minute capture protocol and specific rig requirements make it impractical for "in-the-wild" applications. Furthermore, training takes approximately four days on eight high-end GPUs, and rendering is not yet real-time.
  • Dynamic Details: The current model does not account for pupil dilation or the subtle deformation of the conjunctiva (the white of the eye) during rotation.
  • Skin Specularity: While eye reflections are sharp, the skin's specular highlights can appear slightly blurred due to the limited order of Spherical Harmonics used.

Conclusion

EyeNeRF demonstrates that a hybrid approach—combining the physical accuracy of explicit meshes with the flexibility of neural volumes—is a powerful strategy for modeling the complex human eye. By explicitly modeling refraction and reflection while using NeRF for soft tissues and hair, it sets a new standard for photorealistic eye synthesis and relighting.

Summary updated

BibTeX
@article{li2022eyenerf,
  author = {Gengyan Li and Abhimitra Meka and Franziska Müller and Marcel C. Bühler and Otmar Hilliges},
  title = {{EyeNeRF: A Hybrid Representation for Photorealistic Synthesis, Animation and Relighting of Human Eyes}},
  journal = {ACM Trans. Graphics},
  year = {2022},
}
Figure