home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 August / chip_08_2000.iso / aktualnosci / shareware / Rhinoceros / rh11eval_20000320.exe / %MAINDIR% / POV / lights.inc < prev    next >
Encoding:
Text File  |  2000-06-08  |  1.0 KB  |  46 lines

  1. // Rhino light definition file for POV-Ray 3.1 and up
  2. //
  3. // Variables you can use in the material definitions for lights:
  4. // rh_location = light location
  5. // rh_color = light color
  6. // rh_layercolor = layer color of the light
  7. // rh_radius = spotlight radius
  8. // rh_falloff = spotlight falloff
  9. // rh_point_at = spotlight target 
  10.  
  11. #declare rh_pointlight = light_source {
  12.    rh_location
  13.    color rh_color
  14. }
  15.  
  16. #declare rh_spot = light_source {
  17.    rh_location
  18.    color rh_color
  19.    spotlight
  20.    point_at rh_point_at
  21.    radius rh_radius
  22.    falloff rh_falloff
  23.    tightness 10
  24. }
  25.  
  26. //this is here to make sure scenes made for BMRT also work
  27. #declare rh_spotlight = light_source {
  28.    rh_location
  29.    color rh_color
  30.    spotlight
  31.    point_at rh_point_at
  32.    radius rh_radius
  33.    falloff rh_falloff
  34.    tightness 10
  35. }
  36.  
  37. //this is here to make sure scenes made for BMRT also work
  38. #declare distantlight = light_source {
  39.    rh_location
  40.    color rh_color
  41.    spotlight
  42.    point_at rh_point_at
  43.    radius rh_radius
  44.    falloff rh_falloff
  45.    tightness 10
  46. }