Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




True HDR light mapping with adaptive tone mapping
Read original blog post

UserPost

00:55
March 3, 2009


Tr3B

Admin

Germany

posts 132

1

I finished my implementation of a true 64 bit HDR rendering pipeline. Interesting is that Q3Map2 works with HDR values internally. So I changed the map compiler XMap2 to save lightmaps, the light grid and all other light related information in a new XBSP format without the ugly colour normalization that Q3Map2 usually does when it saves the lightmaps as .tga files. Finally I can have lights that are really bright and the camera uses an adaptive tone mapping algorithm that adjusts the scene exposure automatically based on the average scene luminance. I tested really many different global tone mapping operators and the simple exponential tone mapping operator seems to be the best working for our project.

For a comparison how the camera adjusts dynamically the image result:

xreal-20090303-000546-000.jpg

And after looking a bit into the very bright sky:

xreal-20090303-000555-000.jpg

If you would like to know more about this technique then I recommend that you have a look at the HDRLighting Sample from the DirectX SDK.


Read original blog post

01:14
March 3, 2009


Forsaken

Member

posts 87

2

And…its awesome Smile

01:44
March 3, 2009


Tr3B

Admin

Germany

posts 132

3

BTW I uploaded the gwdm2 pk3 to the game server running on this site. You can autodownload it from the server.

12:53
March 3, 2009


sxy

Member

Slovenia, EU

posts 51

4

It looks nice! Anyway.. the screen (on the upper image – the eye adapted on dark – eg. pupils dilated) should be blended (imagine looking into the sun, or other very bright surface) to be realistic.


13:10
March 3, 2009


Tr3B

Admin

Germany

posts 132

5

I think that would annoy most players in a multiplayer game.

13:53
March 3, 2009


DerSaidin

Member

posts 93

6

Yeah, some eye candy is good, but gameplay is most important.

Nice work Tr3b, that HDR looks nice without being over the top. Infact it even makes the image clearer by balancing the levels.

12:42
March 4, 2009


sxy

Member

Slovenia, EU

posts 51

7

Hmm.. what about corona support?

Search 

About the XreaL forum

Most Users Ever Online:

35


Currently Online:

Tr3B

1 Guest

Forum Stats:

Groups: 2

Forums: 10

Topics: 233

Posts: 1199

Membership:

There are 264 Members

There have been 2 Guests

There is 1 Admin

There are 0 Moderators

Top Posters:

Odin – 143

DerSaidin – 93

Forsaken – 87

magik – 59

Empire Games – 53

sxy – 51

Administrators: Tr3B (132 Posts)




Both comments and pings are currently closed.