home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #7 / amigamamagazinepolishissue1998.iso / varia / povray3 / povray3_fpu / pov3demo / objects / fractal2.pov < prev    next >
Text File  |  1997-12-12  |  2KB  |  114 lines

  1. // Persistence Of Vision raytracer version 3.0 sample file.
  2.  
  3. #version 3.0
  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.     texture {
  48.         pigment { rgbf <0.8, 0.3, 0.2, 0.9>  }
  49.         finish {
  50.             phong 0.3
  51.             phong_size 200
  52.             reflection 0.4
  53.             refraction 1 ior 1.5
  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.     texture {
  71.         pigment { rgbf <0.8, 0.3, 0.2, 0.9>  }
  72.         finish {
  73.             phong 0.3
  74.             phong_size 200
  75.             reflection 0.4
  76.             refraction 1
  77.             ior 1.2
  78.         }
  79.     }
  80.     scale 0.5
  81.     rotate <-80, 30, -120>
  82.     translate <1, 0.5, -1>
  83. }
  84.  
  85. intersection {
  86.     julia_fractal {
  87.         <-0.54, 0.57, 0.0, -0.37>
  88.         max_iteration 8
  89.         precision PREC
  90.         cube
  91.         texture {
  92.             pigment { rgb <0.5, 0.3, 0.5> }
  93.             scale 0.7
  94.             finish { reflection 0.4 }
  95.         }
  96.     }
  97.     box { <-3, -3, -3>, <3, 3, 0.2> texture { T_Stone11 } }
  98.  
  99.     rotate <0, 30, 110>
  100.     scale 0.5
  101.     translate <-1, 0.5, -1>
  102. }
  103.  
  104.  
  105. plane { y, -0.5
  106.     texture {
  107. //        T_Stone13
  108.         pigment { White }
  109.         finish { diffuse 0.5 ambient 0.2 }
  110.         scale 0.5
  111.     }
  112. }
  113.  
  114.