home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / graphics / 14097 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.5 KB  |  35 lines

  1. Newsgroups: comp.graphics
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!ames!haven.umd.edu!decuac!pa.dec.com!engage.pko.dec.com!nntpd.lkg.dec.com!peavax.mlo.dec.com!paik
  3. From: paik@mlo.dec.com (Samuel S. Paik)
  4. Subject: Re: PoV question: Is there a way to render shadows but not objects?
  5. Message-ID: <1993Jan22.012339.13856@peavax.mlo.dec.com>
  6. Sender: usenet@peavax.mlo.dec.com (USENET News System)
  7. Organization: Digital Workstations Software Group
  8. References: <1j761gINN8ps@topper.ksu.ksu.edu> <1993Jan18.152328.492@qdeck.com>
  9. Date: Fri, 22 Jan 1993 01:23:39 GMT
  10. Lines: 23
  11.  
  12. In article <1j761gINN8ps@topper.ksu.ksu.edu> jregehr@topper.ksu.ksu.edu (John David Regehr) writes:
  13. >
  14. >I am working on raytracing groups of plants, and I would like to make
  15. >images of just the shadows cast by the plants - sort of the opposite of
  16. >using the noshadows keyword.  
  17. >If anyone knows how to do this, I'd like to hear from you.  Thanks.
  18.  
  19. Here are two ideas:
  20.  
  21. If you have source code to the ray tracer, you could modify the
  22. lighting code so that shadow rays stop at all surfaces, or, more
  23. flexibly, stop shadow rays at all surfaces that have some (new)
  24. attribute set.  The last could be hacked quickly if you select some
  25. existing attribute you aren't using and use that.  However you might
  26. want to cast ``transparent'' shadows...
  27.  
  28. In Renderman, here is a simple idea:
  29.  
  30. Use shadow depth maps for the lights.  Do the shadow depth maps with
  31. all the scene objects, then render the scene, using those shadow depth
  32. maps, but without the objects you don't want to see.
  33.  
  34. Sam Paik
  35.