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

  1. // Persistence Of Vision raytracer version 3.1 sample file.
  2. // Omimax camera example
  3. // File by Dieter Bayer
  4.  
  5. global_settings { assumed_gamma 2.2 }
  6.  
  7. #include "colors.inc"
  8.  
  9. // camera used for omnimax
  10.  
  11. camera {
  12.   omnimax 
  13.   location <0, 2, -20>
  14.   right <4/3, 0, 0>  
  15.   up <0, 1, 0>         
  16.   direction <0, 0, 1> 
  17.   look_at <0, 2, 10>
  18. }
  19.  
  20. background { color red 0.078 green 0.361 blue 0.753 }
  21.  
  22. light_source { <100, 100, -100> color Gray60 }
  23.  
  24. light_source { <-100, 100, -100> color Gray60 }
  25.  
  26. #declare My_Texture_1 =
  27. texture {
  28.   pigment {
  29.     color red 1 green 0.75 blue 0.33
  30.   }
  31.   finish {
  32.     diffuse 1
  33.     phong 0
  34.     phong_size 0
  35.     reflection 0
  36.   }
  37. }
  38.  
  39. triangle { <50, -4, 50> <-50, -4, 50> <-50, -4, -50> texture { My_Texture_1 } }
  40. triangle { <50, -4, 50> <-50, -4, -50> <50, -4, -50> texture { My_Texture_1 } }
  41.  
  42. #declare My_Texture_2 =
  43. texture {
  44.   pigment {
  45.     color red 1 green 0.9 blue 0.7
  46.   }
  47.   finish {
  48.     diffuse 0.5
  49.     phong 0.5
  50.     phong_size 3
  51.     reflection 0.5
  52.   }
  53. }
  54.  
  55. /* red */
  56.  
  57. #declare My_Texture_3 =
  58. texture {
  59.   pigment {
  60.     color red 1 green 0 blue 0
  61.   }
  62.   finish {
  63.     diffuse 0.5
  64.     phong 0.5
  65.     phong_size 3
  66.     reflection 0.5
  67.   }
  68. }
  69.  
  70. /* green */
  71.  
  72. #declare My_Texture_4 =
  73. texture {
  74.   pigment {
  75.     color red 0 green 1 blue 0
  76.   }
  77.   finish {
  78.     diffuse 0.5
  79.     phong 0.5
  80.     phong_size 3
  81.     reflection 0.5
  82.   }
  83. }
  84.  
  85. /* blue */
  86.  
  87. #declare My_Texture_5 =
  88. texture {
  89.   pigment {
  90.     color red 0 green 0 blue 1
  91.   }
  92.   finish {
  93.     diffuse 0.5
  94.     phong 0.5
  95.     phong_size 3
  96.     reflection 0.5
  97.   }
  98. }
  99.  
  100. /* yellow */
  101.  
  102. #declare My_Texture_6 =
  103. texture {
  104.   pigment {
  105.     color red 1 green 1 blue 0
  106.   }
  107.   finish {
  108.     diffuse 0.5
  109.     phong 0.5
  110.     phong_size 3
  111.     reflection 0.5
  112.   }
  113. }
  114.  
  115. sphere { <+10, 0, +10>, 4 texture { My_Texture_3 } }
  116.  
  117. sphere { <-10, 0, -10>, 4 texture { My_Texture_6 } }
  118.  
  119. sphere { <+10, 0, -10>, 4 texture { My_Texture_5 } }
  120.  
  121. sphere { <-10, 0, +10>, 4 texture { My_Texture_4 } }
  122.  
  123.  
  124. sphere { <-10, 20, -10>, 4 texture { My_Texture_6 } }
  125.  
  126. sphere { <+10, 20, -10>, 4 texture { My_Texture_6 } }
  127.  
  128. sphere { <-10, 20, +10>, 4 texture { My_Texture_6 } }
  129.  
  130. sphere { <+10, 20, +10>, 4 texture { My_Texture_6 } }
  131.  
  132. cylinder { <-10, 0, -10>, <+10, 0, -10>, 2 texture { My_Texture_2 } }
  133.  
  134. cylinder { <+10, 0, -10>, <+10, 0, +10>, 2 texture { My_Texture_2 } }
  135.  
  136. cylinder { <+10, 0, +10>, <-10, 0, +10>, 2 texture { My_Texture_2 } }
  137.  
  138. cylinder { <-10, 0, +10>, <-10, 0, -10>, 2 texture { My_Texture_2 } }
  139.  
  140. cylinder { <-10, 20, -10>, <+10, 20, -10>, 2 texture { My_Texture_2 } }
  141.  
  142. cylinder { <+10, 20, -10>, <+10, 20, +10>, 2 texture { My_Texture_2 } }
  143.  
  144. cylinder { <+10, 20, +10>, <-10, 20, +10>, 2 texture { My_Texture_2 } }
  145.  
  146. cylinder { <-10, 20, +10>, <-10, 20, -10>, 2 texture { My_Texture_2 } }
  147.  
  148. cylinder { <-10, 0, -10>, <-10, 20, -10>, 2 texture { My_Texture_2 } }
  149.  
  150. cylinder { <-10, 0, +10>, <-10, 20, +10>, 2 texture { My_Texture_2 } }
  151.  
  152. cylinder { <+10, 0, +10>, <+10, 20, +10>, 2 texture { My_Texture_2 } }
  153.  
  154. cylinder { <+10, 0, -10>, <+10, 20, -10>, 2 texture { My_Texture_2 } }
  155.  
  156.