home *** CD-ROM | disk | FTP | other *** search
/ Ray Tracing Box / RAY_CD.mdf / raytrace / _pov_dat / decset / decset.pov < prev    next >
Text File  |  1994-01-20  |  2KB  |  64 lines

  1. //This is a sample .pov file that demonstrates placing the objects in a scene.
  2. //Simply render this file. Warning! Glass ahead! This may take a long time. <G>
  3. //I hereby release the data contained in this archive to the public domain.
  4. //Robert A. Mickelsen  71042,751 
  5.  
  6. #include "colors.inc"
  7. #include "textures.inc"
  8. #include "shapes.inc"
  9.  
  10. #declare BezFlatness = 0.01
  11. #declare BezUStep    = 3
  12. #declare BezVStep    = 3
  13.  
  14.  
  15. camera {  //set up for "left-handed" coordinate system where y=up
  16.   //location <0, 7, -50> //for straight-on view
  17.   location <25, -5, -25> //for dramatic look-up-at view
  18.   direction <0, 2, 0> //change to <0, 2.448, 0> for straight-on view
  19.   sky <0, 1, 0>
  20.   up <0, 1, 0>
  21.   right     <1.3333,  0.0,  0.0>
  22.   look_at   <0, 0, 0> //just about the dead center of the decanter
  23. }
  24.  
  25. object {   // positioned as descibed in the group project announcement
  26.   light_source {
  27.     <-5000, 5000, -5000>
  28.     color  red 1.0 green 1.0 blue 1.0
  29.   }
  30. }
  31.  
  32. object {   // positioned as described in the group project announcement
  33.   light_source {
  34.     <5000, 5000, -5000>
  35.     color  red 1.0 green 1.0 blue 1.0
  36.   }
  37. }
  38.  
  39. object {  //surface for objects to sit on
  40.   plane {<0, 1, 0>, -8.2}  //to place the bottoms of the objects at y*0, 
  41.   texture {                //translate them y*8.2
  42.     pigment {
  43.       checker
  44.       color Black
  45.       color White
  46.     }
  47.     finish {
  48.       ambient 0.1
  49.       diffuse 0.3
  50.       reflection 0.25
  51.       specular 1.0
  52.       roughness 0.003
  53.     }
  54.   scale <4, 4, 4>
  55.   }
  56.   rotate <0, -45, 0>
  57.  
  58.  
  59. #include "fshdcntr.inc" // the texture file
  60. #include "fshgob.inc"  // the file that contains the goblets
  61. #include "decanter.inc" // the file that contains the decanter
  62.  
  63.