Rendering engine
This page provides some details on my personal academic rendering engine, started and improved over the course of my PhD, and continued for my current research and learning projects. The core source code is composed of 35000 lines of C++, it has been used to render thousands of hours of images and all figures from my academic publications, and used on various machines including the compute cluster IN2P3. Unfortunately the codebase is not public yet due to two reasons: some unpublished work implemented in it and a lazyness in the code quality that makes some part of it obfuscated. Below are the list of features it includes and some renders produced by the renderer. However, a small portion of it has been separated and published alongside my publication Volumetric multi-view rendering.
Features
It includes the following list of features:
- Integrators
- Unidirectional volumetric path tracing integrator (vpt) [Miller:2019]
- Multiple view volumetric path tracing integrator (mvpt) and its adaptive version (amvpt) [Fraboni:2022]
- Multiple view path tracing integrator (extended to volumetric support for comparisons) [Fraboni:2019]
- Miscellaneous: Ambient occlusion, Normal, Light tracing, Path tracing, DoF supersampling integrator, Discrete path reusing integrator (surfaces only) [Bekaert:2002]
- Materials
- smooth models: diffuse reflection/transmission, conductor, dielectric with absorption, plastic with absorption, bi-layered model (coating and substrate) with absorption
- rough models: diffuse reflection/transmission, conductor, dielectric with absorption, plastic with absorption, bi-layered model (coating and substrate) with absorption
- microfacet models Beckmann and GGX
- energy compensation [Turquin:2019][Kulla:2017]
- mix BSDF
- thin film interferences
- BSDF validation methods [Heitz:2014]
- BSDF similarity methods [Fraboni:2022]
- Roughness regularization [Kaplanyan:2013][Jendersie:2019]
- Direct illumination techniques
- BSDF sampling
- Next event estimation [Shirley:1994]
- Equiangular sampling [Kulla:2012]
- Light tree importance sampling (diffuse + approximate specular) [Conty:2018] [Yuksel:2019] [Lin:2020]
- Multiple Importance Sampling [Veach:1995]
- RIS with CDF inversion or reservoirs (ReSTIR) [Talbot:2005][Bitterli:2020]
- Homogeneous and heterogeneous participating media
- Spectral absorption, scattering and emission support
- Density functions
- Uniform and 3D textures density
- Sparse voxel density support with NanoVDB [Museth:2021]
- Procedural 3D noise density (value, perlin, simplex, ridged) and 4D for animated media support with FastNoise [Peck:2020][Musgrave:1994]
- Phase functions
- Uniform
- Henyey-Greenstein
- Mie approximation with numerical CDF inversion
- Transmittance estimators
- Spectral delta tracking and spectral ratio tracking [Miller:2019]
- Unbiased ray marching approximation [Kettunen:2021]
- Textures and UV mapping
- Depth of field with thin lens model [Kolb:1995]
- Time integration for motion blur
- SIMD math library
- Fast ray - scene intersection with Intel Embree 4 [Wald:2014] (and Standalone BVH as well)
- Progressive rendering with interactive OpenGL preview, faster offline batched tiles mode
- Adaptive rendering with various error criteria [Fraboni:2022][Fraboni:2019][Kajiya:1986][Rigau:2003][Heitz:2018]:
- Variance error criterion [Kajiya:1986]
- f-divergence error criterion [Rigau:2003]
- Total variation noise estimation [Heitz:2018]
Examples








References
- [Bekaert:2002] P. Bekaert, M. Sbert, J. Halton, Accelerating Path Tracing by Re-Using Paths, Eurographics Workshop on Rendering 2002.
- [Bitterli:2020] B. Bitterli, C. Wyman, M. Pharr, P. Shirley, A. Lefohn, W. Jarosz, Spatiotemporal Reservoir Resampling for Real-Time Ray Tracing with Dynamic Direct Lighting, ACM Transactions on Graphics 39(4) (SIGGRAPH), 2020.
- [Conty:2018] A. Conty Estevez, C. Kulla, Importance Sampling of Many Lights with Adaptive Tree Splitting, Proceedings of the ACM on Computer Graphics and Interactive Techniques 1(2) (HPG), 2018.
- [Fraboni:2019] B. Fraboni, J.-C. Iehl, V. Nivoliers, G. Bouchard, Adaptive Multi-view Path Tracing, Eurographics Symposium on Rendering 2019.
- [Fraboni:2022] B. Fraboni, A. Webanck, N. Bonneel, J.-C. Iehl, Volumetric Multi-View Rendering, Computer Graphics Forum 41(2) (Eurographics), 2022.
- [Heitz:2014] E. Heitz, Understanding the Masking-Shadowing Function in Microfacet-Based BRDFs, Journal of Computer Graphics Techniques 3(2), 2014.
- [Heitz:2018] E. Heitz, S. Hill, M. McGuire, Combining Analytic Direct Illumination and Stochastic Shadows, ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games 2018.
- [Jendersie:2019] J. Jendersie, T. Grosch, Microfacet Model Regularization for Robust Light Transport, Computer Graphics Forum 38(4) (EGSR), 2019.
- [Kajiya:1986] J. T. Kajiya, The Rendering Equation, SIGGRAPH 1986.
- [Kaplanyan:2013] A. S. Kaplanyan, C. Dachsbacher, Path Space Regularization for Holistic and Robust Light Transport, Computer Graphics Forum 32(2) (Eurographics), 2013.
- [Kettunen:2021] M. Kettunen, E. d’Eon, J. Pantaleoni, J. Novák, An Unbiased Ray-Marching Transmittance Estimator, ACM Transactions on Graphics 40(4) (SIGGRAPH), 2021.
- [Kolb:1995] C. Kolb, D. Mitchell, P. Hanrahan, A Realistic Camera Model for Computer Graphics, SIGGRAPH 1995.
- [Kulla:2012] C. Kulla, M. Fajardo, Importance Sampling Techniques for Path Tracing in Participating Media, Computer Graphics Forum 31(4) (EGSR), 2012.
- [Kulla:2017] C. Kulla, A. Conty, Revisiting Physically Based Shading at Imageworks, SIGGRAPH Course: Physically Based Shading in Theory and Practice, 2017.
- [Lin:2020] D. Lin, C. Yuksel, Real-Time Stochastic Lightcuts, Proceedings of the ACM on Computer Graphics and Interactive Techniques 3(1) (I3D), 2020.
- [Miller:2019] B. Miller, I. Georgiev, W. Jarosz, A Null-Scattering Path Integral Formulation of Light Transport, ACM Transactions on Graphics 38(4) (SIGGRAPH), 2019.
- [Museth:2021] K. Museth, NanoVDB: A GPU-Friendly and Portable VDB Data Structure for Real-Time Rendering and Simulation, SIGGRAPH Talks 2021.
- [Musgrave:1994] D. S. Ebert, F. K. Musgrave, D. Peachey, K. Perlin, S. Worley, Texturing and Modeling: A Procedural Approach, Academic Press, 1994.
- [Peck:2020] J. Peck, FastNoise Lite: a portable open source noise generation library, 2020.
- [Rigau:2003] J. Rigau, M. Feixas, M. Sbert, Refinement Criteria Based on f-Divergences, Eurographics Symposium on Rendering 2003.
- [Shirley:1994] P. Shirley, C. Wang, Direct Lighting Calculation by Monte Carlo Integration, Photorealistic Rendering in Computer Graphics (Eurographics Workshop on Rendering), Springer, 1994.
- [Talbot:2005] J. F. Talbot, D. Cline, P. Egbert, Importance Resampling for Global Illumination, Eurographics Symposium on Rendering 2005.
- [Turquin:2019] E. Turquin, Practical Multiple Scattering Compensation for Microfacet Models, technical report, Industrial Light & Magic, 2019.
- [Veach:1995] E. Veach, L. J. Guibas, Optimally Combining Sampling Techniques for Monte Carlo Rendering, SIGGRAPH 1995.
- [Wald:2014] I. Wald, S. Woop, C. Benthin, G. S. Johnson, M. Ernst, Embree: A Kernel Framework for Efficient CPU Ray Tracing, ACM Transactions on Graphics 33(4) (SIGGRAPH), 2014.
- [Yuksel:2019] C. Yuksel, Stochastic Lightcuts, High-Performance Graphics 2019.