bench_pt

Small multi-threaded path tracer intended for benchmarking. It can only render spheres, but supports anti-aliasing and tone mapping.

Example

Terminal output

$ ./bench_pt -s4 -S4
Render: 1280x720 at 64 samples per pixel (sampling: 4 super, 4x4 sub)
OpenMP: 4 cores available, using 4 threads
Scene : 188 objects

Rendering ... 100.00%

Profiling timers:
	Name                           T(CPU)[s]  T(real)[s] [hhh:mm:ss.ttt]
	file                               0.555       0.368    0:00:00.368
	tonemap                            0.191       0.064    0:00:00.064
	render                           258.337      64.887    0:01:04.887

Output image

Example bench_pt output image.

Download

bench_pt.tar.bz2 (10154 bytes, MD5: 02b5250399404f5cbb83f26aa1132e66)