home *** CD-ROM | disk | FTP | other *** search
/ Mega A/V / mega_av.zip / mega_av / GRAPHUTL / POVSCN.ZIP / LEVEL3.ZIP / TEAPOT.ZIP / TEAPOT.POV < prev   
Text File  |  1992-07-03  |  907b  |  50 lines

  1. // Persistence Of Vision Raytracer version 1.0 sample file.
  2.  
  3. // Utah Teapot w/ Bezier patches
  4. // adapted by Alexander Enzmann 
  5.  
  6. #include "shapes.inc"
  7. #include "colors.inc"
  8. #include "textures.inc"
  9.  
  10. #declare Teapot_Texture = texture {
  11.    color Red
  12.    phong 1.0  phong_size 100
  13.    ambient 0.15
  14.    diffuse 0.8
  15. }
  16.  
  17. #declare Teapot_Orientation = <-110 20 0>
  18.  
  19. #include "teapot.inc"
  20.  
  21. camera {
  22.    location <0.0  0.0  -10.0>
  23.    direction <  0.0  0.0  1.0>
  24.    up        <  0.0  1.0  0.0>
  25.    right     <  1.3333  0.0  0.0>
  26. }
  27.  
  28. object {
  29.    light_source { <10.0 40.0 -30.0>
  30.       colour White
  31.    }
  32. }
  33.  
  34.  
  35. /* Floor */
  36. object {
  37.    plane { <0 1 0> -8 }
  38.    texture { checker
  39.       color red 1.0 green 0.1 blue 0.1
  40.       color red 0.8 green 0.8 blue 0.8
  41.       scale <5 5 5>
  42.    }
  43. }
  44.  
  45. /* Back wall */
  46. object {
  47.    plane { <0 0 1> 100 }
  48.    texture { color red 0.3 green 0.3 blue 0.5 }
  49. }
  50.