home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Raytrace & Morphing / SOS-RAYTRACE.ISO / programm / scripts / pov / izitme.pov < prev    next >
Encoding:
Text File  |  1994-05-18  |  1.8 KB  |  86 lines

  1. //Mr. Miface sees himself in a typical Povray scene.
  2. //by Blane Bizzaro
  3. //This file requires "miface.inc"
  4. //Face data provided by Mira Imaging <thanks>
  5. //Use +mv1 option to render
  6. //This file is released to the public domain with
  7. //no strings attached. :)
  8.  
  9. #include "colors.inc"
  10. #include "shapes.inc"
  11. #include "textures.inc"
  12.  
  13. camera {
  14.    location  <0, 0, -3>
  15.    direction <0, 0, 1>
  16.    up        <0, 1, 0>
  17.    right     <1.33333, 0, 0>
  18.    look_at   <0, 0, -10> 
  19. }
  20.  
  21. object { light_source { <5, 20, -30> color Orange }}
  22. object { light_source { <-15, 10, -10> color SteelBlue }}
  23.  
  24. fog {color red 0.7 green 0.7 blue 0.9 distance 6000 }
  25.  
  26. #declare Face_Texture = texture {
  27.    color White
  28.    phong 1
  29.    phong_size 100
  30.    ambient 0.2
  31.    diffuse 0.8
  32. }
  33.  
  34. #declare FaceThing = composite {
  35.    composite {
  36.       #include "miface.inc"
  37.       rotate <0 90 90>
  38.       scale <50, 50, 50>
  39.       translate <0, 50, 150>
  40.    }
  41. }
  42.  
  43. composite { FaceThing }
  44.  
  45. //The water
  46.  
  47. plane {y, -500
  48.    texture {
  49.       pigment { color red 0.3 green 0.5 blue 0.6 }
  50.       finish {
  51.          reflection 0.45
  52.          ambient 0.1
  53.          diffuse 0.6 phong 1.0 phong_size 80
  54.       }
  55.       normal {
  56.          ripples 0.7
  57.          frequency 0.08
  58.       }
  59. }}
  60. sphere { <0, 0, -10> 3 
  61. texture { pigment { color Brass } finish { Metal }
  62. }}
  63.  
  64. //Sky
  65. sphere { <0, -39000, 0> 40000
  66.    inverse
  67.    pigment {
  68.      bozo
  69.      turbulence 0.6
  70.      color_map {
  71.         [0 0.5 color red 0.4 green 0.5 blue 1
  72.                color red 0.4 green 0.5 blue 1.0]
  73.         [0.5 0.7 color red 0.4 green 0.5 blue 1
  74.                  color red 1 green 1 blue 1.0]
  75.         [0.7 1 color red 1 green 1 blue 1
  76.                color red 0.7 green 0.7 blue 0.7
  77.      ]}
  78.      scale 500
  79.      quick_color red 0.4 green 0.5 blue 1
  80.    }
  81.    finish {
  82.    ambient 1
  83.    diffuse 0
  84.    }
  85. }
  86.