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

  1. // Persistence Of Vision raytracer version 3.1 sample file.
  2.  
  3. global_settings { assumed_gamma 2.2 }
  4.  
  5. #include "colors.inc"
  6. #include "textures.inc"
  7. #include "golds.inc"
  8. #include "metals.inc"
  9. #include "skies.inc"
  10.  
  11. camera {
  12.    location  <0, 4, -5.5>
  13.    direction <0, 0,  1.1>
  14.    up        <0, 1,  0>
  15.    right     <4/3, 0,  0>
  16.    look_at   <0.5, 0.5, 0>
  17. }
  18.  
  19. light_source {<10, 20, -30> color White}
  20. light_source {<15, 30, 10> color White shadowless }
  21.  
  22. plane { y, 0
  23.     pigment { color rgb <0.13, 0.41, 0.37> * 0.35 }
  24.     finish {
  25.         ambient 0.1
  26.         diffuse 0.5
  27.         reflection 0.35
  28.     }
  29. }
  30.  
  31. sky_sphere { S_Cloud1 }
  32.  
  33. #declare Teapot_Sphere_Radius = 0.05;
  34. #declare Sph_Pot = union { #include "teapot.sph" }
  35. #declare Cyl2_Pot = union { #include "teapot.c2" }
  36.  
  37. union {
  38.     object { Cyl2_Pot texture { T_Gold_5C } }
  39.     object { Sph_Pot texture { T_Silver_3C } }
  40.     translate ((3.15-2.0)/2) * z
  41.     rotate -x*90
  42.     translate -y*0.65
  43.     rotate y*60
  44. }
  45.