ACM Transactions on Graphics · 2020 · 24 citations · 42 references
ArchitectureMathematicsComputational GeometryReal-time RenderingRenderingGeometry ProcessingLighting CalculationsLighting ModelsShading ModelsVolume RenderingVolumetric RenderingBoundary Integral ConditionsBoundary Integral EquationsOverhead ReductionRadianceRadiance TransferReynolds Transport TheoremSpherical Harmonic AnalysisSpherical Harmonics Rendering
Recent work has developed analytic formulae for spherical harmonic (SH) coefficients from uniform polygonal lights, enabling near-field area lights to be included in Precomputed Radiance Transfer (PRT) systems, and in offline rendering. However, the method is inefficient since coefficients need to be recomputed at each vertex or shading point, for each light, even though the SH coefficients vary smoothly in space. The complexity scales linearly with the number of lights, making many-light rendering difficult. In this paper, we develop a novel analytic formula for the spatial gradients of the spherical harmonic coefficients for uniform polygonal area lights. The result is a significant generalization, involving the Reynolds transport theorem to reduce the problem to a boundary integral for which we derive a new analytic formula, showing how to reduce a key term to an earlier recurrence for SH coefficients. The implementation requires only minor additions to existing code for SH coefficients. The results also hold implications for recent efforts on differentiable rendering. We show that SH gradients enable very sparse spatial sampling, followed by accurate Hermite interpolation. This enables scaling PRT to hundreds of area lights with minimal overhead and real-time frame rates. Moreover, the SH gradient formula is a new mathematical result that potentially enables many other graphics applications.
42
Differentiable Monte Carlo ray tracing through edge sampling
Tzu‐Mao Li, Miika Aittala, Frédo Durand et al. · ACM Transactions on Graphics · 2018 · 446 citations · Full text
A ray tracing solution for diffuse interreflection
Gregory J. Ward, Robert Clear · 2007 · 374 citations
Architecture, Architectural Engineering, Digital Rendering +16