Banner
{ Deutsch | English }

coolstuff/lupe.txt

//usual stuff #include "colors.inc" camera { location <2,8,-7.5> look_at <-2,0,-2> } light_source { < 20, 20, 40> Gray50} light_source { <2, 2, 2> color Gray50 shadowless } light_source { <-2, 2, 2> color Gray50 shadowless } light_source { <2, -2, 2> color Gray50 shadowless } light_source { <-2, -2, 2> color Gray50 shadowless } light_source { <2, 2, -2> color Gray50 shadowless } light_source { <-2, 2, -2> color Gray50 shadowless } light_source { <2, -2, -2> color White shadowless } light_source { <-2, -2, -2> color White shadowless } plane { y, -20 pigment { color White} } #declare loupe = union { merge { difference { cylinder { <0,-0.5,0> <0, 0.5,0>,3} cylinder { <0,-1,0> <0, 1,0>,2.5} texture {pigment {rgb <0.8,0.8,0.8>} finish {phong 0.2} } } cone { <-6,0,-6>0.66 <-sin(45)*2.5,0,-sin(45)*2.5>,0.5 texture {pigment {color Brown}} } } intersection { sphere { <0,5,0>,sqrt(31.25) } sphere { <0,-5,0>,sqrt(31.25) } texture {pigment {rgb <0.8,0.8,1> filter 0.5} finish { phong 1}} } } object { loupe rotate <0,0,0>}