home *** CD-ROM | disk | FTP | other *** search
- // A ray trace source file for an architectural rendering of
- // a buidling named "Outdoor Education Center".
- // Original drawing done with AutoCAD R12
- // Faces output to DXF and converted to .POV file type
- // By Terry Majewski 03/21/93
-
- #include "colors.inc"
- #include "textures.inc"
- #include "shapes.inc"
-
- #include "sky.inc" // Custon sky include file
- #include "mytex.inc" // A couple custom textures and colors
- #include "grade.inc" // The ground around the building
- #include "concrete.inc" // The concrete slabs
- #include "walls.inc" // The basic walls
- #include "trim.inc" // The buidling trim
- #include "brick.inc" // The fireplace
- #include "deck.inc" // The deck
- #include "windows.inc" // The windows and trim
- #include "column.inc" // Deck support columns
- #include "rails.inc" // railing posts
- #include "flag.inc" // Flagpole with US flag
-
- camera {
- location <1560 1360 30> // lower left persetive
- direction <0.0 0.0 -1.1>
- up <0.0 0.0 1.0>
- right <1.33333 0.0 0.0>
- sky <0.0 0.0 1.0>
- look_at <920 551 -60>
- }
-
-
- object {
- light_source {<4800 4800 3500> color White}
- }
-
-
- //light on deck
- object {
- light_source {<834 2500 24> color Gray60}
- }
-
- object {
- plane {<0 0 -1> 96}
- texture{
- DryGrass // A dry winter grass texture
- }
- }
-
- // The rear view roofs
- object {
- union {
- triangle { <1134.441406 332.036957 180.666672> <1328.441406 332.036957 96.000000> <1328.441406 660.036926 96.000000> }
- triangle { <1134.441406 332.036957 180.666672> <1134.441406 660.036926 180.666672> <1328.441406 660.036926 96.000000> }
- }
- texture {
- image_map {0<1.0 0.0 -1.0> gif "shngwood.gif"}
- scale <30 30 30>}
- }
-
- object {
- union {
- triangle { <592.771790 550.036926 229.021164> <1134.441406 550.036926 229.021164> <1134.441406 904.036926 106.666664> }
- triangle { <592.771790 550.036926 229.021164> <526.771790 904.036926 106.666664> <1134.441406 904.036926 106.666664> }
- }
- texture {
- image_map {0<1.0 0.0 -1.0> gif "shngwood.gif"}
- scale <30.0 30.0 30.0>}
- }
-
- object {
- triangle { <592.771790 660.036926 191.001404> <526.771790 660.036926 191.001404> <526.771790 904.036926 106.666664> }
- texture {
- image_map {0<1.0 0.0 -1.0> gif "shngwood.gif"}
- scale <30.0 30.0 30.0>}
- }
-
- object {
- union {
- triangle { <1328.441406 332.036957 -96.000000> <1328.441406 332.036957 0.000000> <1328.441406 660.036926 0.000000> }
- triangle { <1328.441406 332.036957 -96.000000> <1328.441406 660.036926 -96.000000> <1328.441406 660.036926 0.000000> }
- }
- texture {
- color Gray80 }
- }
-
- // Rear Patio
- object {
- union {
- triangle { <952.771790 780.036926 -96.000000> <712.771790 780.036926 -96.000000> <712.771790 904.036926 -96.000000> }
- triangle { <952.771790 780.036926 -96.000000> <952.771790 904.036926 -96.000000> <712.771790 904.036926 -96.000000> }
- }
- texture {
- Concrete
- }
- }
-
- object {
- union {
- triangle { <1072.771729 904.036926 -96.000000> <1134.441406 904.036926 -96.000000> <1134.441406 660.036926 -96.000000> }
- triangle { <1072.771729 904.036926 -96.000000> <1072.771729 660.036926 -96.000000> <1134.441406 660.036926 -96.000000> }
- }
- texture {
- Concrete
- }
- }
-
- object {
- union {
- triangle { <1072.771729 660.036926 -96.000000> <952.771790 780.036926 -96.000000> <952.771790 904.036926 -96.000000> }
- triangle { <1072.771729 660.036926 -96.000000> <1072.771729 904.036926 -96.000000> <952.771790 904.036926 -96.000000> }
- }
- texture {
- Concrete
- }
- }
-
- object {
- union {
- triangle { <592.771790 660.036926 -96.000000> <526.771790 660.036926 -96.000000> <526.771790 904.036926 -96.000000> }
- triangle { <592.771790 660.036926 -96.000000> <592.771790 904.036926 -96.000000> <526.771790 904.036926 -96.000000> }
- }
- texture {
- Concrete
- }
- }
-
- object {
- union {
- triangle { <592.771790 904.036926 -96.000000> <712.771790 904.036926 -96.000000> <712.771790 780.036926 -96.000000> }
- triangle { <592.771790 904.036926 -96.000000> <592.771790 660.036926 -96.000000> <712.771790 780.036926 -96.000000> }
- }
- texture {
- Concrete
- }
- }
-
- object {
- union {
- triangle { <1134.441406 782.036926 -96.000000> <1242.441406 782.036926 -96.000000> <1242.441406 722.036926 -96.000000> }
- triangle { <1134.441406 782.036926 -96.000000> <1134.441406 722.036926 -96.000000> <1242.441406 722.036926 -96.000000> }
- }
- texture {
- Concrete
- }
- }
-
- // the path covered with woodchips
- object {
- union {
- triangle { <1290.441406 782.036926 -96.000000> <1775.893433 1879.459473 -96.000000> <1853.492920 1845.132935 -96.000000> }
- triangle { <1290.441406 782.036926 -96.000000> <1350.441406 730.781250 -96.000000> <1853.492920 1845.132935 -96.000000> }
- }
- texture {
- Woodchips
- }
- }
-
- object {
- union {
- triangle { <1242.441406 782.036926 -96.000000> <1290.441406 782.036926 -96.000000> <1350.441406 730.781250 -96.000000> }
- triangle { <1242.441406 782.036926 -96.000000> <1242.441406 730.781250 -96.000000> <1350.441406 730.781250 -96.000000> }
- }
- texture {
- Woodchips
- }
- }
- #declare Bench=composite {
- object {
- union {
- triangle { <-28.000000 6.000000 16.000000> <28.000000 6.000000 16.000000> <28.000000 6.000000 14.000000> }
- triangle { <-28.000000 6.000000 16.000000> <-28.000000 6.000000 14.000000> <28.000000 6.000000 14.000000> }
- triangle { <-28.000000 -6.000000 16.000000> <28.000000 -6.000000 16.000000> <28.000000 -6.000000 14.000000> }
- triangle { <-28.000000 -6.000000 16.000000> <-28.000000 -6.000000 14.000000> <28.000000 -6.000000 14.000000> }
- triangle { <28.000000 6.000000 16.000000> <28.000000 -6.000000 16.000000> <28.000000 -6.000000 0.000000> }
- triangle { <28.000000 6.000000 16.000000> <28.000000 6.000000 0.000000> <28.000000 -6.000000 0.000000> }
- triangle { <30.000000 6.000000 16.000000> <30.000000 -6.000000 16.000000> <30.000000 -6.000000 0.000000> }
- triangle { <30.000000 6.000000 16.000000> <30.000000 6.000000 0.000000> <30.000000 -6.000000 0.000000> }
- triangle { <28.000000 -6.000000 16.000000> <30.000000 -6.000000 16.000000> <30.000000 -6.000000 0.000000> }
- triangle { <28.000000 -6.000000 16.000000> <28.000000 -6.000000 0.000000> <30.000000 -6.000000 0.000000> }
- triangle { <-30.000000 -6.000000 16.000000> <-28.000000 -6.000000 16.000000> <-28.000000 -6.000000 0.000000> }
- triangle { <-30.000000 -6.000000 16.000000> <-30.000000 -6.000000 0.000000> <-28.000000 -6.000000 0.000000> }
- triangle { <-28.000000 6.000000 16.000000> <-28.000000 -6.000000 16.000000> <-28.000000 -6.000000 0.000000> }
- triangle { <-28.000000 6.000000 16.000000> <-28.000000 6.000000 0.000000> <-28.000000 -6.000000 0.000000> }
- triangle { <-30.000000 6.000000 16.000000> <-30.000000 -6.000000 16.000000> <-30.000000 -6.000000 0.000000> }
- triangle { <-30.000000 6.000000 16.000000> <-30.000000 6.000000 0.000000> <-30.000000 -6.000000 0.000000> }
- triangle { <-30.000000 -6.000000 16.000000> <30.000000 -6.000000 16.000000> <30.000000 6.000000 16.000000> }
- triangle { <-30.000000 -6.000000 16.000000> <-30.000000 6.000000 16.000000> <30.000000 6.000000 16.000000> }
- }
- texture {
- ambient 0.5
- color Cedar }
- }
-
- bounded_by {
- intersection {
- plane { <1.0 0.0 0.0> 30.3000 }
- plane { <-1.0 0.0 0.0> 30.3000 }
- plane { <0.0 1.0 0.0> 6.0600 }
- plane { <0.0 -1.0 0.0> 6.0600 }
- plane { <0.0 0.0 1.0> 16.1600 }
- plane { <0.0 0.0 -1.0> 0.0000 }
- }
- }
-
- }
-
- composite {
- Bench
- rotate <0 0 66>
- translate <1494 992 -96>
- }
-
- // Simulated landscape lights
- #declare postlt=composite
- {
- object {
- intersection {
- quadric{ Cylinder_Z scale <3.000000 3.000000 3.000000>}
- plane { <0.0 0.0 1.0> 18.0 }
- plane { <0.0 0.0 -1.0> 0.1 }
- }
- texture {
- Metal
- color Brown
- }
- }
-
- object {
- union{
- intersection {
- quadric {Cylinder_Z scale <3.000000 3.000000 3.000000>}
- plane { <0.0 0.0 1.0> 8.0 }
- plane { <0.0 0.0 -1.0> 0.1}
- }
- light_source{<0 0 21> color Gray60}
- }
- texture {
- color White
- }
- translate <0 0 18>
- no_shadow
- }
-
-
- object {
- intersection {
- quadric {Cylinder_Z scale <3.000000 3.000000 3.000000>}
- plane { <0.0 0.0 1.0> 4.0 }
- plane { <0.0 0.0 -1.0> 0.1}
- }
- texture {
- Metal
- color Brown
- }
- translate <0 0 26>
- }
-
- bounded_by {
- intersection {
- plane { <1.0 0.0 0.0> 3.0 }
- plane { <-1.0 0.0 0.0> 3.0 }
- plane { <0.0 1.0 0.0> 3.0 }
- plane { <0.0 -1.0 0.0> 3.0 }
- plane { <0.0 0.0 1.0> 32.0 }
- plane { <0.0 0.0 -1.0> 0.0 }
- }
- }
- }
-
- // place the post lights
- composite{
- postlt
- translate <1460.0 947 -96>
- }
-