home *** CD-ROM | disk | FTP | other *** search
/ Mega A/V / mega_av.zip / mega_av / GRAPHUTL / POVSCN.ZIP / LEVEL2.ZIP / TETRA.POV < prev    next >
Text File  |  1992-07-03  |  2KB  |  105 lines

  1. // Persistence Of Vision raytracer version 1.0 sample file.
  2.  
  3. // By ???
  4.  
  5. #include "shapes.inc"
  6. #include "shapes2.inc"
  7. #include "colors.inc"
  8. #include "textures.inc"
  9.  
  10. camera {
  11.    location <0.0 30.0 -200.0>
  12.    direction <0.0 -0.15 1.0>
  13.    up <0.0 1.0 0.0>
  14.    right <1.333 0.0 0.0>
  15. }
  16.  
  17. #declare Tetra = object {
  18.    intersection { Tetrahedron }
  19.  
  20.    texture {
  21.       0.01
  22.       colour Gold
  23.       ambient 0.1
  24.       diffuse 0.7
  25.       reflection 0.4
  26.       brilliance 6.0
  27.    }
  28.    colour Gold
  29. }
  30.  
  31. object { Tetra
  32.    scale <10.0 10.0 10.0>
  33.    rotate <0.0 -45.0 0.0>
  34.    translate <-10.0 0.0 -105.0>
  35. }
  36.  
  37. object { Tetra
  38.    scale <10.0 10.0 10.0>
  39.    rotate <0.0 -40.0 0.0>
  40.    translate <75.0 0.0 50.0>
  41. }
  42.  
  43. object { Tetra
  44.    scale <10.0 10.0 10.0>
  45.    rotate <0.0 30.0 0.0>
  46.    translate <-60.0 0.0 -50.0>
  47. }
  48.  
  49. object { Tetra
  50.    scale <10.0 10.0 10.0>
  51.    rotate <0.0 -75.0 0.0>
  52.    translate <60.0 0.0 -65.0>
  53. }
  54.  
  55. object {
  56.    sphere { <-50.0 50.0 100.0> 100.0 }
  57.    texture {
  58.       0.01
  59.       colour White
  60.       ambient 0.05
  61.       diffuse 0.1
  62.       reflection 0.97
  63.       brilliance 4.0
  64.    }
  65.    colour White
  66. }
  67.  
  68. object {
  69.    plane { <0.0 1.0 0.0> -50.0 }
  70.    texture {
  71.       0.01
  72.       checker colour Blue colour Gray
  73.       scale <40.0 40.0 40.0>
  74.       ambient 0.3
  75.       diffuse 0.7
  76.       reflection 0.1
  77.       brilliance 3.0
  78.    }
  79.    colour Blue
  80. }
  81.  
  82. object {
  83.    plane { <0.0 1.0 0.0> 500.0 }
  84.    texture {
  85.       0.05
  86.       Bright_Blue_Sky
  87.       scale <2000.0 500.0 1000.0>
  88.       ambient 0.7
  89.       diffuse 0.0
  90.    }
  91.    colour red 0.5 green 0.5 blue 0.8
  92. }
  93.  
  94. object {
  95.    light_source { <60.0 60.0 -200.0>
  96.       colour White
  97.    }
  98. }
  99.  
  100. object {
  101.    light_source { <-60.0 60.0 -200.0>
  102.       colour White
  103.    }
  104. }
  105.