Closed wahn closed 5 years ago
After commit 94642784a6ac1b6b194258d5464bfde182f99504 the test scene renders 100% the same between the Rust and the C++ version:
> imf_diff pbrt_rust.png pbrt_cpp.png
pbrt_rust.png pbrt_cpp.png: no differences.
== "pbrt_rust.png" and "pbrt_cpp.png" are identical
Even though the book describes the
GonioPhotometricLight
, e.g. here:http://www.pbr-book.org/3ed-2018/Light_Sources/Point_Lights.html#GoniophotometricDiagramLights
I was not able to find another example, except the one shipping with PBRTForMaya:
The image above was rendered by the C++ version of PBRT and we need to implement the counterpart to the C++ class
GonioPhotometricLight
: