home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / next / programm / 7721 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  1.7 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!emory!ogicse!mimbres.cs.unm.edu!droid!wick
  2. From: bbum@stone.com
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: Re: RenderMan shadow maps (was Re: Arrgh  - Renderman is crashing - HELP)
  5. Keywords: prman, shadows
  6. Message-ID: <1992Dec14.041302.472@stone.com>
  7. Date: 14 Dec 92 04:13:02 GMT
  8. Article-I.D.: stone.1992Dec14.041302.472
  9. References: <1992Dec13.063538.9696@athena.mit.edu>
  10. Sender: wick@stone.com
  11. Reply-To: bbum@stone.com
  12. Organization: Stone Design Corp
  13. Lines: 30
  14.  
  15. In article <1992Dec13.063538.9696@athena.mit.edu> shanega@athena.mit.edu  
  16. (Shane G. Artis) writes:
  17. > While there's a little attention focused on prman and qrman I'll insert
  18. > my favorite question into the discussion:
  19. > How on earth do you create shadows with prman???  The basic idea is
  20. > simple, create a Z-buffer image, use RiMakeShadow() to convert it to a
  21. > shadow map, and use the shadow map in a light source shader with a
  22. > shadow input (shadowspot, etc...).  Everything breaks down at the
  23. > first step though, since it looks like NeXT left out the ability to
  24. > write Z-buffer images!  Thus - no shadows, no photorealism, no
  25. > nothing.  I'm very frustrated about this...
  26. > So has anybody worked out the technique?  I'm completely stumped after
  27. > wasting hours and days trying to get it going.  NeXT's
  28. > vapor-documentation doesn't help of course...
  29. > Shane
  30.  
  31.  
  32. You can create your zfile with a call along the lines of:
  33.    RiDisplay("filename.z", "zfile", RI_Z, RI_NULL)
  34.  
  35. However, I have not yet decided on the best suffix to use, as .z is already  
  36. in use.  I use .zfile instead of .z.
  37.  
  38. Using the depth mapped file, once you have it, is still no joy!
  39.  
  40. wick
  41.