home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #7 / amigamamagazinepolishissue1998.iso / varia / povray3 / povray3_fpu / pov3demo / objects / fractal1.pov < prev    next >
Text File  |  1997-12-12  |  1KB  |  66 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 "shapes.inc"
  9.  
  10. camera {
  11.     location <0.0, 0.0, -12.0>
  12.     direction z*1.3
  13.     up y
  14.     right x*1.33
  15.     look_at <0.0, 0.0, 0.00>
  16. }
  17.  
  18. light_source { <-20.00, 30.00, -100.00> color Coral }
  19. light_source { <200.00, 300.00, -500.00> color Wheat }
  20.  
  21. #default { pigment { White } finish { Shiny }}
  22.  
  23. #declare PREC = 15
  24.  
  25. #declare Z2_1 =
  26. julia_fractal {
  27.     <-0.083,0.0,-0.83,-0.025>
  28.     quaternion
  29.     sqr
  30.     max_iteration 8
  31.     precision PREC
  32. }
  33.  
  34. #declare Z2_2 =
  35. julia_fractal {
  36.     <-0.03,0.5,-0.2,-0.5>
  37.     quaternion
  38.     sqr
  39.     max_iteration 8
  40.     precision PREC
  41. }
  42.  
  43. #declare Z3_1 =
  44. julia_fractal {
  45.     <-0.083,0.0,-0.83,-0.025>
  46.     max_iteration 8
  47.     precision PREC
  48.     quaternion
  49.     cube
  50. }
  51.  
  52. #declare Z3_2 =
  53. julia_fractal {
  54.     <-0.03,0.5,-0.2,-0.5>
  55.     max_iteration 8
  56.     precision PREC
  57.     quaternion
  58.     cube
  59. }
  60.  
  61. object { Z2_1             translate <-3, 3,  0> }
  62. object { Z2_2 rotate y*90 translate < 3, 3,  0> }
  63. object { Z3_1 scale 1.5   translate <-3, 0,  0>  }
  64. object { Z3_2 scale 1.5   translate < 3, 0,  0>  }
  65.  
  66.