Radiosity for Beginners: Concerning form factors

Started by
27 comments, last by Gammastrahler 19 years, 12 months ago
quote:Original post by Gammastrahler
Here is an image rendered with my latest code, after a few passes, including the exponetional response curve for color conversion and fixed some little bugs:

Doesn''t look too bad.

quote:
The problem i still have, that when rendering with too many passes, the scene still gets brighter and brighter until it is completely white.

Are you resetting the shot patch energy after each pass ?

quote:
The problem i have with those books and papers is, that they are all english and my english is far from good... so understanding radiosity is actual a language problem for me...

Yeah, many are badly written and error prone on top of that. If you have specific questions, feel free to email me. I can try to explain it in either German or French, if that helps.
Advertisement
quote:
Are you resetting the shot patch energy after each pass ?

Yes, after each pass, i set the shooted energy = 0, (defined as delta in my code)

quote:
Yeah, many are badly written and error prone on top of that. If you have specific questions, feel free to email me. I can try to explain it in either German or French, if that helps.

I would really appreciate that German would be great, but i´ve never learned french Could you give me your email address?

/EDIT
have overseen the "mail" link i have sent you a mail...

[edited by - Gammastrahler on April 17, 2004 8:59:48 AM]
In ALX''s code, he has:

// Take differential area and shadow factor into account
ff *= Hij * S->area;

I know you have not computed any shadow factors, but in the code you posted, I can''t see where you are multiplying by the area of the sending patch. Are you in fact doing this?
Currently i don´t take area into account, since all my patches are the same size.
@ALX

I have encountered an error in my code: My form factors get greater than 1.0, some about 5.0 !!!!
Hi,

Just thought I''d leave a note and say I''ve found this thread very useful; I wrote a radiosity preprocessor ages ago, but never got it quite right (too dark, too bright, too crap etc). Anyway, I think I might go back to it now to see if I can apply the stuff I''ve read here to it. I''d love to hear how Gammastrahler fixes it in the end!

cheers,
T
Hi,

here is a new image, i have fixed the problem with the images getting too bright, but now i have another problem: I get convergence after 10000+ passes...

I thought i could forget about area, but that was the error!!! Now, it works, although very slow and unflexible.

Here is an image rendered with 30000 passes, but still far from converged, since the effects of color bleeding are very small yet:



greets
Gammastrahler
I see what you mean about the colour bleeding, but the results are still impressive all the same. How small are you patches? You seem to have a really nice and sharp edge to things such as the light in the image.

Thanks,
T
Each side consists of 128x128 patches... of course an performance overkill. But since i currently don´t compute vertex radiosities from my patches, as well as i don´t have support for lightmaps at the moment, the images look only good at a very high resolution (32x32 and above).

greets
Gammastrahler

This topic is closed to new replies.

Advertisement