home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Raytrace & Morphing / SOS-RAYTRACE.ISO / programm / scripts / pov / layit / layiton.pov < prev    next >
Encoding:
Text File  |  1994-06-01  |  1.6 KB  |  63 lines

  1. // POV-Ray 2.n scene file.
  2. // Copyright 1994 by Dan Farmer.  All Rights Reserved
  3. // This scene file may be used freely for personal use and as a learning
  4. // example but permission is required for any form of commercial use or 
  5. // distribution in whole or in part of the scene description or the 
  6. // resulting image.
  7. //  Dan Farmer 
  8. //  CIS [74431,1075]
  9. //  internet 74431.1075@compuserve.com
  10. //==================================================================
  11. // Requires:
  12. //    spill.pov    : Main file.  Sets up camera and places objects.
  13. //    boards.inc   : Wooden flooring composed of "boards".  
  14. //    can.inc      : Varnish can.  Needs LABEL.TGA imagemap.
  15. //    puddle.inc   : Blob used as spilled water.
  16. //==================================================================
  17.  
  18. // General include files        
  19. #include "colors.inc"
  20. #include "textures.inc"
  21. #include "shapes.inc"
  22.  
  23. // Scene-specific include files
  24. #include "boards.inc"
  25. #include "can.inc"
  26. #include "puddle.inc"
  27.  
  28. #max_trace_level 10            // Lower this if you need to
  29. background { color Gray35 }
  30.  
  31. camera {
  32.   location <5, 8, -9>
  33.   sky y
  34.   right x*1.333
  35.   direction z*2.25
  36.   up       <0, 1, 0>
  37.   look_at  <-0.2, 0.2, 0>
  38. }
  39.  
  40. light_source{< -10 , 10 ,  -15  > color White 
  41.     spotlight
  42.     point_at <0,0,0>
  43.     radius 30
  44.     falloff 45
  45. }
  46.  
  47. light_source{< 3, 10,  -10  > color White 
  48.     spotlight
  49.     point_at <0,0,0>
  50.     radius 60
  51.     falloff 75
  52. }
  53.  
  54. object { Boards translate -x*1.5}
  55. object { Puddle }
  56. object { Can
  57.     rotate -x*90
  58.     translate y*1.1
  59.     translate <-0.65, 0, 3.7>
  60.     rotate -y*75
  61. }
  62.  
  63.