home *** CD-ROM | disk | FTP | other *** search
/ Computerspiele Selbermachen / computerspieleselbermachen.iso / pov / piece2.pov < prev    next >
Text File  |  1993-09-27  |  3KB  |  84 lines

  1. // Persistence Of Vision Raytracer version 2.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. // The lighting is intentionally dim when the image is rendered.
  9. // You can enhance the image using PicLab's gamma, brightness, and
  10. // contrast command when you post-process the image.
  11.  
  12. #include "colors.inc"
  13. #include "textures.inc"
  14. #include "shapes.inc"
  15.  
  16. #include "light.inc"
  17. #include "ttexture.inc"
  18. #include "tori2.inc"
  19. #include "spural1.inc"
  20. #include "spural2.inc"
  21.  
  22. union {
  23.    object { light3 translate < -43,  14,  -80>  }
  24.    object { light3 translate < 134, 223,  -20>  }
  25.    object { light4 translate <  28,  88, -259>  }
  26.    pigment { White }
  27. }
  28.  
  29. camera {
  30.    location  < 15.0, 23.0, -55.0>
  31.    direction <  0.0,  0.0,   2.0  >
  32.    up        <  0.0,  1.0,   0.0  >
  33.    right     <  4/3,  0.0,   0.0  >
  34.    look_at   <  0.0, -0.5,   0.0  >
  35. }
  36.  
  37. #declare orb =
  38. union {
  39.    object { torus7 translate  9.510565*y  texture { oak  }  }
  40.    object { torus5 translate  8.090170*y  texture { oak  }  }
  41.    object { torus3 translate  5.877853*y  texture { oak  }  }
  42.    object { torus1 translate  3.090170*y  texture { oak  }  }
  43.    object { torusx translate  0.000000*y  texture { oak  }  }
  44.    object { torus1 translate -3.090170*y  texture { oak  }  }
  45.    object { torus3 translate -5.877853*y  texture { oak  }  }
  46.    object { torus5 translate -8.090170*y  texture { oak  }  }
  47.    object { torus7 translate -9.510565*y  texture { oak  }  }
  48.    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 } } }
  49.  
  50.    object { torus9 rotate <90,  60, 0> texture { brace_texture } }
  51.    object { torus9 rotate <90, 120, 0> texture { brace_texture } }
  52.    object { torus9 rotate <90, 180, 0> texture { brace_texture } }
  53.    bounded_by {
  54.       sphere { <0, 0, 0>, 11.0 }
  55.    }
  56.    rotate 25*z
  57. }
  58.  
  59. #declare plate =
  60. intersection {
  61.    object { Cylinder_Y scale <15, 1, 15> }
  62.    plane { y, 0 }
  63.    plane { -y, 1 }
  64.  
  65.    texture { gilt_texture }
  66. }
  67.  
  68. #declare plate_border =
  69. intersection {
  70.    object { Cylinder_Y scale <17, 1, 17> }
  71.    object { Cylinder_Y scale <15, 1, 15> inverse }
  72.    plane { y, 0  }
  73.    plane { -y, 1  }
  74.  
  75.    texture { oak  }
  76. }
  77.  
  78. object { orb translate 3.0*y }
  79. object { spural1 rotate -28*y translate < 8.9, -12.5, -0.5>  }
  80. object { spural2 rotate 212*y translate <-8.9, -12.5, -0.5>  }
  81.  
  82. object { plate translate -12.7*y }
  83. object { plate_border translate -12.7*y }
  84.