HDR Lighting


So there you have it; once you get used to the extra steps required to set up a linear project and import LDR footage, you are rewarded with a simple, powerful workflow.

This exercise only touched upon what is possible with linear floating point compositing, but it should at least make the point that light behaves much more the way it does in the real world. This is light in its purely natural, "additive" state (where the addition suddenly makes simple sense).


You can even "subtract" HDR values using the Add Blending mode and a Levels effect with Output White set to 1.0; matching values are darkened to black.

Keep in mind that many Blending modes besides Add and Multiply (as well as Lighten and Darken) will not work correctly with linear blending and HDR overbright values. For example, Screen, Overlay, and most of the "Light" Blending modes will yield strange results. The formula for the Screen operation (Chapter 3)

newPixel = 1((1A) * (1B))

clearly shows that you have a problem if the pixel of the top layer (A) or bottom layer (B) contains a value above 1; subtracting it from 1 yields a negative number. If the value of each pixel is 2.0, the resulting blended pixel is pure black. 12_screenHDR.aep shows this phenomenon in action.

There is no doubt that support for linear floating point compositing will only improve with future versions of After Effects. Clearly, it will help for more effects to be 32 bit compatible, but it would also help if fundamental controls such as Levels and Curves had some way of showing you what is happening outside of monitor range. For example, gamma corrections on individual color channels are tricky in HDR because the gamma curve continues right out of monitor range; a gamma that has been "lowered" in 0.0 to 1.0 space may actually be higher above 1.0 (Figure 12.42). For this reason it is advised by those in the know to apply gamma adjustments last, after all other adjustments have been made.

Figure 12.42. Curves only lets you see monitor range, the area inside the gray box, but what happens to gamma adjustments to individual colors beyond that range is counterintuitive, as this graph shows. This need not be cause for concern as long as you leave gamma adjustments until last, so that what you see is what you get.

The greatest advantage of all of those extra color values is that it is virtually impossible to ever lose color detail in your image to the point where it can't be brought back with another operation. You are encouraged to try "normal" compositing in linear floating point projects in cases where you might want to be able to push color values in and out of monitor range, and you may soon become accustomed to working with light the way that light works in nature.

Climate Air, Water, Smoke, Clouds

Adobe After Effects 7. 0 Studio Techniques
Adobe After Effects 7.0 Studio Techniques
ISBN: 0321385527
EAN: 2147483647
Year: 2004
Pages: 157
Simiral book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net