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

  1. /*
  2.  * eight.pov
  3.  *
  4.  * POV-Ray 3.0 scene description for two billiard balls
  5.  *
  6.  * Copyright (c) 1991, 1996 Ville Saari
  7.  *
  8.  * Created: 07-Jan-91
  9.  * Updated: 02-Jul-96
  10.  *
  11.  * Author:
  12.  *
  13.  *   Ville Saari
  14.  *   Tallbergin puistotie 7 B 21
  15.  *   00200 Helsinki
  16.  *   FINLAND
  17.  *
  18.  *   EMail: vs@iki.fi
  19.  */
  20.  
  21. global_settings { assumed_gamma 1 }
  22. default { finish { ambient .08 diffuse .92 } }
  23. camera { location <-15, 8, -10> look_at <0, 5, 5> }
  24. light_source { <-30, 30, -15> rgb 1 }
  25.  
  26. declare number8 = texture
  27.    {
  28.    pigment
  29.       {
  30.       wood
  31.       ramp_wave
  32.       color_map
  33.          {
  34.          [ .155 color rgb 1 ]
  35.          [ .155 color rgb 0 ]
  36.          }
  37.       }
  38.    }
  39. texture
  40.    {
  41.    pigment
  42.       {
  43.       wood
  44.       ramp_wave
  45.       color_map
  46.          {
  47.          [ .033 color rgbf 1 ]
  48.          [ .033 color rgb 0  ]
  49.          [ .067 color rgb 0  ]
  50.          [ .067 color rgbf 1 ]
  51.          }
  52.  
  53.       scale <1.15, 1, 1>
  54.       translate .05*y
  55.       }
  56.    }
  57. texture
  58.    {
  59.    pigment
  60.       {
  61.       wood
  62.       ramp_wave
  63.       color_map
  64.          {
  65.          [ .033 color rgbf 1 ]
  66.          [ .033 color rgb 0  ]
  67.          [ .067 color rgb 0  ]
  68.          [ .067 color rgbf 1 ]
  69.          }
  70.  
  71.       quick_colour rgb 0
  72.       scale <1.15, 1, 1>
  73.       translate -.05*y
  74.       }
  75.  
  76.    finish { specular 1 roughness .005 reflection .12 }
  77.    }
  78.  
  79. plane
  80.    {
  81.    y, 0
  82.    pigment { rgb <0, .53, 0> }
  83.    finish { crand .08 }
  84.    }
  85.  
  86. sphere
  87.    {
  88.    5*y, 5
  89.  
  90.    texture
  91.       {
  92.       number8
  93.  
  94.       scale 12.903226
  95.       rotate <-30, 20, -45>
  96.       translate 5*y
  97.       }
  98.    }
  99.  
  100. sphere
  101.    {
  102.    <0, 5, 10>, 5
  103.    pigment { rgb 1 }
  104.    finish { specular 1 roughness .005 reflection .12 }
  105.    }
  106.  
  107. union
  108.    {
  109.    cone
  110.       {
  111.       <0, 0, 0> 1 60*z 3
  112.  
  113.       pigment
  114.          {
  115.          wood
  116.  
  117.          colour_map
  118.             {
  119.             [ .4 colour rgb <.34, .15, 0> ]
  120.             [ .7 colour rgb <.15, .06, 0> ]
  121.             }
  122.  
  123.          quick_colour rgb <.3, .1, 0>
  124.          translate <50, -50, 0>
  125.          scale .15
  126.          turbulence .02
  127.          scale <1, 1, 5>
  128.          }
  129.  
  130.       finish { specular 1 roughness .005 reflection .12 }
  131.       }
  132.  
  133.    intersection
  134.       {
  135.       sphere { -0.2*z, 1.1 }
  136.       plane { z, 0 }
  137.       plane {-z, .4 }
  138.  
  139.       pigment { rgb <.06, .29, 1> }
  140.       }
  141.  
  142.    rotate <-10, 0, 45>
  143.    translate <-4.5, 6, 14.5>
  144.    }
  145.