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

  1. // Persistence Of Vision raytracer version 3.1 sample file.
  2.  
  3.  
  4. global_settings { assumed_gamma 2.2 }
  5.  
  6. #include "colors.inc"
  7. #include "textures.inc"
  8. #include "stones.inc"
  9.  
  10. #declare PREC = 10;
  11.  
  12. camera {
  13.     location <4.0, 3.0, -1.0>
  14.     up   y
  15.     right x * 1.33
  16.     direction z
  17.     look_at <0,0,0>
  18. }
  19.  
  20. background { rgb 0.5 }
  21.  
  22. light_source { <4.3, 4.5, -3.0> rgb <0.7, 0.75, 0.7> }
  23. light_source { <-3.3, 5.5, -1.0> rgb <0.4, 0.45, 0.3> }
  24.  
  25. julia_fractal {
  26.     <0.2, 0.1, 0.59, -0.2>
  27.     max_iteration 7
  28.     precision PREC
  29.     sqr
  30.     hypercomplex
  31.     texture {
  32.         pigment { rgb <0.8, 0.65, 0.85> }
  33.         finish { phong 0.7 phong_size 100 }
  34.     }
  35.     scale 0.5
  36.     rotate <-23, 213, -153>
  37.     translate <1, 0.5, 1>
  38. }
  39.  
  40. julia_fractal {
  41.     <0.02, -0.02, 0.8, 0>
  42.     max_iteration 10
  43.     precision PREC
  44.     sqr
  45.     quaternion
  46.  
  47.     interior {ior 1.5}
  48.     texture {
  49.         pigment { rgbf <0.8, 0.3, 0.2, 0.9>  }
  50.         finish {
  51.             phong 0.3
  52.             phong_size 200
  53.             reflection 0.4
  54.         }
  55.     }
  56.     rotate <40, -30, 120>
  57.     translate <0, 1.12, 0>
  58.     scale 0.5
  59.     translate <-1, 0.5, 1>
  60.  
  61. }
  62.  
  63. julia_fractal {
  64.     <0.33, 0.54, 0.52, 0.32>
  65.     max_iteration  7
  66.     precision PREC
  67.     cube
  68.     quaternion
  69.  
  70.     interior {ior 1.2}
  71.     texture {
  72.         pigment { rgbf <0.8, 0.3, 0.2, 0.9>  }
  73.         finish {
  74.             phong 0.3
  75.             phong_size 200
  76.             reflection 0.4
  77.         }
  78.     }
  79.     scale 0.5
  80.     rotate <-80, 30, -120>
  81.     translate <1, 0.5, -1>
  82. }
  83.  
  84. intersection {
  85.     julia_fractal {
  86.         <-0.54, 0.57, 0.0, -0.37>
  87.         max_iteration 8
  88.         precision PREC
  89.         cube
  90.         texture {
  91.             pigment { rgb <0.5, 0.3, 0.5> }
  92.             scale 0.7
  93.             finish { reflection 0.4 }
  94.         }
  95.     }
  96.     box { <-3, -3, -3>, <3, 3, 0.2> texture { T_Stone11 } }
  97.  
  98.     rotate <0, 30, 110>
  99.     scale 0.5
  100.     translate <-1, 0.5, -1>
  101. }
  102.  
  103.  
  104. plane { y, -0.5
  105.     texture {
  106. //        T_Stone13
  107.         pigment { White }
  108.         finish { diffuse 0.5 ambient 0.2 }
  109.         scale 0.5
  110.     }
  111. }
  112.  
  113.