#include "colors.inc"
#include "finish.inc"
#include "metals.inc"
#include "textures.inc"
#include "stones.inc"
#include "skies.inc"
camera {
location < 2, 3, -8 >
look_at < 0, 0, 0 >
focal_point <0, 0, 0>
blur_samples 20
}
light_source {
< 0, 10, 0>
color White
area_light <2,0,0>,<0,0,2>, 2, 2
adaptive 1
fade_distance 8
fade_power 1
}
sky_sphere {
S_Cloud3
}
plane { <0, 1, 0>, -1
texture {
pigment {
checker color Blue, color White
}
finish {Phong_Glossy}
}
}
#declare ball0=
sphere {
<0.5, 0.5, 0>, 1
texture {
T_Silver_1E
pigment {Yellow}
}
}
#declare ball1=
sphere {
<3, 2, 0>, 0.5
texture {
T_Silver_1E
pigment {Blue}
}
}
#declare ball2=
sphere {
<3, 1, 0>, 1
texture {
T_Silver_1E
pigment {Green}
}
}
object {ball0 rotate 360*clock*y}
object {ball1 rotate 720*clock*y}
object {ball2 rotate 360*(1 - clock)*y}