home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / GRAPHICS / POV_3 / SCENES / EXAMPLES / LEVEL3 / PIECE2 / PIECE2.POV < prev    next >
Encoding:
Text File  |  2004-07-23  |  2.7 KB  |  87 lines

  1. // Persistence Of Vision raytracer version 3.0 sample file.
  2.  
  3. // piece 2:
  4. //          by Truman Brown 11/91
  5.  
  6. //          Close-up of a museum piece in the Woild Museum
  7.  
  8. // NOTE: The following comment by Truman is no longer relevant.  The
  9. // gamma has been modified by the assumed_gamma setting below.  -dmf
  10. //
  11. //   The lighting is intentionally dim when the image is rendered.
  12. //   You can enhance the image using PicLab's gamma, brightness, and
  13. //   contrast command when you post-process the image.
  14.  
  15. #version 3.0
  16. global_settings { assumed_gamma 0.8 }
  17.  
  18. #include "colors.inc"
  19. #include "textures.inc"
  20. #include "shapes.inc"
  21.  
  22. #include "light.inc"
  23. #include "ttexture.inc"
  24. #include "tori2.inc"
  25. #include "spural1.inc"
  26. #include "spural2.inc"
  27.  
  28. object { light3 translate < -43,  14,  -80>  }
  29. object { light3 translate < 134, 223,  -20>  }
  30. object { light4 translate <  28,  88, -259>  }
  31.  
  32. camera {
  33.    location  < 15.0, 23.0, -55.0>
  34.    direction <  0.0,  0.0,   2.0  >
  35.    up        <  0.0,  1.0,   0.0  >
  36.    right     <  4/3,  0.0,   0.0  >
  37.    look_at   <  0.0, -0.5,   0.0  >
  38. }
  39.  
  40. #declare orb =
  41. union {
  42.    object { torus7 translate  9.510565*y  texture { oak  }  }
  43.    object { torus5 translate  8.090170*y  texture { oak  }  }
  44.    object { torus3 translate  5.877853*y  texture { oak  }  }
  45.    object { torus1 translate  3.090170*y  texture { oak  }  }
  46.    object { torusx translate  0.000000*y  texture { oak  }  }
  47.    object { torus1 translate -3.090170*y  texture { oak  }  }
  48.    object { torus3 translate -5.877853*y  texture { oak  }  }
  49.    object { torus5 translate -8.090170*y  texture { oak  }  }
  50.    object { torus7 translate -9.510565*y  texture { oak  }  }
  51.    sphere { <0, 0, 0> 4.3  texture { pigment { White } finish { ambient 0.0 diffuse 0.1 reflection 0.98 specular 1.0 roughness 0.00001 } } }
  52.  
  53.    object { torus9 rotate <90,  60, 0> texture { brace_texture } }
  54.    object { torus9 rotate <90, 120, 0> texture { brace_texture } }
  55.    object { torus9 rotate <90, 180, 0> texture { brace_texture } }
  56.    bounded_by {
  57.       sphere { <0, 0, 0>, 11.0 }
  58.    }
  59.    rotate 25*z
  60. }
  61.  
  62. #declare plate =
  63. intersection {
  64.    object { Cylinder_Y scale <15, 1, 15> }
  65.    plane { y, 0 }
  66.    plane { -y, 1 }
  67.  
  68.    texture { gilt_texture }
  69. }
  70.  
  71. #declare plate_border =
  72. intersection {
  73.    object { Cylinder_Y scale <17, 1, 17> }
  74.    object { Cylinder_Y scale <15, 1, 15> inverse }
  75.    plane { y, 0  }
  76.    plane { -y, 1  }
  77.  
  78.    texture { oak  }
  79. }
  80.  
  81. object { orb translate 3.0*y }
  82. object { spural1 rotate -28*y translate < 8.9, -12.5, -0.5>  }
  83. object { spural2 rotate 212*y translate <-8.9, -12.5, -0.5>  }
  84.  
  85. object { plate translate -12.7*y }
  86. object { plate_border translate -12.7*y }
  87.