Metropoli BBS
VIEWER: eight.pov MODE: TEXT (ASCII)
// Persistence Of Vision raytracer version 2.0 sample file.

// By  Ville Saari
// Copyright (c) 1991 Ferry Island Pixelboys
/* NOTE: Requires "eight_.iff"
*
* POV-Ray scene description for two billiard balls
* 
* Created: 07-Jan-91
* Updated: 09-Jan-91
*          19-Jan-92 dmf (see below)
*
* If you do some nice modifications or additions to this file, please send 
* me a copy. My Internet address is:
*
*         vsaari@niksula.hut.fi
*
*  Modified somewhat by dmf for POV-Ray 2.0:
*  decreased most ambient values a bit
*  increased phong_size on balls
*  fixed the image_map ... interpolation didn't work.
*  modified the wood on the questick a bit
*/

camera {
   location <-15.0, 8.0, -10.0>
   direction <0.0, 0.0, 1.0>
   up <0.0, 1.0, 0.0>
   right <4/3, 0.0, 0.0>
   sky <0.0, 1.0, 0.0>
   look_at <0.0, 5.0, 5.0>
}

// tabletop
plane { y, 0.0
   pigment { colour green 0.7 }
   finish {
      ambient 0.3
      diffuse 0.7
      crand 0.08
   }
}

// eightball
sphere { <0, 5, 0>, 5.0
   texture {
      pigment { rgb <0, 0, 0> }
      finish {
         ambient 0.15
         diffuse 0.8
         brilliance 1.0 
         phong 1.0      
         phong_size 90
         reflection 0.15
      }
   }

   texture {
      pigment {
         image_map { iff "eight_.iff" once interpolate 2.0 filter 0 1.0 }
         translate <-0.5, -0.5, -0.5>
         scale <4.0, 4.0, 4.0>
         rotate <-30.0, 20.0, -45.0>
         translate 5*y
      }
      finish {
         ambient 0.15
         diffuse 0.8
         brilliance 1.0 
         phong 1.0      
         phong_size 90
         reflection 0.15
      }
   }
}

sphere { <0, 5, 10>, 5.0
   pigment { rgb <1, 1, 1> }
   finish {
      ambient 0.2
      diffuse 0.8
      brilliance 1.0 
      phong 1.0      
      phong_size 80
      reflection 0.15
   }
}

// stick
union {
   intersection {
      quadric {
         <900.0, 900.0, -1.0>
         <0.0 0.0 0.0>
         <0.0 0.0 0.0>
         0.0
         translate -30*z
      }
      plane { -z, 0.0 }

      pigment {
         wood
         turbulence 0.02                 // dmf
         translate <50.0, -50.0, 0.0>
         // scale <0.3, 0.3, 1000>       // vs
         scale <0.1, 0.1, 1000>          // dmf
         // rotate <-10.0, 0.0, 45.0>    // vs
         rotate <-10.0, 0.0, 15.0>       // dmf
      }
      finish {
         ambient 0.15
         diffuse 0.8
         phong 1.0      
         phong_size 20
         reflection 0.15
      }
   }

   // Blue tip on stick
   intersection {
      sphere { <0.0, 0.0, -0.2>, 1.1 }
      plane { <0.0, 0.0, 1.0>, 0.0 }
      plane { <0.0, 0.0, -1.0>, 0.4 }

      pigment { colour red 0.2 green 0.5 blue 1.0 }
      finish {
         ambient 0.15
         diffuse 0.8
      }
   }

   rotate <-10.0, 0.0, 45.0>
   translate <-4.5, 6.0, 14.5>
}

light_source { <-30.0, 30.0, -15.0> colour red 1.0 green 1.0 blue 1.0 }
[ RETURN TO DIRECTORY ]