// http://xahlee.org/3d/index.html
#include "colors.inc"
background { color Cyan }
camera {
location <3,3,-3>*1
look_at <0,0,0>
}
light_source { <4,4,4> color White}
torus {
1, 0.2 // main radius and tube radius
pigment { Green }
}
torus {
1, 0.2 // main radius and tube radius. (the torus's directrix is the y-axes)
rotate <-30,0,0> // rotate around x-axis 30°
translate <1,0,0> // translate by the vector (1,0,0)
pigment { Yellow }
}
plane { <0,1,0> // normal vector
, 0 // distance from origin
pigment {
checker color White, color Red
}
}