// http://xahlee.org/3d/index.html
#include "colors.inc"
// two cylinders
intersection {
cylinder { <3,0,0>,<-3,0,0>, // center of two ends
0.5 // Radius
texture { pigment { color Red} }
}
cylinder { <0,0,3>,<0,0,-3>, // center of two ends
0.5 // Radius
texture { pigment { color Blue } }
}
}
camera {
location <2, 3,-2>
look_at 0
}
light_source { <10, 10, 10> White }
plane { y, -1.5
pigment { checker Green White }
}