#version 3.7; #declare F=function{ // pattern { density_file df3 "cubie.3ds" interpolate 2 scale 4 translate <-2,-2,-2>} pattern { granite } } isosurface { function { 1.0-F(x,y,z) } contained_by { box{ -1.95, +1.95 } } threshold 0.5 max_gradient 3.6 pigment { color rgb<1, 0.7, 0.2> /* granite color_map{ [0.0 color rgb<1, 0.7, 0.2> ] [1.0 color rgb<0.3,0.2,0.1> ] } scale 3.1 */ } // normal { granite 0.0671 } finish { phong 0.5 } rotate -y*clock*360 rotate (x)*clock*360 } light_source { <-33,66,-99> color 1 area_light <6,0,0>,<0,6,0>, 6,6 adaptive 1 circular orient } light_source { <+33,66,-99> color 0.33 area_light <6,0,0>,<0,6,0>, 6,6 adaptive 1 circular orient } light_source { <0,0,0> color rgb<0.9,0.3,0.6> } camera { location <4,4,-10> look_at<0,0,0> // angle 24.71 angle 34.21 }