home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 16
/
CD_ASCQ_16_0994.iso
/
news
/
4613
/
tunnel.rrt
< prev
next >
Wrap
Text File
|
1980-01-06
|
1KB
|
56 lines
// Real Ray Tracer
// In a tunnel ...
#include "colors.inc"
#include "textures.inc"
object {
difference {
difference {
box { <-5 -2 -5> <5 2 5> }
box { <-1 -1 -6> <1 1 6> }
}
box { <-6 -1 -1> <6 1 1> }
}
texture {
Red_Marble
scale <0.1 0.1 0.1>
ambient 0.15
diffuse 0.5
}
}
object {
plane { <0 1 0> -1 }
texture {
color red 0.8 green 0.5 blue 0.2
ambient 0.075
diffuse 0.175
bump {
bumps 0.25
scale <0.05 0.05 0.05>
}
}
}
camera {
location <-.9 0 -1.5>
direction <1 0 1>
}
environment {
sky
color_map {
[0 1 color Blue color White ]
}
}
object { light_source { <0 0.8 -2.5> intensity 4 color White } }
object { light_source { <0 0.8 2.5> intensity 4 color Green } }
object { light_source { <-2.5 0.8 0> intensity 4 color White } }
object { light_source { < 2.5 0.8 0> intensity 4 color White } }
object { light_source { <-3 7 -10> color White } }
end.