home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / graphics / ftpovscn / 1 / shapes.pov < prev    next >
Text File  |  1992-07-21  |  2KB  |  144 lines

  1. // Persistence Of Vision raytracer version 1.0 sample file.
  2. // By Chris Young
  3. // This image contains an example of every shape from SHAPES.INC
  4.  
  5. #include "colors.inc"
  6. #include "shapes.inc"
  7.  
  8. camera 
  9. {location <20 10 -30>
  10.    direction <0 0  1>
  11.    up  <0 1 0>
  12.    right <1.33333 0 0>
  13.    look_at <0 5 0>
  14. }
  15.  
  16. object {light_source {<200 50 -100> color LightGray}}
  17.  
  18. object {light_source {<50 100 -200> color LightGray}}
  19.  
  20. object {light_source {<200 200 -200> color LightGray}}
  21.  
  22. object
  23. {  
  24.    quadric {Ellipsoid}
  25.    texture {color Red}
  26.    translate <17 1 -13>
  27. }
  28.  
  29. object
  30. {quadric {Cylinder_X}
  31.    texture {color Green}
  32.    translate <0 6 -2>
  33. }
  34.  
  35. object
  36. {quadric {Cylinder_Y}
  37.    texture {color Blue}
  38.    translate <18 0 -8>
  39. }
  40.  
  41. object
  42. {quadric {Cylinder_Z}
  43.    texture {color Cyan}
  44.    translate <10 3 0>
  45. }
  46.  
  47. object
  48. {quadric { QCone_X}
  49.    texture {color Orange}
  50.    scale <9 1 1>
  51.    translate <13 10 -3>
  52. }
  53.  
  54. object
  55. {quadric { QCone_Y}
  56.    texture {color Yellow}
  57.    scale <1 9 1>
  58.    translate <7 10 -18>
  59. }
  60.  
  61. object
  62. {quadric { QCone_Z}
  63.    texture {color Maroon}
  64.    scale <1 1 9>
  65.    translate <7 15 -10>
  66. }
  67.  
  68. object
  69. {quadric {Plane_YZ}
  70.    texture {color Navy}
  71. }
  72.  
  73. object
  74. {quadric {Plane_XZ}
  75.    texture {color White}
  76. }
  77.  
  78. object
  79. {quadric {Plane_XY}
  80.    texture {color SkyBlue}
  81. }
  82.  
  83. object
  84. {quadric {Paraboloid_X}
  85.    texture {color Magenta}
  86.    translate <15 15 -9>
  87. }
  88.  
  89. object
  90. {quadric {Paraboloid_Y}
  91.    texture {color GreenYellow}
  92.    translate <5 11 -23>
  93. }
  94.  
  95. object
  96. {quadric {Paraboloid_Z}
  97.    texture {color OrangeRed}
  98.    translate <10 18 -6>
  99. }
  100.  
  101. object
  102. {quadric {Hyperboloid}
  103.    texture {color Tan}
  104.    scale <7 1 1>
  105.    translate <10 2 -5>
  106. }
  107.  
  108. object
  109. {quadric {Hyperboloid_Y}
  110.    texture {color NeonPink}
  111.    scale <1 6 1>
  112.    translate <3 10 -10>
  113. }
  114.  
  115. object
  116. {box {UnitBox}
  117.    texture {color Scarlet}
  118.    translate <14 1 -13>
  119. }
  120.  
  121. object
  122. {intersection {Cube}
  123.    texture {color ForestGreen}
  124.    translate <12 1 -16>
  125. }
  126.  
  127. object
  128. {intersection {Disk_X}
  129.    texture {color Coral}
  130.    translate <10 5 -24>
  131. }
  132.  
  133. object
  134. {intersection {Disk_Y}
  135.    texture {color SeaGreen}
  136.    translate <10 7 -24>
  137. }
  138.  
  139. object
  140. {intersection {Disk_Z}
  141.    texture {color Brass}
  142.    translate <10 9 -24>
  143. }
  144.