home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 16
/
CD_ASCQ_16_0994.iso
/
news
/
4613
/
casse.rrt
< prev
next >
Wrap
Text File
|
1980-01-06
|
908b
|
67 lines
// Real Ray Tracer
// A demo of refraction.
#include "colors.inc"
#include "shapes.inc"
#include "Textures.inc"
object {
Cylinder_Y
rotate <0 0 45>
texture {
color Yellow
ambient 0.10
diffuse 0.25
phong 0.15
phong_size 90
}
}
object {
sphere { <2.5 0.40 1> 1.2 }
texture {
Phong_Mirror
}
}
object {
intersection {
plane { <0 0 -1> 2.5 }
plane { <0 1 0> 0.3 }
}
texture {
Transparent
ior 1.33
}
}
object {
plane { <0 0 -1> -5 }
texture {
checker color Blue color green 1.0 blue 0.75
scale <1 1 0>
ambient 0.20
diffuse 0.35
reflection 0.40
}
}
camera {
location <0 1 -5>
point_at <0 0.4 0>
}
environment {
background color Blue
}
object {
light_source { <2 5 -4> color White }
}
object {
light_source { <-3 2 -5> color White }
}
end.