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

  1. // Persistence Of Vision raytracer version 3.1 sample file.
  2. // By Chris Young
  3. // This image contains an example of every shape from SHAPES2.INC
  4.  
  5. #version 3.1;
  6. global_settings { assumed_gamma 2.2 }
  7.  
  8. #include "colors.inc"
  9. #include "shapes.inc"
  10. #include "shapes2.inc"
  11.  
  12. camera {
  13.    location <10, 10, -20>
  14.    direction <0, 0, 1.5>
  15.    up  <0, 1, 0>
  16.    right <4/3, 0, 0>
  17.    look_at <2, 0, 0>
  18. }
  19.  
  20. light_source {<0, 1000, -1000> color LightGray}
  21.  
  22. light_source {<150, 100, -100> color LightGray}
  23.  
  24. #declare Col1 =-9;
  25. #declare Col2 =-3;
  26. #declare Col3 =3;
  27. #declare Col4 =8;
  28.  
  29. #declare Row1 =6;
  30. #declare Row2 =0;
  31. #declare Row3 =-6;
  32.  
  33. object { Tetrahedron
  34.    pigment {Red}
  35.    bounded_by {sphere{<0, 0, 0>, 3}}
  36.    translate <Col1, 2, Row1>
  37. }
  38.  
  39. object { Octahedron
  40.    pigment {Green}
  41.    bounded_by {sphere{<0, 0, 0>, 1.8}}
  42.    translate <Col2, 1.8, Row1>
  43. }
  44.  
  45. object { Dodecahedron
  46.    pigment {Blue}
  47.    bounded_by {sphere{<0, 0, 0>, 1.3}}
  48.    translate <Col3, 1.3, Row1>
  49. }
  50.  
  51. object { Icosahedron
  52.    pigment {Magenta}
  53.    bounded_by {sphere{<0, 0, 0>, 1.3}}
  54.    translate <Col4, 1.3, Row1>
  55. }
  56.  
  57. object { HalfCone_Y
  58.    pigment {Yellow}
  59.    bounded_by {sphere{<0, 0, 0>, 1.5}}
  60.    translate <Col1, 1.5, Row2>
  61. }
  62.  
  63. object { Hexagon
  64.    pigment {Cyan}
  65.    bounded_by {sphere{<0, 0, 0>, 1.5}}
  66.    translate <Col2, 1.5, Row2>
  67. }
  68.  
  69. object { Rhomboid
  70.    pigment {Tan}
  71.    bounded_by {sphere{<0, 0, 0>, 2.3}}
  72.    translate <Col3, 1.5, Row2>
  73. }
  74.  
  75. object { Pyramid
  76.    pigment {Orange}
  77.    translate <Col4, 1.5, Row2>
  78. }
  79.  
  80. object { Square_X
  81.    pigment {NeonPink}
  82.    translate <Col2, 1, Row3>
  83. }
  84.  
  85. object { Square_Y
  86.    pigment {Scarlet}
  87.    translate <Col3, 1, Row3>
  88. }
  89.  
  90. object { Square_Z
  91.    pigment {NeonBlue}
  92.    translate <Col4, 1, Row3>
  93. }
  94.  
  95. object {
  96.    plane {y, 0}
  97.    pigment {White}
  98. }
  99.