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