// http://xahlee.org/3d/index.html // POV-Ray lighting example #include "colors.inc" light_source { <4,4,4> color White} ///// camera { location <3,3,-3>*2 look_at <0,0,0> } background { color Cyan } sphere { <0,1,0>, 1 // position and radius texture { pigment { color Yellow } } } box { <2,0,0>, // one corner <4,1,1> // opposite corner pigment { color Green } } cone { <-2,2,0>, 1 // Center and radius of one end <-2,2,1>, 0.5 // Center and radius of other end open // remove caps pigment { color Pink} } cylinder { <0,0,3>, // Center of one end <0,4,3>, // Center of other end 0.5 // Radius open // Remove end caps texture { pigment { color Orange } } } torus { 1, 0.2 // torus radius and tube radius rotate <0,0,0> // controls orientation. translate <4,1,4> pigment { Green } } plane { <0,1,0> // normal vector , 0 // distance from origin pigment { checker color White, color Red } }