"Scientists have finally discovered what's wrong with the human brain: On the left side, there is nothing right, and on the right side, there is nothing left."
More pages: 1 2
New dynamic lightmapping demo
Sunday, August 20, 2006 | Permalink

As you've probably noticed, there haven't been many demos lately, mostly due to lack of time. But now I've finally finished this project that's been laying around for a while. It's generating lightmap dynamically on the GPU. On the first run it will generate four position maps, so it may take up to maybe 10 seconds to load. Later runs will start much quicker.

Enjoy!

Name

Comment

Enter the code below



Mumboz
Sunday, August 20, 2006

Im getting a "Couldn't create render target" error running the demo.

Im using a geforce 7800gt

Mike
Sunday, August 20, 2006

So rather than the tradional lightmaps its more an occlusion map thats created, storing the visibilty of a point from a light.

Either way very interesting with pleasing results, certainly very applicable for accelerating direct lightmaping as you state in an off line tool.

Lotuspec
Sunday, August 20, 2006

I'm also getting the "Couldn't create render target" (the 4 position maps are generated though) on a 6600GT.

Humus
Sunday, August 20, 2006

Sorry for the render target problem. I forgot Nvidia doesn't support R16F. I've uploaded a new version that uses RG16F if R16F is not available.

ViLiO
Sunday, August 20, 2006

Works fine now on my 6600gt,
Great demo, as usual

sqrt[-1]
Monday, August 21, 2006

Looking good!
Not a real problem but the dynamic lights don't seem to survive window resizing. (could just be my card/driver tho)

sqrt[-1]
Monday, August 21, 2006

Opps, not dynamic lights - I meant the dynamic lightmap textures.

Humus
Monday, August 21, 2006

Doh, forgot about device resets in DirectX. I'll fix that later.

More pages: 1 2