Global Illumination Playfield

davepermen 101 Oct 20, 2004 at 22:53


Well well. I thought I should share some of my work, too. I’m currently toying with C#, and I’m very happy with it. I’ve learned much about server programming, about networking, serialising, and all. I’ve trained this mostly for one reason: Parallel Network Rendering. My plans are, to get realtime raytracing working. Well, I’ve done quite some stuff with the network, but obviously, they don’t create a good screenshot (while you can browse during its online-times. It’s a webserver coded by myself).

During the last days, I once again started playing with rendering itself. I’ve quickly set up something in c#, to test its rapid development capabilities. and now, proudly, I can show up my first time, that I calculate full Global Illumination. Yeah, I’ve talked over the years about it, and never actually got around fully implementing it.

My next plans are to add stratisfied sampling, and re-implement importance sampling.

Full GI (Indirect Lighting, Soft Shadows, Colour Bleeding, and the stuff).
Constant Colour per Object.
Spheres and Planes.
Fast First Results (at 320x240 currently 1fps, but the result is obviously very noisy).
HDR Lighting.
Automatic Camera Exposure;

currently it really traces just randomly around.

Time for this image: No clue. I let it render and cummulate the frames for several hours, I guess. I was out, meeting my new sister..

(Btw: It’s fun to see the auto-generated .png file getting smaller and smaller, the more the image convergences to the correct result. Fact is, the more it converges, the less noise is there, ergo, the smaller the png size.. looks funny).

I’ll show more laters.. and possibly a bigger pict, too.. Hope you like it.

14 Replies

Please log in or register to post a reply.

NomadRock 101 Oct 21, 2004 at 00:06

Very pretty. I would love to see more pics.

GregTheOch 101 Oct 21, 2004 at 06:24

Nice picture should I say.

I wonder, where do you come from ? Basel ?

davepermen 101 Oct 21, 2004 at 09:49

Augst.. thats near Basel.

you? :D

GregTheOch 101 Oct 21, 2004 at 13:21

I come from Mulhouse. But I work in Muttenz (BL).

Funny ;-)

davepermen 101 Oct 21, 2004 at 13:36

hehe.. i know both. i just was in muttenz today (school..). i work in basel.

GregTheOch 101 Oct 21, 2004 at 13:54

hmmm let me guess.. at the fhbb ?

and in which company do you work ? anything to do with gfx ?

Ed_Mack 101 Oct 21, 2004 at 16:10

I love GI images, they make me feel so warm and fuzzy :)

davepermen 101 Oct 21, 2004 at 16:14

I’m currently rendering a desktop version of the image.. means 1280x1024. it’s done since loooong but i let it converge till i see no noise (and takes, with my algorithms, loooooooooooooooooooooooooong :D).

it’s running for some hours now.. now it starts to get quite clean.. i’ll let it run over night and see what happens:D the png shrank from over 3mb to 2.34mb now, means noise is greatly reduced :D i can post the image then, too, so you can have it as a choise for a desktop background..

oh, and.. my choise of colours fits perfectly to devmaster, somehow :D

anubis 101 Oct 21, 2004 at 16:14

nice work dave… i’ll upload some of my own :)
hey… let’s start an GI art competition !

davepermen 101 Oct 21, 2004 at 16:17

w00t !

bladder 101 Oct 21, 2004 at 17:37

That does look quite stunning. Nice job dave. It really is worth having a desktop image of that :)

donBerto 101 Oct 23, 2004 at 10:24

wow - this one beats your prior one [the black background with reddish-orange sphere]. I’d like to see more pics [time willing :lol:].

anubis: agreed!

: regards to all :

davepermen 101 Oct 23, 2004 at 14:45

indeed thats bether than the orange sphere :D but hey, that was just to show the sphere intersection works! :D

i got stratified sampling working, w00t! currently the rendering algo is wrong for lots of fast frames that cummulate (so i have to render only few slow frames instead.. not goot for interactive stuff), but hey, it works, and converges much faster, yeah! ROCK DA HOUSE! :D

a refactor of the algo will follow sooner or later to get up to several fps again in small resolutions.. but as i go out again today i bether give it a big job to render and just let it be.. :D

SYS49152 101 Oct 27, 2004 at 08:09

NICE PICTURE ! Looks superb. :D
Nice to see that you done this with C#.

C# is really a nice language. Iam working atm with c# at home and i dont think i will return to c++. :ohmy: