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