Jump to content

File:Classical radiosity comparison with path tracing, simple scene, interpolated.png

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (512 × 1,024 pixels, file size: 443 KB, MIME type: image/png)

Summary

Description
English: A comparison of classical radiosity and path tracing for a simple scene, with albedo of 0.85 for all surfaces.

The top image shows the scene rendered using radiosity, implemented with Python code (using the "numba" library to speed up some portions). Surfaces are divided into 32x32 meshes (32x64 for the sphere). The final rendering uses ray casting, and colors the pixels using bilinear interpolation of radiosity values (extrapolation at edges). Some very faint noise may be visible due to dithering added to avoid visible "mach bands" when the pixels are quantized to 256 levels. Sampling was used to estimate form factors (rather than analytical formulas). Matrix inversion (via the numpy library) was used to solve the radiosity equation. The image was rendered at 2048x2048 and downsampled to 512x512 to anti-alias the edges.

The bottom image shows the scene rendered with path tracing, using the PBRT renderer (the code accompanying the book Physically Based Rendering: From Theory to Implementation). 1024 paths were traced per pixel. A box filter was used (for consistency with the radiosity output, which used downsampling with a simple box filter).

Even though the rendering algorithms are very different, because both are physically-based methods the output is in close agreement, except for places where the mesh is still too coarse in the radiosity rendering. The path-traced image has visible noise and took much longer to render (7 minutes vs. 1 minute). Most of the time for the radiosity rendering was for estimating form factors, which used single-threaded code that was not optimized.
Date
Source Own work
Author KaiaVintr

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

9 October 2024

image/png

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current23:34, 9 October 2024Thumbnail for version as of 23:34, 9 October 2024512 × 1,024 (443 KB)KaiaVintrUploaded while editing "User:KaiaVintr/sandbox" on en.wikipedia.org

The following page uses this file: