Checkpoint 7: Tone Reproduction
I was curious on how should I treat the background. Should that be affected by the light intensity or not. In the code I was returning the background color when there was no intersection. I considered two cases: one considering background to be somewhere at infinity (eg sky) and returned plain background color on no intersection, and the other considering background to be at a finite distance (eg wall) and multiplied the light intensity with the background color on no intersection. I present my results with both cases:
Note: The images are for low(1), medium(10) and high(100) light intensities from left to right case 1: Background at infinity Ward model
Reinhard model, medium illumination and with different key values
case 1: Background at infinity