« Sponsored Feature: A Landmark in Image Processing: DMIP | Main | Feature: Procedural Spooling In Games »

A Tip On (And Discussion Of) HDR Rendering Methods

hl2_lostcoast.jpgLucasArts engineer Marco Salvi has posted an in-depth explanation of his method for HDR rendering, prompted by a SIGGRAPH 2006 lecture series by Valve employees. Salvi first touches on Valve's own HDR process (added to the Source engine in 2005), which he points out runs "with MSAA on relatively old hardware [and] executes tone mapping and MSAA resolve in the proper correct order with no extra performance cost, something that a lot of modern games can't still get right today."

"Through image segmentation techniques," Valve's code "’simply’ tries to determine if the previous frame has been under or over exposed and a new exposure value is adjusted to compensate for problems with the previous frame(s)." Salvi notes that this method doesn't allow for reliably determining average logarithmic luminance, which in his experience has led to "an overall flat and over or under saturated feeling." So he introduces his own plan: "get rid of the exposure search through previous frames feedback and compute it the proper way!"

Salvi's method computes per-pixel logarithmic luminance and outputs that to the alpha channel; he includes a code example of the relevant math, and delves into further specific details.

As a bonus, Valve's Gary McTaggart and Chris Green, both presenters of the lectures that spurred Salvi's post, drop by in the blog's comment section to explain their reasoning behind the route they took for the Source engine's HDR implementation.

Comments

Excellent blog! Interesting article and very informative! I will necessarily subscribe for this blog. http://lowsalego.com/map.html

И как это автору не влом столько времени на написание статей тратить, мы конечно Вам очень благодарны, но вот я на такой альтруизм не способен :)

Я подписался на РСС ленту, но посты почему-то в виде каких-то квадратов :( Как это исправить?

qvdy
tyen acvd
akli adux
lqpy

Funny foto [url=http://asfdsd.com/buy-vardenafil-online/]here[/url]

Хорошо пишете. Надеюсь, когда-нибудь увижу нечто подобное и на своем блоге...

[url=http://generictadalafil.weebly.com/]tadalafil dosage
[/url]

[url=http://generictadalafil.weebly.com/]tadalafil for sale
[/url]

Оформление зачет :) Сами рисовали или тема?

Так мило, но так банально... :)

Хороший блог

Очень интересно. 1

Может быть кто-нить поделится ссылочкой на что-нибудь из этой же тематики? Уж очень заинтересовало

Post a comment

About

This specially written weblog combines Gamasutra and Intel knowhow to present and deconstruct the latest happenings in visual computing and game technology.

Editor: Eric Caoili