home *** CD-ROM | disk | FTP | other *** search
- /* @(#)pointlight.sl 1.5 (Pixar - RenderMan Division) 9/28/89 */
-
- /*-______________________________________________________________________
- **
- ** Copyright (c) 1988 PIXAR. All rights reserved. This program or
- ** documentation contains proprietary confidential information and trade
- ** secrets of PIXAR. Reverse engineering of object code is prohibited.
- ** Use of copyright notice is precautionary and does not imply
- ** publication.
- **
- ** RESTRICTED RIGHTS NOTICE
- **
- ** Use, duplication, or disclosure by the Government is subject to
- ** restrictions as set forth in subdivision (b)(3)(ii) of the Rights in
- ** Technical Data and Computer Software clause at 252.227-7013.
- **
- ** Pixar
- ** 3240 Kerner Blvd.
- ** San Rafael, CA 94901
- **
- ** ______________________________________________________________________
- */
-
- light
- pointnofalloff(
- float intensity = 1;
- color lightcolor = 1;
- point from = point "shader" (0,0,0); /* light position */
- )
- {
- illuminate( from )
- Cl = intensity * lightcolor;
- }