home *** CD-ROM | disk | FTP | other *** search
/ TopWare 18: Liquid / Image.iso / liquid / top1151 / f2pscn2.pov < prev    next >
Text File  |  1994-01-03  |  2KB  |  48 lines

  1. //
  2. //       filename: F2PSCN2.POV
  3. //
  4. //       Dodecahedron and plane.
  5. //        
  6. //       by David Grossman  ( Dodecahedron from POV shapes2.inc )
  7. //
  8.  
  9. #include "frct2pov.inc"
  10.  
  11. #declare Dodecahedron = 
  12.  intersection  { 
  13.    plane {-z, 1 rotate <-26.56505117708,    0, 0>}
  14.    plane {-z, 1 rotate <-26.56505117708,  -72, 0>}
  15.    plane {-z, 1 rotate <-26.56505117708, -144, 0>}
  16.    plane {-z, 1 rotate <-26.56505117708, -216, 0>}
  17.    plane {-z, 1 rotate <-26.56505117708, -288, 0>}
  18.    plane {-z, 1 rotate <26.56505117708,  -36, 0>}
  19.    plane {-z, 1 rotate <26.56505117708, -108, 0>}
  20.    plane {-z, 1 rotate <26.56505117708, -180, 0>}
  21.    plane {-z, 1 rotate <26.56505117708, -252, 0>}
  22.    plane {-z, 1 rotate <26.56505117708, -324, 0>}
  23.    plane { y, 1}
  24.    plane {-y, 1}
  25.   }
  26.  
  27. camera   {  location < 0, 4, 8 >
  28.             direction < 0, 0, 4 >
  29.             up < 0, 1, 0 >        
  30.             right < -4/3, 0, 0 >  
  31.             look_at < 0, .5, 0 >
  32.          }
  33.          
  34. object   {  Dodecahedron translate y scale <1,.4,1> rotate 15*y
  35.             texture  {  frct2pov
  36.                         finish   {  ambient .4 diffuse .6 } rotate -90*x }  }
  37.  
  38. object   {  plane {  y,0 }
  39.             texture  {  frct2pov
  40.                         finish   {  ambient .4 diffuse .6  } rotate -90*x scale 2 }   }
  41.  
  42. object   {  light_source   {  < 10, 30, 20 > color rgb < 1, 1, 1 > } }
  43.                                     
  44.                                     
  45.                                     
  46.                                     
  47.                                     
  48.