home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Raytrace & Morphing / SOS-RAYTRACE.ISO / programm / scripts / pov / miraface / face.pov < prev    next >
Encoding:
Text File  |  1992-11-28  |  1.3 KB  |  59 lines

  1. // Persistence Of Vision raytracer version 1.0 scene file.
  2. // This is the basic setup for viewing MIFACE.INC.
  3. //
  4. #include "colors.inc"
  5. #include "textures.inc"
  6. #include "shapes.inc"
  7.  
  8. camera {
  9.    location <0.0  0  -12.0>
  10.    direction <0.0 0.0  1.0>
  11.    up  <0.0  1.0  0.0>
  12.    right <1.33333 0.0 0.0>
  13.    look_at <0 0 0>
  14. }
  15.  
  16. // Light source
  17. object { light_source {  < 5 20  -30> color Orange  }}
  18. object { light_source {  <-15 10  -10> color SteelBlue  }}
  19.  
  20.  
  21. #declare Face_Texture = texture {
  22.     color White
  23.     phong 1
  24.     phong_size 100
  25.     ambient 0.2
  26.     diffuse 0.8
  27. }
  28.  
  29.  
  30. #declare FaceThing = composite {
  31.     composite {
  32.         #include "miface.inc"
  33.         rotate <0 90 90>             // Makes a head-on view
  34.     }
  35. }
  36.  
  37. composite { FaceThing }     // Single face, straight-on view.
  38.  
  39. /******** Special Edition: Five-face version, if you've got the hardware!
  40. #declare Group = composite {
  41.     composite { FaceThing translate <+8 4 8> }
  42.     composite { FaceThing translate <+4 2 4> }
  43.     composite { FaceThing }
  44.     composite { FaceThing translate <-4 2 4> }
  45.     composite { FaceThing translate <-8 4 8> }
  46. }
  47.  
  48. composite { Group }
  49. object {
  50.     plane { <0 1 0> -2 }
  51.     texture {
  52.         color Gray30
  53.         reflection 0.25
  54.         ambient 0.3
  55.         diffuse 0.7
  56.     }
  57. }
  58. ****************************/
  59.