"He, who sacrifices freedom for the sake of security, deserves neither."
- Benjamin Franklin
More pages: 1 2 3 4 5 6 ... 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



sqrt[-1]
Tuesday, September 6, 2005

Does not seem to work on Nvidia (6800 + 77.72)
Will try newer drivers.
GLIntercept reports:
GL ERROR - Function glClear(GL_DEPTH_BUFFER_BIT) generated error GL_INVALID_FRAMEBUFFER_OPERATION_EXT
GL ERROR - Function glDrawElements(GL_TRIANGLES,288,GL_UNSIGNED_SHORT,0x0000) generated error GL_INVALID_FRAMEBUFFER_OPERATION_EXT
GL ERROR - Function glDrawElements(GL_TRIANGLES,3000,GL_UNSIGNED_SHORT,0x0240) generated error GL_INVALID_FRAMEBUFFER_OPERATION_EXT
GL ERROR - Function glDrawElements(GL_TRIANGLES,354,GL_UNSIGNED_SHORT,0x19b0) generated error GL_INVALID_FRAMEBUFFER_OPERATION_EXT
GL ERROR - Function glDrawElements(GL_TRIANGLES,36,GL_UNSIGNED_SHORT,0x42709 generated error GL_INVALID_FRAMEBUFFER_OPERATION_EXT

Nitro
Tuesday, September 6, 2005

I would say there is a problem with FBO. It seems there is no support for rendering into non power of two textures using GL_TEXTURE_2D in current nvidia's drivers (I tried 77.77). The only way that works is using ARB/EXT/NV_texture_rectangle.

SUNSH
Tuesday, September 6, 2005

DOES NOT WORK ON MY 9800 PRO..GET SLIDING TEXTURES FLYING ALL OVER THE SCREEN

ULJarad
Tuesday, September 6, 2005

It won't work on my 7800GTX! I posted in the forum but it's rarely checked!

xg8
Tuesday, September 6, 2005

Dosen't work on my Rad9700pro, it says no fbo support, i'm using cats 5.1 as these seems best for battlefield 2, I'm not a programmer etc. Can someone explain what fbo means?

xg8
Tuesday, September 6, 2005

Weird, anyway i\\\'ve seen nitro\\\'s post about fbo with his nvidia card.

Maybe my drivers are too old to run it.

Nitro
Tuesday, September 6, 2005

There is also problem with depth renderbuffer. 16bit depth renderbuffer doesn't work. Need 24bit to work on nvidia. Does Ati's FBO support only 16bit depth renderbuffer? Or was there another reason to use 16bit in this demo?
BTW nice demo

Humus
Tuesday, September 6, 2005

ATI supports both 16 and 24bit depth buffer. I used 16bit because I didn't need any more bits than that.
How come Nvidia doesn't support NPOT GL_TEXTURE_2D? Wasn't NPOT textures one of the selling points of the 6800?

xg8, yes, your drivers are too old. Only the latest couple of drivers have FBO support.

More pages: 1 2 3 4 5 6 ... 8