home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / graphics / 8148 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  2.9 KB

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