home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 12 / CD_ASCQ_12_0294.iso / maj / pvs / scene / mirror.pov < prev    next >
Encoding:
Text File  |  1993-11-02  |  2.6 KB  |  131 lines

  1. #version 1.0
  2.  
  3. camera {
  4.   location <20 10 -25>
  5.   direction <0 0 1.7>
  6.   right <1.333333 0 0>
  7.   look_at <0 3 0> }
  8.  
  9.  
  10. object { light_source { <160 160 -160> color red 1 green 1 blue 1 }}
  11.  
  12. #declare Chrome = texture {
  13.     brilliance 1.0
  14.     phong_size 90
  15.     reflection 1.0
  16.     refraction 0.0
  17.     ambient 0.4
  18.     roughness 0.00001
  19.     phong 1.0
  20. }
  21.  
  22. #declare Cube = intersection {
  23.    plane { <0.0 0.0 1.0> 1.0 }
  24.    plane { <0.0 0.0 -1.0> 1.0 }
  25.    plane { <0.0 1.0 0.0> 1.0 }
  26.    plane { <0.0 -1.0 0.0> 1.0 }
  27.    plane { <1.0 0.0 0.0> 1.0 }
  28.    plane { <-1.0 0.0 0.0> 1.0 }
  29. }
  30.  
  31. object {
  32.   intersection { Cube }
  33.   scale <10 0.0001 10>
  34.   texture {
  35.    checker
  36.    color red 1.0 blue 1.0 green 1.0
  37.    color red 0.0 blue 0.0 green 0.0
  38.    scale <3 3 3>
  39.    reflection 1.0
  40.    brilliance 1.0
  41.    phong 1.0
  42.    }
  43.    bounded_by {
  44.      intersection {
  45.      Cube
  46.      scale <11 0.0002 11> }}
  47. }
  48.  
  49.  
  50. object {
  51.   sphere { <-6 3 -6> 3 }
  52.   texture { Chrome }
  53.   bounded_by {sphere { <-6 3 -6> 3.1 }}
  54. }
  55.  
  56. object {
  57.   sphere { <5 2 5> 2 }
  58.   texture { Chrome }
  59.   bounded_by {sphere { <5 2 5> 2.1 }}
  60. }
  61.  
  62. object {
  63.   sphere { <7 3.5 -7> 3.5 }
  64.   texture {
  65.     color red 1.0 green 1.0 blue 1.0 alpha 0.9
  66.     reflection 0.2
  67.     ior 1.0
  68.     refraction 1.0
  69.     phong 1.0
  70.     phong_size 85
  71.     roughness 0.0001
  72.     }
  73.     bounded_by {sphere { <7 3.5 -7> 3.51 }}
  74. }
  75.  
  76. object {
  77.   intersection {
  78.    plane { <0.0 1.0 0.0>  1 }
  79.     quadric {
  80.       <1.0 0.0 1.0>
  81.       <0.0 0.0 0.0>
  82.       <0.0 0.0 0.0>
  83.       -1.0 }
  84.     plane { <0.0 -1.0 0.0> 1 } }
  85.     scale <3 8 3>
  86.     translate <-5 3 3>
  87.   texture {
  88.     color red 1.0 green 1.0 blue 1.0 alpha 1.0
  89.     reflection 0.2
  90.     ior 1.1
  91.     refraction 1.0
  92.     phong 1.0
  93.     phong_size 85
  94.     roughness 0.0001
  95.   }
  96.   bounded_by {
  97.   intersection {
  98.    plane { <0.0 1.0 0.0>  1 }
  99.     quadric {
  100.       <1.0 0.0 1.0>
  101.       <0.0 0.0 0.0>
  102.       <0.0 0.0 0.0>
  103.       -1.0 }
  104.     plane { <0.0 -1.0 0.0> 1 }
  105.     scale <3.1 9.1 3.1>
  106.     translate <-5 2 3> }}
  107. }
  108.  
  109. object {
  110.   sphere { <0 0 0> 500 }
  111.   texture {
  112.    bozo
  113.    turbulence 0.4
  114.    gradient <0 1 0>
  115.    color_map {
  116.    [0.0 0.25  color red 1.0  blue 1.0 green 1.0
  117.               color red 1.0  blue 0.0 green 1.0]
  118.    [0.25 0.45 color red 1.0  blue 0.0 green 1.0
  119.               color red 1.0  blue 0.0 green 0.0]
  120.    [0.45 0.65 color red 1.0  blue 0.0 green 0.0
  121.               color red 0.0  blue 1.0 green 0.0]
  122.    [0.65 1.00 color red 0.0  blue 1.0 green 0.0
  123.               color red 1.0  blue 1.0 green 1.0]
  124.    }
  125.    ambient 0.6
  126.    diffuse 0.0
  127.    scale <5000 500 5000>
  128.    translate <0 300 0>
  129. }}
  130.  
  131.