Color of Light in Relation to Temperature
Reproducing Real World Light | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
White Balance The human visual system is very good at "white balancing" what we look at. As long as the scene we are viewing contains a continuous spectrum of colors, we interpret the light as "white". In reality, the incandescent light we light our homes with is quite orange. Daylight is very blue. Fluorescent lights vary from sickly greens to reddish purples. And yet, we see all these lighting situations as more or less neutrally colored. In the real world, light consists of all visible colors, not just red, green, and blue wavelengths. The RGB color system that we use in computer graphics arose out of a peculiarity of human perception - we have structures in our eyes called "cones" that respond to red, green, and blue light sources. A monochromatic yellow light excites both the red and green cones in our eyes, and we see it as yellow. Such a yellow light in the real world would not allow a red object to appear red, or a green object to appear green. But in computer graphics a yellow light has both a red and green component, and so allows objects with those colors to appear fully colored. This is a limitation of many computer graphic programs at the moment. Film cameras cannot compensate for the varying shades of light in the way that our visual sense can. Thus, we have daylight film which has heavy orange filtering to tone down the blue quality of outdoor light. We have indoor film which has a boosted blue response to even out the amber lighting. For fluorescent situations, we can use a combination of film type and filters to color balance the scene we are photographing. If we were to pick a particular color of light, say daylight, and say that it is "white" and photograph everything, indoors and out, with a film stock that renders daylight as white, all of our indoor shots would be shades of orange and amber, and outdoor shots under blue sky would be intensely blue. This would be undesirable. Thus too it is undesirable to pick a similar approach with our 3D rendering of light. We have to be relative - and choose a light color to be "white" in our scene, with other types of light sources being colored relative to that one. In this way we can produce our synthetic "photos" to produce a pleasing result in our final renders. Of course, to understand how different types of light sources relate to each other, it is important to understand how these light sources work. To do this we are going to look at 3 basic types of light source. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Bluish high temperature outdoor light contrasts with low temperature incandescent light. You can download a Cinema 4D R8 scene file with all of the lights in this article pre-defined here. | Black Body Illuminants Black body illuminants produce a fairly even, continuous spectrum of colors, and so are perceived as "white" by our visual sense. Therefore, in the absence of comparative light sources in our scene, these should be rendered with warm, nearly white lights. Below is a chart of some common Kelvin Light Source temperatures coupled with their RGB Equivalents. These equivalents were arrived arbitrarily - I eyeballed them. There were a couple of converters I found online, each taking a different approach. One of them colored the sources by reference - you input a Kelvin temperature that you want to be "white" and the temperature to convert into an RGB value. Visually, however, the results were disappointing. They were scientifically correct, but failed to take into account the adaptability of the human visual sense. The other converter did even worse, ending up with greenish shades in the 4500K range that black body illuminants are incapable of creating. So, the alternative was to use my eye and judgment to arrive at these values.
Samples
Fluorescent Lights
Samples
Gaseous Light Sources Again, the values in the following chart were eyeballed by myself, by looking at various night lights around my city.
Samples
Conclusion | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
close window |
this site works |
Color of Light in Relation to Temperature
Source: http://planetpixelemporium.com/tutorialpages/light.html