home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 16
/
CD_ASCQ_16_0994.iso
/
news
/
4613
/
ph.rrt
< prev
next >
Wrap
Text File
|
1980-01-12
|
948b
|
65 lines
// Real Ray Tracer
// The benchmark scene :
// 32 seconds for a 320x200 picture with my 486 DX33.
#include "colors.inc"
#include "textures.inc"
object {
sphere { <1 0.5 0> 1 }
texture { Phong_Mirror }
}
object {
sphere { <-1 0 0> 0.8 }
texture {
color Green
ambient 0.15
diffuse 0.25
phong 0.25
phong_size 90
}
}
object {
sphere { <0.6 -0.8 -1> 0.3 }
texture {
color Red
ambient 0.10
diffuse 0.30
reflection 0.6
phong 0.25
phong_size 75
}
}
object {
plane { <0.5 1 0> -2 }
texture {
checker color Yellow color red 1.0 blue 0.75
scale <1 0 1>
ambient 0.10
diffuse 0.25
reflection 0.2
}
}
camera {
location <0 0 -3>
direction <0 0 3>
}
environment {
background color Blue
}
object {
light_source { <2 5 -4> color White }
}
object {
light_source { <-3 4 -3> color White }
}
end.