home *** CD-ROM | disk | FTP | other *** search
/ ANews 3 / AnewsCD3.iso / atari / GRAPHX / POV / 68030.060 / POV31G30 / POVRAY_3.1G / SCENES / ADVANCED / PIECE2 / PIECE2.POV < prev    next >
Text File  |  1999-10-30  |  3KB  |  85 lines

  1. // Persistence Of Vision raytracer version 3.1 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.  
  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.  
  57.    rotate 25*z
  58. }
  59.  
  60. #declare plate =
  61. intersection {
  62.    object { Cylinder_Y scale <15, 1, 15> }
  63.    plane { y, 0 }
  64.    plane { -y, 1 }
  65.  
  66.    texture { gilt_texture }
  67. }
  68.  
  69. #declare plate_border =
  70. intersection {
  71.    object { Cylinder_Y scale <17, 1, 17> }
  72.    object { Cylinder_Y scale <15, 1, 15> inverse }
  73.    plane { y, 0  }
  74.    plane { -y, 1  }
  75.  
  76.    texture { oak  }
  77. }
  78.  
  79. object { orb translate 3.0*y }
  80. object { spural1 rotate -28*y translate < 8.9, -12.5, -0.5>  }
  81. object { spural2 rotate 212*y translate <-8.9, -12.5, -0.5>  }
  82.  
  83. object { plate translate -12.7*y }
  84. object { plate_border translate -12.7*y }
  85.