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

  1. // Persistence Of Vision raytracer version 3.0 sample file.
  2. // Demo showing several surfaces of surface_of_revolution ... Dieter Bayer, June 1994
  3.  
  4. #version 3.0
  5. global_settings { assumed_gamma 2.2 }
  6.  
  7. #include "colors.inc"
  8. #include "textures.inc"
  9. #include "shapes.inc"
  10.  
  11. camera {
  12.   location <40, 40, -80>
  13.   right <4/3, 0, 0>
  14.   up <0, 1, 0>
  15.   sky <0, 1, 0>
  16.   direction <0, 0, 2.5>
  17.   look_at <0, 5, 0>
  18. }
  19.  
  20. light_source { <40, 40, -80> colour Gray40 }
  21.  
  22. light_source { <0, 50, 20> colour Gray40 }
  23.  
  24. light_source { <50, 50, -50> colour Gray40 }
  25.  
  26. light_source { <-50, 50, -50> colour Gray40 }
  27.  
  28. background { color SkyBlue }
  29.  
  30. plane { y, 0
  31.    pigment {
  32.       checker colour Yellow colour Green
  33.       scale 5
  34.    }
  35.    finish {
  36.       ambient 0.2
  37.       diffuse 0.8
  38.    }
  39. }
  40.  
  41. #declare Glas1 =
  42. sor {
  43.   7,
  44.   <0.000000, 0.000000>
  45.   <0.118143, 0.000000>
  46.   <0.620253, 0.540084>
  47.   <0.210970, 0.827004>
  48.   <0.194093, 0.962025>
  49.   <0.286920, 1.000000>
  50.   <0.468354, 1.033755>
  51.   open
  52. }
  53.  
  54. #declare Glas2 =
  55. sor {
  56.   12,
  57.   <.517241379, -.132625995>
  58.   <.249336870, 0.000000>
  59.   <.068965517, .031830239>
  60.   <.021220159, .050397878>
  61.   <.058355438, .347480106>
  62.   <.132625995, .381962865>
  63.   <.196286472, .464190981>
  64.   <.238726790, .602122016>
  65.   <.249336870, .721485411>
  66.   <.233421751, .864721485>
  67.   <.167108753, 1.000000000>
  68.   <.084880637, 1.055702918>
  69.   open
  70. }
  71.  
  72.  
  73. #declare Glas3 =
  74. sor {
  75.   18,
  76.   <0.125628, -0.035176>
  77.   <0.394472, 0.000000>
  78.   <0.281407, 0.030151>
  79.   <0.108040, 0.052764>
  80.   <0.125628, 0.090452>
  81.   <0.221106, 0.185930>
  82.   <0.125628, 0.216080>
  83.   <0.090452, 0.339196>
  84.   <0.185930, 0.402010>
  85.   <0.251256, 0.522613>
  86.   <0.208543, 0.645729>
  87.   <0.150754, 0.703518>
  88.   <0.082915, 0.771357>
  89.   <0.082915, 0.844221>
  90.   <0.155779, 0.917085>
  91.   <0.261307, 0.942211>
  92.   <0.238693, 1.000000>
  93.   <0.329146, 1.115578>
  94.   open
  95. }
  96.  
  97.  
  98. #declare Glas4 =
  99. sor {
  100.   10,
  101.   <0.000000, -0.062814>
  102.   <0.062814, 0.000000>
  103.   <0.351759, 0.311558>
  104.   <0.125628, 0.462312>
  105.   <0.233668, 0.575377>
  106.   <0.163317, 0.693467>
  107.   <0.256281, 0.786432>
  108.   <0.165829, 0.876884>
  109.   <0.155779, 1.000000>
  110.   <0.311558, 1.130653>
  111.   open
  112. }
  113.  
  114. #declare Glas5 =
  115. sor {
  116.   13,
  117.   <0.148225, 0.000000>
  118.   <0.189979, 0.000000>
  119.   <0.154489, 0.096033>
  120.   <0.075157, 0.123173>
  121.   <0.070981, 0.164927>
  122.   <0.129436, 0.223382>
  123.   <0.070981, 0.281837>
  124.   <0.108559, 0.354906>
  125.   <0.075157, 0.436326>
  126.   <0.175365, 0.536534>
  127.   <0.240084, 0.672234>
  128.   <0.327766, 1.000000>
  129.   <0.290188, 1.000000>
  130.   open
  131. }
  132.  
  133. #declare Glas6 =
  134. sor {
  135.   11,
  136.   <0.150754, 0.000000>
  137.   <0.150754, 0.000000>
  138.   <0.150754, 0.155779>
  139.   <0.150754, 0.391960>
  140.   <0.140704, 0.449749>
  141.   <0.082915, 0.489950>
  142.   <0.125628, 0.530151>
  143.   <0.140704, 0.582915>
  144.   <0.047739, 0.919598>
  145.   <0.047739, 1.000000>
  146.   <0.000000, 1.035176>
  147.   open
  148. }
  149.  
  150. object {
  151.   Glas1
  152.   texture { Silver1 }
  153.   scale <10, 10, 10>
  154.   translate <-15, 0.001, 15>
  155. }
  156.  
  157. object {
  158.   Glas2
  159.   texture { Silver2 }
  160.   scale <8, 8, 8>
  161.   translate <0, 0.001, 15>
  162. }
  163.  
  164. object {
  165.   Glas3
  166.   texture { Silver3 }
  167.   scale <10, 10, 10>
  168.   translate <15, 0.001, 15>
  169. }
  170.  
  171. object {
  172.   Glas4
  173.   texture { Gold_Metal }
  174.   scale <10, 10, 10>
  175.   translate <-15, 0.001, 0>
  176. }
  177.  
  178. object {
  179.   Glas5
  180.   texture { Copper_Metal }
  181.   scale <10, 10, 10>
  182.   translate <0, 0.001, 0>
  183. }
  184.  
  185. object {
  186.   Glas6
  187.   texture { Bronze_Metal }
  188.   scale <15, 15, 15>
  189.   translate <15, 0.001, 0>
  190. }
  191.  
  192.