MEGANE: Morphable Eyeglass and Avatar Network

1Australian National University, 2Meta Reality Labs Research
CVPR 2023



Eyeglasses play an important role in the perception of identity. Authentic virtual representations of faces can benefit greatly from their inclusion. However, modeling the geometric and appearance interactions of glasses and the face of virtual representations of humans is challenging. Glasses and faces affect each other's geometry at their contact points, and also induce appearance changes due to light transport. Most existing approaches do not capture these physical interactions since they model eyeglasses and faces independently. Others attempt to resolve interactions as a 2D image synthesis problem and suffer from view and temporal inconsistencies. In this work, we propose a 3D compositional morphable model of eyeglasses that accurately incorporates high-fidelity geometric and photometric interaction effects. To support the large variation in eyeglass topology efficiently, we employ a hybrid representation that combines surface geometry and a volumetric representation. Unlike volumetric approaches, our model naturally retains correspondences across glasses, and hence explicit modification of geometry, such as lens insertion and frame deformation, is greatly simplified. In addition, our model is relightable under point lights and natural illumination, supporting high-fidelity rendering of various frame materials, including translucent plastic and metal within a single morphable model. Importantly, our approach models global light transport effects, such as casting shadows between faces and glasses. Our morphable model for eyeglasses can also be fit to novel glasses via inverse rendering. We compare our approach to state-of-the-art methods and demonstrate significant quality improvements.

Training of the Model

Here, we show a example video of how our model is trained from scratch. Our model started from three plane-like structure on face. Once trained, the geometry detailed of the eyeglasses is well reconstructed.

Interpolate Between Eyeglasses

Our method supports the interpolation between eyeglasses.


Our eyeglasses model is relightable. Here we show the face and eyeglasses being relit with a point light source.

Eyeglasses Lens Insertion

Our model supports lens insertion with realistic refraction and reflection effects.

Eyeglasses Lens Insertion (Rotation)

Few-shot Fitting on Unseen Eyeglasses

Once trained, given as few as ten uniformly lit images, our method can reconstruct unseen eyeglasses with realistic relighting results.


  author    = {Li, Junxuan and Saito, Shunsuke and Simon, Tomas and Lombardi, Stephen and Li, Hongdong and Saragih, Jason},
  title     = {MEGANE: Morphable Eyeglass and Avatar Network},
  journal   = {arXiv preprint arXiv:2302.04868},
  year      = {2023}