For example in Phong model and Blinn model, the light intensity does not change depending on how far away the camera is. Why is that?
-
3\$\begingroup\$ Look at an object close to you. Now move a few meters away from it. Does it change it's brightness? No. Why should it be any different in computer graphics? The only relevant distance is the distance to the light sourc(es). \$\endgroup\$– LukeGCommented Mar 15, 2016 at 17:50
-
1\$\begingroup\$ @LukeG Why won't that change its brightness? Intuitively it feels to me that if I am far away from an object, the total light energy from it to arrive at my eyes should becomes less. \$\endgroup\$– wlnirvanaCommented Mar 15, 2016 at 19:47
-
\$\begingroup\$ I get what you mean. I did a search and found a great article about this topic. I posted an answer with the link and a summary of it. \$\endgroup\$– LukeGCommented Mar 15, 2016 at 20:02
2 Answers
After initially being puzzled about this question, because it felt natural that objects don't change their brightness depending on the distance to the eye (or camera), but only depending on the distance to the light source, I did a quick google search and found this great article. It is about this exact topic in photography and explains why the distance between the object and the camera is not relevant.
To summarize it: Yes, the arriving energy decreases proportional to 1/r²
. But consider this: As the distance increases the object also appears smaller, as well proportional to 1/r²
. While having less arriving energy, it also covers a smaller area of your field of view. Those two effects cancel each other out. Thus the object-camera distance does not influence the perceived brightness.
That's a question solved by looking at physical units.
The irradiance (watt per square metre) on the whole object determines it's illumination, this unit varies with distance between object and light because the "subtended surface" diminishes by 1/r²
with the distance.
(The radiant flux (W) of the light being constant)
For simplicity let's imagine a case where the light is at the camera position and we are looking at a white disc. The radiance of the disk is the emitted light by its surface considering our vision angle : in watt per steradian per square metre.
The radiance is necessarily less than its irradiance if the material is diffuse. Why is that ? because the camera only subtends a tiny angle of the total re-emission directions; while the disc re-emits its energy at 2π
steradian (hemisphere).
So the radiance seen by the camera is irradiance / 2π
. As you can see it does not depend on the distance between the object and the camera. Now, radiance is a unit per square meter, which means it defines "light intensity" per area, so when discretized, it means that it is the pixel value :)
I hope I'm right, this is always confusing.