home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 11 / 11.iso / m / m470 / 1.ddi / RMAN / POINTNOF.SL < prev    next >
Encoding:
Text File  |  1990-09-25  |  1.0 KB  |  34 lines

  1. /* @(#)pointlight.sl    1.5    (Pixar - RenderMan Division)    9/28/89 */
  2.  
  3. /*-______________________________________________________________________
  4. **
  5. ** Copyright (c) 1988 PIXAR.  All rights reserved.  This program or
  6. ** documentation contains proprietary confidential information and trade
  7. ** secrets of PIXAR.  Reverse engineering of object code is prohibited.
  8. ** Use of copyright notice is precautionary and does not imply
  9. ** publication.
  10. **
  11. **                      RESTRICTED RIGHTS NOTICE
  12. **
  13. ** Use, duplication, or disclosure by the Government is subject to
  14. ** restrictions as set forth in subdivision (b)(3)(ii) of the Rights in
  15. ** Technical Data and Computer Software clause at 252.227-7013.
  16. **
  17. ** Pixar
  18. ** 3240 Kerner Blvd.
  19. ** San Rafael, CA  94901
  20. **
  21. ** ______________________________________________________________________
  22. */
  23.  
  24. light
  25. pointnofalloff(
  26.     float intensity = 1;
  27.     color lightcolor = 1;
  28.     point from = point "shader" (0,0,0);    /* light position */
  29. )
  30. {
  31.     illuminate( from )
  32.     Cl = intensity * lightcolor;
  33. }
  34.