/* S:=a*x^3+b*x^2+c*x-y^2-z^2 n:=4 suite:=*2 look_at<0,0,0> angle 9.5} light_source { <-10,18,-20> color White } light_source { <10, -1,-10> color rgb <1,0.6,0>*0.7 } light_source { <0,5,-20> color Yellow*0.8} background{White*0.95} // SkyBlue*1.2} //------------------------------------- #declare a=-0.2; #declare b=1.4; #declare c=0.01; #macro surf(tex,cx,r) poly { 3, clipped_by{ sphere{,r}} texture{ tex } // } #end //-------------------------- #declare text1=texture{ T_Chrome_5A finish {ambient 0.2 diffuse 0.2 reflection 0.3 roughness 0.001 specular 0.8} }; //------------------------- #declare text2=texture{ T_Gold_5A pigment{ Gold transmit 0.4} finish {ambient 0.2 diffuse 0.2 roughness 0.001 specular 0.1} }; //------------------------- union{ surf(text2,4,4) surf(text1,-10,10) scale 0.3 rotate<0,50,-90> } /* normal { granite 1 turbulence 0.8 scale 0.5 accuracy 0.2 } */