HDR High Dynamic Range

download HDR High Dynamic Range

of 5

Transcript of HDR High Dynamic Range

HDR high dynamic rangeMDR

Via http://www.cgarchitect.com/2013/12/effects-of-hdr-vs-mdr-on-image-based-lighting

Effects of HDR vs MDR on Image Based LightingPosted byJeff Mottle9 December 2013 11:05 pm inShare2When attempting photo-real CG renderings using high dynamic range images (HDRI) with image-based lighting (IBL), you need an accurately photographed environment that contains the full dynamic range available. One of the main benefits to using IBL is the 'drag and drop' nature of it - you load your environment HDRI and render, almost instantly giving you highly realistic lighting.Before carrying on about this topic, (full disclosure) I'm a photographer of HDRIs at Hyperfocal Design - however this applies to any and all HDRIs.

EFECTOS DE HDR VS MDR en la iluminacin basada en imgenes

Al intentar renderizar realidad fotogrfica usando imgenes HDR con iluminacin basada en la imagen (IBL), necesitas un ambiente correctamente fotografiado que contenga el rango dinmico total disponible. Uno de los ms importantes beneficios de usar IBL es la opcin de arrastrar y colocar que posee, es decir, cargas el ambiente HDRI y renderizas; casi instantneamente dndote iluminacin altamente realista. Antes de seguir con este tema, transparento que soy fotgrafo de imagen de alto rango dinmico (HDRI) en Hyperfocal Design, sin embargo, esto aplica a todo tipo de HDRIs.Is it really HDRI?Unfortunately, some HDRIs are often barely higher in terms of range than an LDR (Low Dynamic Range Image/8 bit depth/Jpgs etc). Even if the dynamic range is good, but not great (you could call them "Medium Dynamic Range Images" or MDRI). You can end up with bad colour casting, as your renderer will grab some dull, white light from the tiny sun, plus loads of bright blue sky, and apply that to your scene's lighting in an unbalanced and unrealistic manner.ES REALMENTE HDRI?Lamentablemente, algunas imgenes HDR son frecuentemente slo mnimamente superior en trminos de rango respecto de una LDR , imgenes de bajo rango dinmico, profundidad de 8 bits e imgenes en formato Jpg. Incluso si el rango dinmico es bueno pero no ptimo (puedes llamarlas Imgenes de rango dinmico medio). Puedes terminar con una nefasta prueba de colores debido a que el renderizador va a percibir una luz blanca poco intenso desde un sol pequeo adems de abundante brillante cielo azul aplicando esto a la iluminacin de tu ambiente de forma poco balanceada e irrealista.

So while any image can be saved in .exr or .hdri format in 32bit, there will not always be any more additional information than an 8 or 16bit image - it has to be photographed correctly in the first place. Some HDRIs are little more than a 3 bracket spherical environment, so the sun is hardly much brighter than the surroundings. This isn't always bad, as you can substitute the missing sun with an artificial directional light, however you'll miss out on the complexities in reflections, lighting and shadows that you'd otherwise get with a full HDRI. Also notably, a full HDRI can be clamped down if you'd like more control from an artificial light source, but the reverse is impossible.

De esta forma, mientras cualquier imagen puede almacenarse con extensiones de formato exr o hdri en 32bit, no siempre habr informacin adicional superior a la almacenada en imgenes de 8 o 16bits. Lo ms importante es que sean correctamente fotografiadas. Algunas imgenes HDR no son mucho ms que un ambiente esfrico compuesto de 3 sets, as que el sol no es realmente mucho ms brillante que los alrededores. Esto no tiene que ser siempre algo negativo ya que puedes substituir el sol que con un una luz direccional artificial, aunque vas a prescindir de los detalles de los reflejos, la luz y el sombreado que obtendras en una imagen HDR tamao completo. Es importante notar tambin que en una imagen HDR de tamao completo se pueden hacer cambios drsticos si quieres ms control de una fuente de luz artificial, pero no puedes volver atrs.

What's the visual difference then?What exactly is the difference between a poor HDRI (or so called MDRI) and a good HDRI? Here's some renders!The first HDRI I've used was photographed with what I'd assume is only a few brackets, and therefore a very clamped sun - a good example of an MDRI. I've blurred the image background to hide any clue to the creator. Underneath it is another HDRI using an accurately captured sun - one of the most accurate ever in fact, by Paul Debevec.http://gl.ict.usc.edu/Data/skyprobes/

ENTONCES CUAL ES LA DIFERENCIA A LA VISTA?

Cual es exactamente la diferencia entre una imagen HDR de baja calidad y una de buena calidad? Algunos renderizadores lo comentan.La primera imagen HDR que us fue fotografiada con lo que yo crea era solo unos pocos sets, y por ende un sol bastante arreglado; un buen ejemplo de una imagen MDR. Difumin el fondo de la imagen para esconder cualquier rastro al creador. Debajo hay otra imagen HDR usando un sol cuidadosamente capturado, de hecho, uno de los ms cuidados que yo haya visto. Light colourThe colour cast I talked about is incredibly obvious in the MDR version, as the environment in the lower dynamic range HDRI creates an awful blue cast - this is essentially unusable without an artificial sun to fill in the range and bring the lighting colour back to normal. Most likely you will need to tone down the HDR strength to reduce colour casting then relight.Sun strengthWhen the sun is clamped as it is in a MDRI, and not photographed correctly, the sun is a similar strength to the surrounding environment, meaning you get little directional lighting. It also affects bounce light, which can reflect off of diffuse or reflective surfaces (not easily visible above because the sun is fairly overhead, without any highly reflective surfaces). Here's a render using my own Hyperfocal sunset HDRI:Highlights and reflectionsThe other fairly obvious downside is the loss of the highlight on the diffuse reflective black sphere on the MDR render. These highlights are lost in any non-mirrored reflective materials, and will also be lost when viewed through tinted glass, water, smoke or fog. If using an animation, these highlights will also blur out to nothing if using motion blur when compared to a real HDRI. Motion blur has been boosted greatly for illustrative purposes:Shadow qualityThe last thing lacking from a low range HDRI is the shadows. Because there is so little range, there is no difference between the intensity of light hitting objects and the intensity of shadows or fill light - so the sky and environment merely lights everything the same intensity from all angles, causing diffuse shadows that youd normally see on an overcast day.COLOR DE LA LUZLa prueba de color de la que hablaba es bastante obvia en una versin MDR ya que el ambiente en el rango dinmico inferior de la imagen HDR crea una prueba de azul poco deseable. Esto es bsicamente imposible de usar sin un sol artificial para rellenar el rango y volver a establecer el color de luz normal. Es muy probable que necesites bajar la calidad de la intensidad de la imagen HDR para reducir el color y luego volver a iluminar.INTENSIDAD DEL SOLCuando el sol est trabajado como en una imagen MDR, y no est correctamente fotografiado, este tendr una intensidad similar al entorno del ambiente, lo que significa que obtienes poca iluminacin direccional. Tambien afecta la luz de rebote, la que puede reflejarse fuera del rea de superficies difusas o reflectantes (que no se ven fcilmente ya que el sol est prcticamente sobre la cabeza sin superficie reflectante alguna. Esta es una renderizacin usando mi propia imagen HDR de atardecer con Hyperfocal:NFASIS Y REFLEJOOtra desventaja obvia es la prdida de nfasis en la esfera reflectante negra en el render de la imagen MDR. Estos nfasis se pierden en todo material no reflejable o reflectante, y tambin se perder al verlo a travs de vidrio con tonalidad, agua, humo y nieblina. Si se usa animacin, estos puntos de importancia van a perder toda intensidad si se usa desenfoque en movimiento comparado a una imagen HDR real. El uso de desenfoque en movimiento se ha incrementado ampliamente para fines de ilustracin.CALIDAD DE SOMBREADOLo ltimo de lo que carece una imagen HDRde bajo rango son las sombras. Debido a que el rango es muy reducido, no hay diferencias en la intensidad de luz que golpea los objetos y la intensidad de sombras o la luz de relleno, de esta forma el cielo y el ambiente se ilumina todo con la misma intensidad desde todos los ngulos, generando sombras difusas que verias normalmente en un dia nublado.

A sliding scale of dynamic rangeThe highest dynamic range environments are always shot at mid-day with a visible sun, which has not been obscured by any cloud or haze. On the opposite end of the spectrum, a rainy day at dusk is super low dynamic range, easily photographed with a single low dynamic range capture. Of course, the harsh midday sun is not the most popular time of day for photographers or CG artists as it is the highest contrast, and features razor sharp, dark shadows.The rule of thumb you want to use when looking at HDRIs is that it needs to have a dynamic range or number of stops that matches the conditions. A mid-day sun should be shot with enough brackets + a neutral density filter, so that the resulting HDR actually features a bright sun, sharp shadows and only subtle blue sky lighting. A sunset will require less brackets, and features less range, but is still entirely within the realm of HDRI. An overcast sunset may barely require HDRI at all, other than to capture some extra detail in the clouds near the sun - here we start to venture into the realm of MDRs.Things to look for in HDRIs in terms of specifications are either "dynamic range", "stops" or EV of around 16-18 for mid-day skies, up to 15 stops prior to sunset, and more like 1-3 for overcast, night and dusk situations. Depending on cloud cover, a concealed sun can bring the dynamic range down a great deal. If youre looking at full environments with landscapes and shadow, you can add more stops to the above guidelines.

ESCALA PROPORCIONAL DE RANGO DINAMICOLos ambientes con mayor rango dinmico siempre estn capturados a medioda con un sol visible, libre de nubes o vapor. En el lado contrario del espectro, un dia lluvioso al anochecer tiene un rango dinmico bastante bajo, que es fcil fotografiar en una captura simple de rango dinmico bajo. Como sabemos, el sol intenso del medioda no es el momento del dia ms usado por los fotgrafos o artistas de CG ya que cuenta con los ms altos contrastes y sombras oscuras y cortantes.

Fixes for MDRsIf you happen to have some HDRIs that are more on the "M" side, you can still account for this and add you own artificial light source, you'll just have to light it as you would a normal scene, using the HDRI for some ambient lighting and colour. This is even applicable if you are using a good HDRI sunset that you'd like to have more punch.Alternatively, there are two tricks you can use to make any MDR or even LDR (with differing levels of success!) into an HDRI.1. Copy paste a correctly captured sun into your M or LDR image. Go into Photoshop, select the good HDRI sun with a bit of a feather, copy, load your sky that needs some help, and paste it in. You can adjust the strength and colour of the sun on its own layer to tweak the end result.2. Make an elliptical selection where the sun is, ensure your image is in 32bit mode, and then boost the exposure (Image>Exposure in Photoshop). Different sizes and strengths of sun and feathering can control the shadow sharpness. As above, watch your colours here as you can end up with a strong coloured light if you aren't careful.ConclusionI hope this helped you understand with more clarity what the benefits are to your IBL renders when using real, accurately captured HDRIs, also what to look out for, and how to improve a HDRI that has less dynamic range than you may like.AboutJay Weston is the principal photographer at Hyperfocal Design, who specialise in HDRI sky environments. His latest project is an ambitioustime-lapse HDRI sky dome collection.