"There's a saying that states: 'The road to hell is paved with good intentions'. There's hardly anything that better describes communism than that. All good hopes and dreams of justice and equality have ended in oppression and dictatorship."
- Peter Eriksson, Green Party of Sweden
More pages: 1 2 3 4 5 6 7 8
New demo
Monday, September 5, 2005 | Permalink

Finally a new demo! There hasn't been much activity here for a while, but now I have a new demo here at last.
Lots of people have asked for a long time why I don't have any HDR demo on my site. There's no particular reason for that, I just hadn't bothered writing one. But now I've covered that as well. Of course, it's complete with the butter-on-my-glasses blur effect that has come to characterize HDR and actually to some extent get confused with HDR.
Anyway, the main selling point of this demo is that it doesn't go the lazy route and uses FP16 just because "that's HDR" as is a common misconcept out there. Instead it's using a DXT1/L16 combination that's faster and uses less memory space and can be filtered all the way down to R300. The main render target is FP16 though.

Anyway, enough talking. Now go grab it.

Name

Comment

Enter the code below



Matt Zamborsky
Thursday, September 15, 2005

to Jackis: Sorry I posted this bug about 10 day before you

Jackis
Friday, September 16, 2005

to Matt Zamborsky:
Okey, all the benefits are yours now ))))))))

Matt Zamborsky
Sunday, September 18, 2005

I rewrited the demo myself, to run on GF FX hardware. Very impressive, but i suggest you humus to use in convert shader something like this:

vec3 SupressLDR(half3 val)
{
if(val.r > 0.0 || val.g > 1.0 || val.b > 1.0) return val;
else return half3(0.0,0.0,0.0);
}

and then use this function on "base" value. So that it doesnt look so blured .

Another thing is that I am using 80.40 drivers and there is a problem with specifing the shadersource string(using 4 strings with saturate and lerp method), ofcourse its likely a bug in NV driver.

And just one more thing. When I compiled the sources I get error, that configDialog is NULL, so I called loadConfig() before the line with error and all's ok then.

Keleman
Tuesday, September 20, 2005

Hi Humus,

I can't compile this HDR demo. I'm using VS .NET 2003. Are there some files missing in framework3 package? There are no TexturePacker.h etc. When I try using framework2 versions compiler gives big list of different errors like these:

d:\Hdr\App.cpp(20): error C2039: 'plane' : is not a member of 'BTri'

d:\Hdr\App.cpp(20): error C2228: left of '.xyz' must have class/struct/union type

Keleman
Tuesday, September 20, 2005

I noticed just after I wrote this comment that I have older version of framework3. Now it works fine.

Draxx
Wednesday, September 21, 2005

Works fine on 6800GT with 77.77 drivers

duh
Wednesday, September 21, 2005

Just tested with my radeon 9800 and it says "No FBO support"? =/

Humus
Wednesday, September 21, 2005

Update your drivers. New Cat 5.9 were released today.

More pages: 1 2 3 4 5 6 7 8