mmp / pbrt-v3

Source code for pbrt, the renderer described in the third edition of "Physically Based Rendering: From Theory To Implementation", by Matt Pharr, Wenzel Jakob, and Greg Humphreys.
http://pbrt.org
BSD 2-Clause "Simplified" License
4.91k stars 1.2k forks source link

Fixed imgtool diff saving. #130

Closed Mx7f closed 7 years ago

Mx7f commented 7 years ago

RGBSpectrum::FromRGB is a static function, not a mutator method, so we need to explicitly write into the diffImage array.

mmp commented 7 years ago

Thanks!