home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / graphics / 14273 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.4 KB

  1. Path: sparky!uunet!charon.amdahl.com!amdahl!rtech!sgiblab!sdd.hp.com!ux1.cso.uiuc.edu!moe.ksu.ksu.edu!jregehr
  2. From: jregehr@vulcan.ksu.ksu.edu (John David Regehr)
  3. Newsgroups: comp.graphics
  4. Subject: Summary: how to render shadows but not objects in PoV
  5. Date: 27 Jan 1993 14:12:39 -0600
  6. Organization: Kansas State University
  7. Lines: 26
  8. Sender: jregehr@vulcan.ksu.ksu.edu (John David Regehr)
  9. Distribution: world
  10. Message-ID: <1k6qbnINNrv8@vulcan.ksu.ksu.edu>
  11. NNTP-Posting-Host: vulcan.ksu.ksu.edu
  12.  
  13.  
  14. Thanks to all the people who replied with email and to this group.
  15.     
  16. There seem to be two easy ways to render just the shadows of 
  17. objects:
  18.  
  19. 1.  Put the camera and light source at the same point, and color
  20.     the objects black.  This method does constrain the possible
  21.     viewing angles, or course.
  22.  
  23. 2.  Move the objects away from the plane that the shadows are to
  24.     be cast on.  If the light source is far enough away, the
  25.     magnification of the shadows becomes negligible.
  26.  
  27. Both of these methods work fine.  Another way (which I'm not sure
  28. will work) is to cast shadows against a "frosted glass" plane
  29. and place the camera so that it looks at the side of the plane
  30. opposite the objects.
  31.  
  32. Finally, if one wanted to alter the code some, it seems like it
  33. would be possible to add a keyword analagous to "no_shadows" that
  34. would cause an object to be transparent to camera-rays but opaque
  35. to shadow rays.
  36.  
  37.                                       - John Regehr
  38.  
  39.