# Tag Info

9

Indeed, that is all you need for radiosity. There are two different (but equal) formulations. The first is to "radiate" or shoot light from each patch (in your case probably a face), and the other is to "gather" or receive light into each patch. If you iteratively do this enough times, you get radiosity. The first step is to figure out where light ...

6

Here is a little help on getting you started with this rendering. This may not be the best way to accomplish this task however, it should work. First I created a structure to hold your data for parsing from text file: public struct Data { public Data(float x, float y, float value){ X = x; Y = y; Value = value; } ...

3

On the link bellow you will find one of the most excellent explanations of radiosity: http://freespace.virgin.net/hugo.elias/radiosity/radiosity.htm It is worth reading even if you know it well. So funny :)

3

Hardware rasterizers are only designed to support perspective projection, and they assume that positions and other attributes can be interpolated "linearly" (actually, they use perspective-correct interpolation, where quantities vary along a linear path but not necessarily at a linear rate). They cannot rasterize hemispherical/fisheye/parabolic projections ...

1

You need to weight the samples by the cosine of the sample and the forward direction of the hemicube. This is because the amount the texel contributes is related to what its incident angle is from the normal. You can precompute these cosine values offline for each pixel since they are the same for every hemicube, assuming all your hemicubes are oriented the ...

1

Actually skylight is one of the best applications. Point lights or spot lights are not the best fit for radiosity. Directional lights of area lights are just great for it (because they are not changing the complexity of render). Also read something about atmospheric scattering and its approximations to have nice sky ;).

1

Radiosity should work with any kind of light source; it's just a matter of how you define the first bounce. After the original light sources have been considered, all the surfaces that have been hit by light rays become light sources for the second pass, and so on. While I haven't implemented radiosity myself, I don't see why skylight/directional light ...

Only top voted, non community-wiki answers of a minimum length are eligible