Saturday, December 29, 2012

All lit up

So here it is: shadows, ambient occlusion and diffuse all put together.
Note I tried to match the camera angles as best I could from the ambient occlusion images (here)
If it wasn't for those seams I'd be happy. I've had quite the adventure doing some GPGPU'ing to bake out all that lighting data. I should write it all up. But for now I'm off the the beach, To give my GPU a rest  ;)


So baked out some shadows at 16k * 16k. It only took 17 hours. I need to spend some time optimizing or get my self a render farm :)

I know what you're thinking, because I'm thinking the same thing. So how does it all look when put together? Well my computer is working on that, should have the results in a matter of minutes.

Thursday, December 27, 2012

Took quite of bit of time

I wanted to get some lighting into my virtual texture demo. So I wrote a super simple GPU light-mapper. Well maybe I shouldn't have made it so simple. Because it took ~32 hours to bake out a 16K * 16K light-map.
Looks OK for a first try, but those seams are killing me. But wheels are in motion to get some nice UV's. Of course the next step is to bake in the diffuse textures as well.

Virtual Texture Demo

I have started playing around with my virtual texture demo again. I have two video blog posts about it here...
and here...
Right now I'am trying to bake out some nice lighting, with a simple lightmap renderer that I wrote that runs on the GPU. Its super slow right now. But I'll talk more about that later.