home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 16
/
CD_ASCQ_16_0994.iso
/
news
/
4613
/
wood.rrt
< prev
Wrap
Text File
|
1994-06-12
|
793b
|
50 lines
// Real Ray Tracer v1.0
// A piece of damaged wood.
#include "colors.inc"
#include "textures.inc"
object {
intersection {
intersection {
slab { <1 0 0> -.5 .5 }
slab { <0 1 0> -.3 .3 }
}
intersection {
slab { <0 0 1> -.5 .8 }
slab { <1 0 -1> -.7 .6 }
}
}
texture {
DMFWood2
turbulence 0.6
scale <2.5 2.5 1>
ambient 0.3
diffuse 0.6
bump {
dents 0.20
scale <0.05 0.05 0.05>
}
}
}
object {
plane { <0 1 0> -2 }
texture {
checker color Yellow color red 1.0 blue 0.75
scale <1 0 1>
ambient 0.20
diffuse 0.40
}
}
camera {
location <1.3 1.3 -1.3>
point_at <0 0 0>
angle 30
}
object { light_source { <1 4 -2> color White } }
end.