home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Raytrace & Morphing / SOS-RAYTRACE.ISO / programm / scripts / pov / mandel / mandel.pov < prev   
Encoding:
Text File  |  1994-03-30  |  4.1 KB  |  111 lines

  1. /* 
  2.     POV-Ray 1.0 scene file by Dan Farmer.
  3. 3/94 Added #version 1.0 command for POV-Ray 2.0 compatibility.
  4.  
  5.  Timings: 486/33  7 hrs 30 min w/ +a0.2 @ 640x480 (POV-Ray 1.0)
  6.  
  7. ╔════════════════════════════════════════════════════════════════════════╗
  8. ║  Persistence of Vision Raytracer Ver 1.0.ibmztc                        ║
  9. ║────────────────────────────────────────────────────────────────────────║
  10. ║  mandel.pov statistics                                                 ║
  11. ║────────────────────────────────────────────────────────────────────────║
  12. ║ Image Resolution 640 pixels wide x 480 pixels high                     ║
  13. ║ # Rays Calculated     :      948570                                    ║
  14. ║ # Pixels Calculated   :      307840                                    ║
  15. ║ # Pixels Supersampled :       41874                                    ║
  16. ║────────────────────────────────────────────────────────────────────────║
  17. ║   Ray -» Shape Intersection Tests                                      ║
  18. ║   Type             Tests    Succeeded   Percentage                     ║
  19. ║────────────────────────────────────────────────────────────────────────║
  20. ║  Sphere        173192721      892301        0.52                       ║
  21. ║  Plane           1518161      684706       45.10                       ║
  22. ║  Box            63246765     3866171        6.11                       ║
  23. ║  Bounds         63246765     3866323        6.11                       ║
  24. ║────────────────────────────────────────────────────────────────────────║
  25. ║  Calls to DNoise Routine :          10                                 ║
  26. ║────────────────────────────────────────────────────────────────────────║
  27. ║  Shadow Ray Tests        :     1906897                                 ║
  28. ║  Blocking Objects Found  :      198124                                 ║
  29. ║  Reflected Rays          :      263864                                 ║
  30. ║────────────────────────────────────────────────────────────────────────║
  31. ║  Rendering Time          :       8 hours 59 minutes 45.00 seconds      ║
  32. ║────────────────────────────────────────────────────────────────────────║
  33. ╚════════════════════════════════════════════════════════════════════════╝
  34. */
  35.  
  36. #include "shapes.inc"
  37. #include "colors.inc"
  38. #include "textures.inc"
  39. #version 1.0
  40.  
  41. // Colors are from Fractint's GOODEGA map
  42. // Converted from 0-255 range to PoV's 0-1 range
  43. #declare c0 = 0.0
  44. #declare c84 = 0.328125
  45. #declare c168 = 0.65625
  46. #declare c252 = 0.984375
  47.  
  48. #declare Color1  =  color red c0   green c0   blue c84
  49. #declare Color2  =  color red c0   green c0   blue c168
  50. #declare Color3  =  color red c0   green c0   blue c252
  51. #declare Color4  =  color red c0   green c84  blue c252
  52. #declare Color5  =  color red c0   green c168 blue c252
  53. #declare Color6  =  color red c0   green c252 blue c252
  54. #declare Color7  =  color red c252 green c252 blue c168
  55. #declare Color8  =  color red c252 green c252 blue c0
  56. #declare Color9  =  color red c252 green c168 blue c0
  57. #declare Color10 =  color red c252 green c84  blue c0
  58. #declare Color11 =  color red c252 green c0   blue c0
  59. #declare Color12 =  color red c168 green c0   blue c0
  60. #declare Color13 =  color red c84  green c0   blue c0
  61. #declare Color14 =  color red c252 green c252 blue c84
  62. #declare Color15 =  color red c252 green c84  blue c0
  63. #declare Color16 =  color red c252 green c252 blue c252
  64.  
  65.  
  66.  
  67. camera {
  68.    location <100.0  150.0  -250.0>
  69.    direction <0.0 0.0  1.0>
  70.    up  <0.0  1.0  0.0>
  71.    right <1.33333 0.0 0.0>
  72.    look_at <0 0 0>
  73.    
  74. //   aperture 0.20
  75. //   focal_distance 20
  76. //   blur_samples 40
  77.  }
  78.  
  79. // Light source
  80. object { light_source { <10 200 -50> color White }}
  81.  
  82. default {
  83.     texture {
  84.         Shiny
  85.         ambient 0.2
  86.         diffuse 0.8
  87.         phong 1 phong_size 100
  88.     }
  89. }
  90.  
  91.  
  92. object {
  93.     plane { <0 1 0> -4.53333  }
  94.     texture {
  95.         0.015
  96.         color LightGray
  97.         ambient 0.2
  98.         diffuse 0.8
  99.         reflection 0.25
  100.     }
  101. }
  102.  
  103. default { texture { Phong_Shiny ambient 0.1 } }
  104. composite {
  105.     #include "mandel.inc"
  106.     bounded_by {
  107.         box { UnitBox scale <323 174 4> }
  108.     }
  109.     rotate <90 0 0>
  110. }
  111.