"There is a theory which states that if ever anybody discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable. There is another theory which states that this has already happened."
- Douglas Adams
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



handler
Saturday, September 24, 2005

works fine under linux (!) with the new ati driver

Ret
Monday, November 21, 2005

The example is not compiled. Writes "HDR\App.cpp(592) : error C2660: 'Renderer::changeRenderTarget' : function does not take 0 arguments"

renderer->changeRenderTarget(); - And what parameter to transfer here?

renderer->setShader(toneMapping);
renderer->setTexture("Base", rtColor);

Humus
Saturday, November 26, 2005

You need to download the demo again as I changed the framework API slightly.

Asad
Saturday, March 11, 2006

im facing some problems when compiling your hdr code.

error C2065: 'NORMALHEIGHTMAP' : undeclared identifier

my system specs aer as follows:

6600gt, 1gb ram, 3000+ 64bit 939.

Sombra
Saturday, March 11, 2006

I have a GeForce 6800GS and this HDR Demo run, but no image appear on screen, only a black screen. But the options window is exibited normally by press F1.

Installed Driver: ForceWare 81.98

This problem too ocurr in my old 6600GT.

Excuse-me for poor english, my natural language is Portuguese.

Humus
Sunday, March 12, 2006

asad, download the latest version of both the demo and the framework and it should work.

Asad
Tuesday, March 14, 2006

i downloaded framework3 and the newer demo as u suggested. now it does compile but when i click the execute button i get this error.

-------------------Configuration: HDR - Win32 Debug--------------------
Build : warning : failed to (or don't know how to) build 'C:\Documents and Settings\Asad\Desktop\New Folder\HDR\Framework3\Windows\Resources.rc'
Compiling resources...
RC : fatal error RC1110 : could not open C:\Documents and Settings\Asad\Desktop\New Folder\HDR\Framework3\Windows\Resources.rc
Error executing rc.exe.

Asad
Tuesday, March 14, 2006

i would also like to ask what does '../' means. i thought it means to look in the current folder but this does not work somehow. well i had to change a few lines. i placed the framework in the Microsoft Visual Studio\VC98\Include folder and also in the directory frowhere i was compiling the code.

E.g

#include "../Framework3/Util/TexturePacker.h"

to

#include "Framework3/Util/TexturePacker.h"

could this modification be one of the reasons cause of which it is not being compiled properly.

More pages: 1 2 3 4 5 6 7 8