// CILIA / Trap '04.02 // By Tsutomu HIGO URL: http://www.asahi-net.or.jp/~nj2t-hg/ #version 3.5; global_settings { max_trace_level 5 assumed_gamma 2.2 } isosurface { // pow(x*x+y*y+z*z+R*R-r*r,2)-pow(2*R,2)*(x*x+z*z) = 0 ----Torus function {pow(x*x+y*y+z*z+3*3-pow((0.8+1.2*pow( sin(18*atan(y/(abs(sqrt(x*x+z*z)-3)+0.00001))) *sin(36*atan(z/(x+ 0.0001))),8)),2),2) -2*3*2*3*(x*x+z*z)} threshold 0 max_gradient 3000 contained_by {box {<-5, -2, -5>, <5, 2, 5>}} texture { pigment {color rgb <0.8, 1, 0.7>} finish { ambient 0.1 diffuse 0.8 reflection 1 specular 0.8 phong 0.8 brilliance 2 } } no_shadow rotate z*-20 rotate y*15 } camera { location <0, 3.3, -1.8> angle 100.0 look_at <-0.3, -1, 0> } light_source { <15, 30, -15> color rgb <0.8, 0.6, 0.6> }