Least Squares Vertex Baking

Ladislav Kavan, Adam W. Bargteil, Peter-Pike Sloan


We investigate the representation of signals defined on triangle meshes using linearly interpolated vertex attributes. Compared to texture mapping, storing data only at vertices yields significantly lower memory overhead and less expensive runtime reconstruction. However, standard approaches to determine vertex values such as point sampling (a) or averaging triangle samples (b) lead to suboptimal approximations. We discuss how an optimal solution can be efficiently calculated using continuous least-squares (c); compare to ground truth per-pixel rendering (d). In addition, we propose a regularization term that allows us to minimize gradient discontinuities and mach banding artifacts while staying close to the optimum. Our method has been integrated in a game production lighting tool and we present examples of representing signals such as ambient occlusion and precomputed radiance transfer in real game scenes, where vertex baking was used to free up resources for other game components.

Full text   BibTeX

Back to main page