thumb|300px|right|A comparison of the standard fixed-aperture rendering (left) with the HDR rendering (right) in the video game [[Half-Life 2: Lost Coast. The HDRR was tone-mapped to SDR for broad compatibility with almost all displays.]]
High-dynamic-range rendering (HDRR or HDR rendering), also known as high-dynamic-range lighting, is the rendering of computer graphics scenes by using lighting calculations performed in high dynamic range (HDR). This allows preservation of details that may be lost due to limiting contrast ratios. Video games and computer-generated imagery, movies, and visual effects benefit from this as it creates more realistic scenes than with more simplistic lighting models. HDRR was originally required to tone map the rendered image onto Standard Dynamic Range (SDR) displays, as the first HDR capable displays did not arrive until the 2010s. However, if a modern HDR display is available, it is possible to instead display the HDRR with even greater contrast and realism.
Graphics processor company Nvidia summarizes the motivation for HDRR in three points: bright things can be really bright, dark things can be really dark, and details can be seen in both.
History
The use of high-dynamic-range imaging (HDRI) in computer graphics was introduced by Greg Ward in 1985 with his open-source Radiance rendering and lighting simulation software which created the first file format to retain a high-dynamic-range image. HDRI languished for more than a decade, held back by limited computing power, storage, and capture methods. Not until recently has the technology to put HDRI into practical use been developed.
In 1990, Eihachiro Nakame and associates presented a lighting model for driving simulators that highlighted the need for high-dynamic-range processing in realistic simulations.
In 1995, Greg Spencer presented Physically-based glow visual effects for digital images at SIGGRAPH, providing a quantitative model for flare and blooming in the human eye.
In 1997, Paul Debevec presented Recovering high dynamic range radiance maps from photographs at SIGGRAPH, and the following year presented Rendering synthetic objects into real scenes. These two papers laid the framework for creating HDR light probes of a location, and then using this probe to light a rendered scene.
HDRI and HDRL (high-dynamic-range image-based lighting) have, ever since, been used in many situations in 3D scenes in which inserting a 3D object into a real environment requires the light probe data to provide realistic lighting solutions.
In gaming applications, Riven: The Sequel to Myst in 1997 used an HDRI postprocessing shader directly based on Spencer's paper. After E3 2003, Valve released a demo movie of their Source engine rendering a cityscape in a high dynamic range. The term was not commonly used again until E3 2004, where it gained much more attention when Epic Games showcased Unreal Engine 3 and Valve announced Half-Life 2: Lost Coast in 2005, coupled with open-source engines such as OGRE 3D and open-source games like Nexuiz.
By the 2010s, HDR displays first became available. With higher contrast ratios, HDRR can reduce or eliminate tone mapping, resulting in an even more realistic image.
Examples
One of the primary advantages of HDR rendering is that details in a scene with a large contrast ratio are preserved. Without HDRR, areas that are too dark are clipped to black and areas that are too bright are clipped to white. These are represented by the hardware as a floating point value of 0.0 and 1.0 for pure black and pure white, respectively.
Another aspect of HDR rendering is the addition of perceptual cues which increase apparent brightness. HDR rendering also affects how light is preserved in optical phenomena such as reflections and refractions, as well as transparent materials such as glass. In LDR rendering, very bright light sources in a scene (such as the sun) are capped at 1.0. When this light is reflected the result must then be less than or equal to 1.0. However, in HDR rendering, very bright light sources can exceed the 1.0 brightness to simulate their actual values. This allows reflections off surfaces to maintain realistic brightness for bright light sources.
Limitations and compensations
Human eye
The human eye can perceive scenes with a very high dynamic contrast ratio, around 1,000,000:1. Adaptation is achieved in part through adjustments of the iris and slow chemical changes, which take some time (e.g. the delay in being able to see when switching from bright lighting to pitch darkness). At any given time, the eye's static range is smaller, around 10,000:1. However, this is still higher than the static range of most display technology.
Output to displays
Although many manufacturers claim very high numbers, plasma displays, liquid-crystal displays, and CRT displays can deliver only a fraction of the contrast ratio found in the real world, and these are usually measured under ideal conditions. The simultaneous contrast of real content under normal viewing conditions is significantly lower.
Some increase in dynamic range in LCD monitors can be achieved by automatically reducing the backlight for dark scenes. For example, LG calls this technology "Digital Fine Contrast"; Samsung describes it as "dynamic contrast ratio". Another technique is to have an array of brighter and darker LED backlights, for example with systems developed by BrightSide Technologies.
OLED displays have better dynamic range capabilities than LCDs, similar to plasma but with lower power consumption. Rec. 709 defines the color space for HDTV, and Rec. 2020 defines a larger but still incomplete color space for ultra-high-definition television.
Since the 2010s, OLED and other HDR display technologies have reduced or eliminated the need for tone mapping HDRR to standard dynamic range.
Light bloom
Light blooming is the result of scattering in the human lens, which human brain interprets as a bright spot in a scene. For example, a bright light in the background will appear to bleed over onto objects in the foreground. This can be used to create an illusion to make the bright spot appear to be brighter than it really is.
- Chrome Engine 3
- Source
- Source 2
- Serious Engine 2
- MT Framework 2
- RE Engine
- REDengine 3
- CryEngine, CryEngine 2, CryEngine 3
- Dunia Engine
- Gamebryo
- Decima
- Unity
- id Tech 5
- LithTech
- Unigine
- Frostbite 2
- Real Virtuality 2, 3, and 4
- HPL Engine 3
- Babylon JS
- Torque 3D
- X-Ray Engine
See also
- Ambient occlusion
- Shader
References
External links
- NVIDIA's HDRR technical summary (PDF)
- A HDRR Implementation with OpenGL 2.0
- OpenGL HDRR Implementation
- High Dynamic Range Rendering in OpenGL (PDF)
- Microsoft's technical brief on SM3.0 in comparison with SM2.0
- Tom's Hardware: New Graphics Card Features of 2006
- List of GPU's compiled by Chris Hare
- techPowerUp! GPU Database
- Understanding Contrast Ratios in Video Display Devices
- Requiem by TBL, featuring real-time HDR rendering in software
- List of video games supporting HDR
- Examples of high dynamic range photography
