home *** CD-ROM | disk | FTP | other *** search
/ Ray Tracing Box / RAY_CD.mdf / raytrace / _pov_dat / lodge / lodge.pov < prev    next >
Text File  |  1993-04-01  |  9KB  |  277 lines

  1. // A ray trace source file for an architectural rendering of
  2. // a buidling named "Outdoor Education Center".
  3. // Original drawing done with AutoCAD R12
  4. // Faces output to DXF and converted to .POV  file type
  5. // By Terry Majewski 03/21/93
  6.  
  7. #include "colors.inc"
  8. #include "textures.inc"
  9. #include "shapes.inc"
  10.  
  11. #include "sky.inc"              // Custon sky include file
  12. #include "mytex.inc"            // A couple custom textures and colors
  13. #include "grade.inc"            // The ground around the building
  14. #include "concrete.inc"         // The concrete slabs
  15. #include "walls.inc"            // The basic walls
  16. #include "trim.inc"             // The buidling trim
  17. #include "brick.inc"            // The fireplace
  18. #include "deck.inc"             // The deck
  19. #include "windows.inc"          // The windows and trim
  20. #include "column.inc"           // Deck support columns
  21. #include "rails.inc"            // railing posts
  22. #include "flag.inc"             // Flagpole with US flag
  23.  
  24.     camera {
  25.    location <1560 1360 30>  // lower left persetive
  26.    direction <0.0 0.0 -1.1>
  27.    up  <0.0  0.0  1.0>
  28.    right <1.33333 0.0 0.0>
  29.    sky <0.0 0.0 1.0>
  30.    look_at <920 551 -60>
  31.            }
  32.  
  33.  
  34.   object {
  35.     light_source {<4800 4800 3500> color White}
  36.   }
  37.  
  38.  
  39. //light on deck
  40.   object {
  41.     light_source {<834 2500 24> color Gray60}
  42.   }
  43.  
  44. object {
  45.         plane {<0 0 -1> 96}
  46.         texture{
  47.         DryGrass // A dry winter grass texture
  48.         }
  49. }
  50.  
  51. // The rear view roofs
  52.   object {
  53.    union {
  54.     triangle { <1134.441406 332.036957 180.666672> <1328.441406 332.036957 96.000000> <1328.441406 660.036926 96.000000> }
  55.     triangle { <1134.441406 332.036957 180.666672> <1134.441406 660.036926 180.666672> <1328.441406 660.036926 96.000000> }
  56.    }
  57.     texture {
  58.     image_map {0<1.0 0.0 -1.0> gif "shngwood.gif"}
  59.     scale <30 30 30>}
  60.   }
  61.  
  62.   object {
  63.    union {
  64.     triangle { <592.771790 550.036926 229.021164> <1134.441406 550.036926 229.021164> <1134.441406 904.036926 106.666664> }
  65.     triangle { <592.771790 550.036926 229.021164> <526.771790 904.036926 106.666664> <1134.441406 904.036926 106.666664> }
  66.    }
  67.     texture {
  68.     image_map {0<1.0 0.0 -1.0> gif "shngwood.gif"}
  69.      scale <30.0 30.0 30.0>}
  70.   }
  71.  
  72.   object {
  73.     triangle { <592.771790 660.036926 191.001404> <526.771790 660.036926 191.001404> <526.771790 904.036926 106.666664> }
  74.     texture {
  75.     image_map {0<1.0 0.0 -1.0> gif "shngwood.gif"}
  76.      scale <30.0 30.0 30.0>}
  77.   }
  78.  
  79.   object {
  80.    union {
  81.     triangle { <1328.441406 332.036957 -96.000000> <1328.441406 332.036957 0.000000> <1328.441406 660.036926 0.000000> }
  82.     triangle { <1328.441406 332.036957 -96.000000> <1328.441406 660.036926 -96.000000> <1328.441406 660.036926 0.000000> }
  83.    }
  84.     texture {
  85.      color Gray80 }
  86.   }
  87.  
  88. // Rear Patio
  89.   object {
  90.    union {
  91.     triangle { <952.771790 780.036926 -96.000000> <712.771790 780.036926 -96.000000> <712.771790 904.036926 -96.000000> }
  92.     triangle { <952.771790 780.036926 -96.000000> <952.771790 904.036926 -96.000000> <712.771790 904.036926 -96.000000> }
  93.    }
  94.     texture {
  95.     Concrete
  96.           }
  97.   }
  98.  
  99.   object {
  100.    union {
  101.     triangle { <1072.771729 904.036926 -96.000000> <1134.441406 904.036926 -96.000000> <1134.441406 660.036926 -96.000000> }
  102.     triangle { <1072.771729 904.036926 -96.000000> <1072.771729 660.036926 -96.000000> <1134.441406 660.036926 -96.000000> }
  103.    }
  104.     texture {
  105.     Concrete
  106.           }
  107.   }
  108.  
  109.   object {
  110.    union {
  111.     triangle { <1072.771729 660.036926 -96.000000> <952.771790 780.036926 -96.000000> <952.771790 904.036926 -96.000000> }
  112.     triangle { <1072.771729 660.036926 -96.000000> <1072.771729 904.036926 -96.000000> <952.771790 904.036926 -96.000000> }
  113.    }
  114.     texture {
  115.     Concrete
  116.           }
  117.   }
  118.  
  119.   object {
  120.    union {
  121.     triangle { <592.771790 660.036926 -96.000000> <526.771790 660.036926 -96.000000> <526.771790 904.036926 -96.000000> }
  122.     triangle { <592.771790 660.036926 -96.000000> <592.771790 904.036926 -96.000000> <526.771790 904.036926 -96.000000> }
  123.    }
  124.     texture {
  125.     Concrete
  126.           }
  127.   }
  128.  
  129.   object {
  130.    union {
  131.     triangle { <592.771790 904.036926 -96.000000> <712.771790 904.036926 -96.000000> <712.771790 780.036926 -96.000000> }
  132.     triangle { <592.771790 904.036926 -96.000000> <592.771790 660.036926 -96.000000> <712.771790 780.036926 -96.000000> }
  133.    }
  134.     texture {
  135.     Concrete
  136.           }
  137.   }
  138.  
  139.   object {
  140.    union {
  141.     triangle { <1134.441406 782.036926 -96.000000> <1242.441406 782.036926 -96.000000> <1242.441406 722.036926 -96.000000> }
  142.     triangle { <1134.441406 782.036926 -96.000000> <1134.441406 722.036926 -96.000000> <1242.441406 722.036926 -96.000000> }
  143.    }
  144.     texture {
  145.     Concrete
  146.           }
  147.   }
  148.  
  149. // the path covered with woodchips
  150.   object {
  151.    union {
  152.     triangle { <1290.441406 782.036926 -96.000000> <1775.893433 1879.459473 -96.000000> <1853.492920 1845.132935 -96.000000> }
  153.     triangle { <1290.441406 782.036926 -96.000000> <1350.441406 730.781250 -96.000000> <1853.492920 1845.132935 -96.000000> }
  154.    }
  155.     texture {
  156.     Woodchips
  157.           }
  158.   }
  159.  
  160.   object {
  161.    union {
  162.     triangle { <1242.441406 782.036926 -96.000000> <1290.441406 782.036926 -96.000000> <1350.441406 730.781250 -96.000000> }
  163.     triangle { <1242.441406 782.036926 -96.000000> <1242.441406 730.781250 -96.000000> <1350.441406 730.781250 -96.000000> }
  164.    }
  165.     texture {
  166.     Woodchips
  167.           }
  168.   }
  169. #declare Bench=composite {
  170.     object {
  171.    union {
  172.     triangle { <-28.000000 6.000000 16.000000> <28.000000 6.000000 16.000000> <28.000000 6.000000 14.000000> }
  173.     triangle { <-28.000000 6.000000 16.000000> <-28.000000 6.000000 14.000000> <28.000000 6.000000 14.000000> }
  174.     triangle { <-28.000000 -6.000000 16.000000> <28.000000 -6.000000 16.000000> <28.000000 -6.000000 14.000000> }
  175.     triangle { <-28.000000 -6.000000 16.000000> <-28.000000 -6.000000 14.000000> <28.000000 -6.000000 14.000000> }
  176.     triangle { <28.000000 6.000000 16.000000> <28.000000 -6.000000 16.000000> <28.000000 -6.000000 0.000000> }
  177.     triangle { <28.000000 6.000000 16.000000> <28.000000 6.000000 0.000000> <28.000000 -6.000000 0.000000> }
  178.     triangle { <30.000000 6.000000 16.000000> <30.000000 -6.000000 16.000000> <30.000000 -6.000000 0.000000> }
  179.     triangle { <30.000000 6.000000 16.000000> <30.000000 6.000000 0.000000> <30.000000 -6.000000 0.000000> }
  180.     triangle { <28.000000 -6.000000 16.000000> <30.000000 -6.000000 16.000000> <30.000000 -6.000000 0.000000> }
  181.     triangle { <28.000000 -6.000000 16.000000> <28.000000 -6.000000 0.000000> <30.000000 -6.000000 0.000000> }
  182.     triangle { <-30.000000 -6.000000 16.000000> <-28.000000 -6.000000 16.000000> <-28.000000 -6.000000 0.000000> }
  183.     triangle { <-30.000000 -6.000000 16.000000> <-30.000000 -6.000000 0.000000> <-28.000000 -6.000000 0.000000> }
  184.     triangle { <-28.000000 6.000000 16.000000> <-28.000000 -6.000000 16.000000> <-28.000000 -6.000000 0.000000> }
  185.     triangle { <-28.000000 6.000000 16.000000> <-28.000000 6.000000 0.000000> <-28.000000 -6.000000 0.000000> }
  186.     triangle { <-30.000000 6.000000 16.000000> <-30.000000 -6.000000 16.000000> <-30.000000 -6.000000 0.000000> }
  187.     triangle { <-30.000000 6.000000 16.000000> <-30.000000 6.000000 0.000000> <-30.000000 -6.000000 0.000000> }
  188.     triangle { <-30.000000 -6.000000 16.000000> <30.000000 -6.000000 16.000000> <30.000000 6.000000 16.000000> }
  189.     triangle { <-30.000000 -6.000000 16.000000> <-30.000000 6.000000 16.000000> <30.000000 6.000000 16.000000> }
  190.    }
  191.     texture {
  192.     ambient 0.5
  193.      color Cedar    }
  194.   }
  195.  
  196.   bounded_by {
  197.     intersection {
  198.       plane { <1.0  0.0  0.0> 30.3000 }
  199.       plane { <-1.0 0.0  0.0> 30.3000 }
  200.       plane { <0.0  1.0  0.0> 6.0600 }
  201.       plane { <0.0 -1.0  0.0> 6.0600 }
  202.       plane { <0.0  0.0  1.0> 16.1600 }
  203.       plane { <0.0  0.0 -1.0> 0.0000 }
  204.     }
  205.   }
  206.  
  207. }
  208.  
  209. composite {
  210.         Bench
  211.         rotate <0 0 66>
  212.         translate <1494 992 -96>
  213.         }
  214.  
  215. // Simulated landscape lights
  216. #declare postlt=composite
  217. {
  218.   object {
  219.     intersection {
  220.       quadric{ Cylinder_Z scale <3.000000 3.000000 3.000000>}
  221.       plane { <0.0 0.0 1.0>  18.0 }
  222.       plane { <0.0 0.0 -1.0> 0.1 }
  223.                  }
  224.     texture {
  225.        Metal
  226.        color Brown
  227.             }
  228.          }
  229.  
  230.   object {
  231.          union{
  232.         intersection {
  233.       quadric {Cylinder_Z scale <3.000000 3.000000 3.000000>}
  234.       plane { <0.0 0.0 1.0>  8.0 }
  235.       plane { <0.0 0.0 -1.0>  0.1}
  236.                     }
  237.          light_source{<0 0 21> color Gray60}
  238.          }
  239.     texture {
  240.     color White
  241.             }
  242.     translate <0 0 18>
  243.         no_shadow
  244.         }
  245.  
  246.  
  247.   object {
  248.         intersection {
  249.       quadric {Cylinder_Z scale <3.000000 3.000000 3.000000>}
  250.       plane { <0.0 0.0 1.0>  4.0 }
  251.       plane { <0.0 0.0 -1.0>  0.1}
  252.                     }
  253.     texture {
  254.     Metal
  255.     color Brown
  256.             }
  257.    translate <0 0 26>
  258.         }
  259.  
  260.  bounded_by {
  261.     intersection {
  262.       plane { <1.0  0.0  0.0> 3.0 }
  263.       plane { <-1.0 0.0  0.0> 3.0 }
  264.       plane { <0.0  1.0  0.0> 3.0 }
  265.       plane { <0.0 -1.0  0.0> 3.0 }
  266.       plane { <0.0  0.0  1.0> 32.0 }
  267.       plane { <0.0  0.0 -1.0> 0.0 }
  268.     }
  269.   }
  270. }
  271.  
  272. // place the post lights
  273. composite{
  274.         postlt
  275.         translate <1460.0 947 -96>
  276.         }
  277.