home *** CD-ROM | disk | FTP | other *** search
/ Computerspiele Selbermachen / computerspieleselbermachen.iso / pov / drums.pov < prev    next >
Text File  |  1993-09-27  |  3KB  |  123 lines

  1. // Persistence Of Vision Raytracer version 2.0 sample file.
  2.  
  3. // Drums, the new improved version  Feb. 1992
  4. // Copyright Dan Farmer 1992
  5. // Time: a little over 3 hours no anti-aliasing, 640,480 on 33/486
  6. //       7 hrs, 22 min +a0.05
  7.  
  8. /*  Fractint 17 parameter file to reconstruct REDNEWT.GIF:
  9. Clip the Red Newton block below and save to a file named REDNEWT.PAR.
  10. Run FRACTINT, press @ to get to the par file screen, press F6 to select
  11. REDNEWT.PAR. Make it as large as you think your memory will afford... I used
  12. 1024x768 myself.
  13.  
  14.  
  15. Red Newton         { ; Used as backdrop in DRUMS2.GIF
  16.   reset type=complexnewton passes=1
  17.   corners=-4.316552/-6.725229/9.54158/9.251383/-5.04438/10.512019
  18.   params=8/0/4/8 maxiter=32767 inside=0 periodicity=0
  19.   colors=000700<13>000000000000000<124>y00z00y00<108>800
  20.   }
  21.  
  22. */
  23.  
  24. #include "colors.inc"
  25. #include "shapes.inc"
  26. #include "textures.inc"
  27. #include "drums.inc"
  28.  
  29. max_trace_level 20
  30.  
  31. /*----------------------------- Viewer and lights -----------------------------*/
  32. camera {
  33.    location <0.0, 3.0, -90.0>
  34.    direction <0.0, 0.0, 2.0>
  35.    //   direction <0.0, 0.0,  3.0>  (Close up view, nice, too.)
  36.    up  <0.0,  1.0,  0.0>
  37.    right <4/3, 0.0, 0.0>
  38.    look_at <0.0, 8.0, 0.0>
  39. }
  40.  
  41.  
  42. #declare Spacing = 15
  43. #declare Brightness = 0.5
  44.  
  45. // Light source #1
  46. union {
  47.    light_source { <-Spacing, 0.0, 0.0> color red Brightness }
  48.    light_source { <0.0, Spacing, 0.0>  color green Brightness }
  49.    light_source { <Spacing, 0.0, 0.0>  color blue Brightness }
  50.  
  51.    pigment { White } // Doesn't do anything but suppresses a warning
  52.  
  53.    translate -100*z
  54.    rotate 80*x
  55. }
  56.  
  57. // Light source #2
  58. union {
  59.    light_source { <-Spacing, 0.0, 0.0> color red Brightness }
  60.    light_source { <0.0, Spacing, 0.0>  color green Brightness }
  61.    light_source { <Spacing, 0.0, 0.0>  color blue Brightness }
  62.  
  63.    pigment { White }
  64.  
  65.    translate -100*z
  66.    rotate <30, 30, 0>
  67. }
  68.  
  69. // Light source #3
  70. union {
  71.    light_source { <-Spacing, 0.0, 0.0> color red Brightness }
  72.    light_source { <0.0, Spacing, 0.0> color green Brightness }
  73.    light_source { <Spacing, 0.0, 0.0> color blue Brightness }
  74.  
  75.    pigment { White }
  76.  
  77.    translate -100*z
  78.    rotate <30, -30, 0>
  79. }
  80.  
  81. sphere {
  82.    <0, 0, 0>, 1000
  83.  
  84.    pigment {
  85.       image_map { gif "rednewt.gif" interpolate 4 }
  86.       translate <-0.5, -0.5, 0.0>
  87.       scale 800
  88.    }
  89.    finish {
  90.       ambient 1
  91.       diffuse 0.5
  92.    }
  93. }
  94.  
  95. // Floor
  96. plane {
  97.    y, -10.0
  98.  
  99.    pigment { Black }
  100.    finish {
  101.       ambient 0.2
  102.       diffuse 0.8
  103.       reflection 0.25
  104.    }
  105. }
  106.  
  107.  
  108. // Left drumset
  109.  
  110. object {
  111.    HalfSet
  112.    rotate 20.0*y
  113.    translate -13.0*x
  114. }
  115.  
  116.  
  117. // Right drumset
  118. object {
  119.    HalfSet
  120.    rotate -20.0*y
  121.    translate 13.0*x
  122. }
  123.