Lightweight Neural Basis Functions for All-Frequency Shading

Basis functions provide both the abilities for compact representation and the properties for efficient computation. Therefore, they are pervasively used in rendering to perform all-frequency shading. However, common basis functions, including spherical harmonics (SH), wavelets, and spherical Gaussians (SG) all have their own limitations, such as low-frequency for SH, not rotationally invariant for wavelets, and no multiple product support for SG. In this paper, we present neural basis functions, an implicit and data-driven set of basis functions that circumvents the limitations with all desired properties. We first introduce a representation neural network that takes any general 2D spherical function (e.g. environment lighting, BRDF, and visibility) as input and projects it onto the latent space as coefficients of our neural basis functions. Then, we design several lightweight neural networks that perform different types of computation, giving our basis functions different computational properties such as double/triple product integrals and rotations. We demonstrate the practicality of our neural basis functions by integrating them into all-frequency shading applications, showing that our method not only achieves a compression rate of and 10 × -40 × better performance than wavelets at equal quality, but also renders all-frequency lighting effects in real-time without the aforementioned limitations from classic basis functions.

[1]  Ling-Qi Yan,et al.  Neural Layered BRDFs , 2022, SIGGRAPH.

[2]  G. Drettakis,et al.  Neural Precomputed Radiance Transfer , 2022, Comput. Graph. Forum.

[3]  Hui Huang,et al.  Continuous aerial path planning for 3D urban scene reconstruction , 2021, ACM Trans. Graph..

[4]  Paul Debevec,et al.  NeRFactor , 2021, ACM Trans. Graph..

[5]  Stephan J. Garbin,et al.  FastNeRF: High-Fidelity Neural Rendering at 200FPS , 2021, 2021 IEEE/CVF International Conference on Computer Vision (ICCV).

[6]  Supasorn Suwajanakorn,et al.  NeX: Real-time View Synthesis with Neural Basis Expansion , 2021, 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).

[7]  T. Weyrich,et al.  Neural BRDF Representation and Importance Sampling , 2021, Comput. Graph. Forum.

[8]  T. Weyrich,et al.  High-Dynamic-Range Lighting Estimation From Face Portraits , 2020, 2020 International Conference on 3D Vision (3DV).

[9]  Kun Xu,et al.  Lightweight Bilateral Convolutional Neural Networks for Interactive Single-Bounce Diffuse Indirect Illumination , 2020, IEEE Transactions on Visualization and Computer Graphics.

[10]  Yannick Hold-Geoffroy,et al.  Deep Reflectance Volumes: Relightable Reconstructions from Multi-View Photometric Images , 2020, ECCV.

[11]  Marios Papas,et al.  Compositional neural scene representations for shading inference , 2020, ACM Trans. Graph..

[12]  Gordon Wetzstein,et al.  Implicit Neural Representations with Periodic Activation Functions , 2020, NeurIPS.

[13]  Yanjun Chen,et al.  DeepBRDF: A Deep Representation for Manipulating Measured BRDF , 2020, Comput. Graph. Forum.

[14]  Pratul P. Srinivasan,et al.  NeRF , 2020, ECCV.

[15]  Mengtian Li,et al.  GradNet: unsupervised deep screened poisson reconstruction for gradient-domain rendering , 2019, ACM Trans. Graph..

[16]  Kalyan Sunkavalli,et al.  Inverse Rendering for Complex Indoor Scenes: Shape, Spatially-Varying Lighting and SVBRDF From a Single Image , 2019, 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).

[17]  Yi Zhou,et al.  On the Continuity of Rotation Representations in Neural Networks , 2018, 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).

[18]  Kenny Mitchell,et al.  From Faces to Outdoor Light Probes , 2018, Comput. Graph. Forum.

[19]  L. Gool,et al.  Generative Adversarial Networks for Extreme Learned Image Compression , 2018, IEEE International Conference on Computer Vision.

[20]  Max Welling,et al.  Spherical CNNs , 2018, ICLR.

[21]  Kostas Daniilidis,et al.  Learning SO(3) Equivariant Representations with Spherical CNNs , 2017, International Journal of Computer Vision.

[22]  Luca Antiga,et al.  Automatic differentiation in PyTorch , 2017 .

[23]  Tobias Ritschel,et al.  Joint Material and Illumination Estimation from Photo Sets in the Wild , 2017, 2018 International Conference on 3D Vision (3DV).

[24]  Ravi Ramamoorthi,et al.  Deep high dynamic range imaging of dynamic scenes , 2017, ACM Trans. Graph..

[25]  Hans-Peter Seidel,et al.  Deep Shading: Convolutional Neural Networks for Screen Space Shading , 2016, Comput. Graph. Forum.

[26]  Thomas Brox,et al.  U-Net: Convolutional Networks for Biomedical Image Segmentation , 2015, MICCAI.

[27]  Jimmy Ba,et al.  Adam: A Method for Stochastic Optimization , 2014, ICLR.

[28]  Shi-Min Hu,et al.  Anisotropic spherical Gaussians , 2013, ACM Trans. Graph..

[29]  Stephen Lin,et al.  Global illumination with radiance regression functions , 2013, ACM Trans. Graph..

[30]  Jan Kautz,et al.  The State of the Art in Interactive Global Illumination , 2012, Comput. Graph. Forum.

[31]  David K. McAllister,et al.  OptiX: a general purpose ray tracing engine , 2010, ACM Trans. Graph..

[32]  Baining Guo,et al.  All-frequency rendering of dynamic, spatially-varying reflectance , 2009, ACM Trans. Graph..

[33]  Bo Sun,et al.  Affine double- and triple-product wavelet integrals for rendering , 2009, TOGS.

[34]  Petrik Clarberg,et al.  Fast Equal-Area Mapping of the (Hemi)Sphere using SIMD , 2008, J. Graph. Tools.

[35]  Yue Gao,et al.  Real‐time homogenous translucent material editing , 2007, Comput. Graph. Forum.

[36]  R. Ramamoorthi,et al.  Frequency domain normal map filtering , 2007, ACM Trans. Graph..

[37]  Weifeng Sun,et al.  Generalized Wavelet Product Integral for Rendering Dynamic Glossy Objects , 2006 .

[38]  Rui Wang,et al.  Efficient wavelet rotation for environment map rendering , 2006, EGSR '06.

[39]  Pat Hanrahan,et al.  Triple product wavelet integrals for all-frequency relighting , 2004, ACM Trans. Graph..

[40]  Pat Hanrahan,et al.  All-frequency shadows using non-linear wavelet lighting approximation , 2003, ACM Trans. Graph..

[41]  Jan Kautz,et al.  Precomputed radiance transfer for real-time rendering in dynamic, low-frequency lighting environments , 2002 .

[42]  Pat Hanrahan,et al.  An efficient representation for irradiance environment maps , 2001, SIGGRAPH.

[43]  Pat Hanrahan,et al.  A signal-processing framework for inverse rendering , 2001, SIGGRAPH.

[44]  Stephen H. Westin,et al.  Predicting reflectance functions from complex surfaces , 1992, SIGGRAPH.

[45]  Nelson L. Max,et al.  Bidirectional reflection functions from surface bump maps , 1987, SIGGRAPH.

[46]  Junqiu Zhu Neural Complex Luminaires: Representation and Rendering , 2021 .

[47]  Brent Burley Physically-Based Shading at Disney , 2012 .