/*équations : S:=x^2+y^2+z^3-3; n:=3 suite:=0, 0, 0, 1., 0, 0, 0, 0, 0, 0, 0, 0, 1., 0, 0, 0, -1., 2., 0,-3 */ #include "colors.inc" #include "metals.inc" camera { orthographic location <0,3.5,-3.5> look_at<0,-1,0> } light_source { <-2,5,-5> color White shadowless} light_source { <-5,5,-5> color rgb <1,1,1>*0.7 shadowless} light_source { <5,5,-5> color rgb <0.8,0.8,1>*0.5 shadowless} #declare MaFonction = function {cos (x*x+y*y + 10*z*z)} // function {pigment{marble}} background { rgb<1,0.95,0.85>*0.95 } //<0.,0.5,0.95>*1.0 //background{Yellow*0.85} //-------------------------------- poly{ 3, <0, 0, 0, 1., 0, 0, 0, 0, 0, 0, 0, 0, 1., 0, 0, 0, +1., 0, 0, -3> texture{ pigment { quilted color_map{[0.01 rgb<1,1,0>*0.8][0.5 rgb<1,0.8,0>*0.7] [1 rgb<0.8,0.6,0>*0.5]}} normal { quilted 2 // amount control0 0.6 // lower curvature (-1...1) control1 1 // upper curvature (-1...1) scale 0.04 accuracy 0.02 } } finish { ambient 0.5 diffuse 0.5 specular 0.4 reflection 0.1 } clipped_by { sphere{ 0,3.7} } bounded_by { clipped_by } rotate <-40,40,40> } // fin poly