Automatic bounding of programmable shaders for efficient global illumination

This paper describes a technique to automatically adapt programmable shaders for use in physically-based rendering algorithms. Programmable shading provides great flexibility and power for creating rich local material detail, but only allows the material to be queried in one limited way: point sampling. Physically-based rendering algorithms simulate the complex global flow of light through an environment but rely on higher level information about the material properties, such as importance sampling and bounding, to intelligently solve high dimensional rendering integrals. We propose using a compiler to automatically generate interval versions of programmable shaders that can be used to provide the higher level query functions needed by physically-based rendering without the need for user intervention or expertise. We demonstrate the use of programmable shaders in two such algorithms, multidimensional lightcuts and photon mapping, for a wide range of scenes including complex geometry, materials and lighting.

[1]  Fabio Pellacini,et al.  User-configurable automatic shader simplification , 2005, ACM Trans. Graph..

[2]  Adam Arbree,et al.  To appear in the ACM SIGGRAPH conference proceedings Lightcuts: A Scalable Approach to Illumination , 2022 .

[3]  Ramon E. Moore Methods and applications of interval analysis , 1979, SIAM studies in applied mathematics.

[4]  Andreas Kolb,et al.  Homomorphic factorization of BRDF-based lighting computation , 2002, ACM Trans. Graph..

[5]  Adam Arbree,et al.  Multidimensional lightcuts , 2006, ACM Trans. Graph..

[6]  J. Stolfi,et al.  Aane Arithmetic and Its Applications to Computer Graphics , 1990 .

[7]  Tomas Akenine-Möller,et al.  PCU: the programmable culling unit , 2007, ACM Trans. Graph..

[8]  Arnauld Lamorlette,et al.  An approximate global illumination system for computer generated films , 2004, ACM Trans. Graph..

[9]  Frédo Durand,et al.  The lightspeed automatic interactive lighting preview system , 2007, ACM Trans. Graph..

[10]  Michael D. McCool,et al.  Efficient Bounded Adaptive Tessellation of Displacement Maps , 2002, Graphics Interface.

[11]  Tomas Akenine-Möller,et al.  Automatic pre-tessellation culling , 2009, TOGS.

[12]  S. Boulos,et al.  RTSL: a Ray Tracing Shading Language , 2007, 2007 IEEE Symposium on Interactive Ray Tracing.

[13]  John M. Snyder,et al.  Interval analysis for computer graphics , 1992, SIGGRAPH.

[14]  Shuang Zhao,et al.  Automatic bounding of programmable shaders for efficient global illumination , 2009, SIGGRAPH 2009.

[15]  Alexander Keller,et al.  Instant radiosity , 1997, SIGGRAPH.

[16]  Per H. Christensen,et al.  High quality rendering using ray tracing and photon mapping , 2007, SIGGRAPH Courses.

[17]  Seth J. Teller,et al.  Radiance interpolants for accelerated bounded-error ray tracing , 1999, TOGS.

[18]  Hans-Peter Seidel,et al.  Sampling procedural shaders using affine arithmetic , 1997, SIGGRAPH '97.

[19]  John Hart,et al.  ACM Transactions on Graphics , 2004, SIGGRAPH 2004.

[20]  Henrik Wann Jensen,et al.  Global Illumination using Photon Maps , 1996, Rendering Techniques.

[21]  Hans-Peter Seidel,et al.  Ray-tracing Procedural Displacement Shaders , 1998, Graphics Interface.

[22]  John M. Snyder,et al.  Modeling anisotropic surface reflectance with example-based microfacet synthesis , 2008, SIGGRAPH 2008.

[23]  Brian A. Barsky,et al.  Advanced Renderman: Creating CGI for Motion Pictures , 1999 .

[24]  Szymon Rusinkiewicz,et al.  Efficient BRDF importance sampling using a factored representation , 2004, SIGGRAPH 2004.

[25]  Mark N. Wegman,et al.  Efficiently computing static single assignment form and the control dependence graph , 1991, TOPL.

[26]  Mateu Sbert,et al.  Improving the Interval Ray Tracing of Implicit Surfaces , 2006, Computer Graphics International.

[27]  Aaron E. Lefohn,et al.  Lpics: a hybrid hardware-accelerated relighting engine for computer cinematography , 2005, SIGGRAPH '05.

[28]  Marc Olano,et al.  Automatic shader level of detail , 2003, HWWS '03.