// http://xahlee.org/3d/index.html
// lathe example
#include "colors.inc"
camera {
location <7,8,-9> * .7
look_at 0
}
light_source {<20, 15, 20> color White}
difference {
lathe { linear_spline 6, <0,0>, <4,0>, <4,2>, <3,2>, <3,1>,<0,1>
texture{pigment{color Red transmit .6}}
finish {ambient .1 phong .6}
interior {ior 1.4}
}
box { <9,-9,-9>,<-9,9,0>}
rotate -y*90
}
plane { <0,1,0>, -0.01 pigment {checker color White, color Gray}}