home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / graphuti / rayl210.zip / CANDLE.POV < prev    next >
Text File  |  1993-09-18  |  1KB  |  40 lines

  1. // Persistence of Vision Raytracer
  2. #include "shapes.inc"
  3. #include "colors.inc"
  4. #include "textures.inc"
  5.  
  6. //----------------------- Definitions start here -----------------------
  7.  
  8. #declare candle_C1 = texture {Shiny colour Brown}    // used after RAW
  9. #declare LatheWorkTex = texture {Shiny colour Red}    // used for POVRAY
  10. #declare LatheWork =
  11. #include "candle.inc"
  12.  
  13. #declare Look_At = <251.751 0 0>  // Center of object
  14. #declare Location = <251.751 0 -503.503>  // Good camera position
  15. //----------------------- Display starts here --------------------------
  16.  
  17.  
  18. camera {
  19.    location  Location
  20.    direction <0.0 0.0 1.0>
  21.    up  <0.0  1.0  0.0>
  22.    right <1.33333 0.0 0.0>
  23.    look_at Look_At
  24. }
  25.  
  26. /* put down the beloved famous raytrace green/yellow checkered floor */
  27. //object {
  28. //   plane { <0.0 1.0 0.0> -6 }
  29. //   texture {
  30. //    checker colour Yellow colour Green
  31. //    ambient 0.3
  32. //    diffuse 0.7
  33. //   }
  34. //}
  35.  
  36. composite { LatheWork }
  37.  
  38. object { light_source { < 1210.000002622604   1450.200003147125  -1570.300003409386 > colour White } }
  39. object { light_source { < -100.0          1450.200003147125  -1570.300003409386 > colour White } }
  40.