home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!psinntp!eye!jesse
- From: jesse@eye.com (Jesse Lackey)
- Newsgroups: comp.graphics
- Subject: Interest in (very basic) PD Radiosity code?
- Message-ID: <1992Jul24.145112.29018@eye.com>
- Date: Fri, 24 Jul 92 18:51:12 GMT
- Distribution: world
- Keywords: public domain,radiosity,crummy
- Organization: 3D/EYE, Inc. Ithaca, NY
- Lines: 53
-
- During my "free time" in college in 1991, I wrote a very simple
- radiosity/raytracing system. I am willing to make it public domain, as long
- as I don't have to support it in any way. It should be fairly portable, since
- the output is a raw RGB image.
-
- This was written after I took a graphics class at Cornell, where we
- discussed radiosity but did no projects involving it. Since I was struck by
- how elegant the basic algorithm is and how beautiful the resulting renderings
- could be, over a Christmas break and for most of the next semester I worked on
- this thing. Bear in mind that I knew nothing about meshing and radiosity at
- the time (except 3? lecures and a few pages in a book), so it is the most
- *basic* system possible (read: slow and featureless).
-
- What it does:
- 1. converts 4-sided polygons, with opposite sides parallel, into
- patches (does squares, rectangles, trapezoids).
- 2. shoots any number of patches to all others (specify number of
- patches or stopping criterion).
- 3. raytraces radiosity database.
-
- The polygon->patch "mesher" creates a radiosity file, which can be read into
- the radiator, worked on, and written back out. The raytracer reads the
- radiosity file and a camera spec, and writes out the image. This way, you can
- shoot some, look at results, shoot some more, etc.
-
- What it doesn't do:
- 1. anything but trapezoidal polygons (opposite sides must be ||)
- 2. occlusion. This actually wouldn't be too hard to put in,
- except that it wouldn't look too good because there is no:
- 3. adaptive subdivision. One initial mesh fits all, unfortunately.
- 4. transparency, texture mapping, etc.
-
- So I don't know how useful it would be for anyone who wants to do something
- "serious". I *did* learn a lot about radiosity and meshing, however. If you
- are on square 1 and would just like to play with something simple, this might
- be what you want.
-
-
- If I get enough requests, I'll put something together and ftp it to some sites.
-
-
- NOTE: I **WILL NOT** be supporting this. Simple bug fixes, maybe. Anything
- major, no way. It is too old and clunky to become useful, and I do radiosity
- all day at my job anyway, so I'm not going to put a lot more effort into it.
-
- If you want a good PD radiosity system, check out "radiance"? by Greg Ward. I
- believe it is PD, anyhow...
-
- --
- Jesse Lackey ---> jesse@eye.com <--- Please Note: I DON'T speak for 3D/Eye!
- 3D/EYE, Inc., 2359 N. Triphammer Rd., Ithaca, NY 14850 voice: (607) 257-1381
- "There was a shopping mall, now its all covered with flowers" <-- Silly Quote
- "If this is paradise, I wish I had a lawn mower" -Talking Heads <-- As Required
-