[comp.graphics] Radiosity programs, anyone?

engelson-sean@CS.YALE.EDU (Sean Philip Engelson) (02/11/89)

Does anyone out there have or know of a program to do radiosity
imaging that I could get (with source!) and play with, preferably for
a Pixar?  I'm planning on doing some work with radiosity-type stuff,
and would like to avoid building the entire system from scratch.

Thanks,
	-Sean-

----------------------------------------------------------------------
Sean Philip Engelson, Gradual Student	Who is he that desires life,
Yale Department of Computer Science	Wishing many happy days?
Box 2158 Yale Station			Curb your tongue from evil,
New Haven, CT 06520			And your lips from speaking
(203) 432-1239				   falsehood.
----------------------------------------------------------------------
I know not with what weapons World War III will be fought, but World
War IV will be fought with sticks and stones.
                -- Albert Einstein

markv@tillamook.uucp (Mark VandeWettering) (02/11/89)

In article <50267@yale-celray.yale.UUCP> engelson-sean@CS.YALE.EDU (Sean Philip Engelson) writes:

>Does anyone out there have or know of a program to do radiosity
>imaging that I could get (with source!) and play with, preferably for
>a Pixar?  I'm planning on doing some work with radiosity-type stuff,
>and would like to avoid building the entire system from scratch.

	Ah, would that I had such equipment *sniffle* :-)

Radiosity is not any more difficult than raytracing, as a matter of fact, 
raytracing can be used to aid in the calculation of form factors.   In the 
classic "hemicube" radiosity papers, they always rendered polygons against
the surface of the hemicube using Z-buffer.  It is much easier to use
a raytracer for the same purpose.  

I have thought of doing a radiotracer and releasing it under the same 
public domain status as my raytracer, but I haven't had time to clean up 
my raytracer more, much less start a new project.   Hopefully someday....

yigong@alberta.UUCP (Yigong Wang) (02/12/89)

In article <50267@yale-celray.yale.UUCP> engelson-sean@CS.YALE.EDU (Sean Philip Engelson) writes:
>
>Does anyone out there have or know of a program to do radiosity
>imaging that I could get (with source!) and play with, preferably for
>

I have such a program that produces very good radiosity images. But it
is very slow, and especially not portable (I used some graphics packages built
here). 

>a Pixar?  I'm planning on doing some work with radiosity-type stuff,
>and would like to avoid building the entire system from scratch.
>

Actually, a radiosity program is not so complex as it is thought. Basically,
it consists of four parts which are quite independent of each other:

           Subdivider: divide polygons into smaller patches;
           Form-factor calculator: determine form-factor between patches;
           Guass-Siedel solver: solve radiosity equations;
           Render: display final image.

The major part is the form-factor calculation. I try to make the part
machine-independent. Obviously, the solver is always available.

The program only deals with diffuse surfaces. I am working on other
aspects.

------------------------
email: yigong@pembina.alberta.UUCP