#version 3.5; #include "colors.inc" #include "functions.inc" #include "transforms.inc" global_settings { assumed_gamma 1 } background { color White } #declare CamLoc = < 0, 0,-10>; #declare box_offset = 0.0*<1,1,1>; #declare SIZE = <95,0,250>; #declare box_p1 = -<95,10,250>+box_offset; #declare box_p2 = <95,45,250>-box_offset; #declare LEVEL = 180; #declare MAX_GRADIENT = 400; #declare ACCURACY = 0.0001; camera { location CamLoc look_at < 0, 0, 1> angle 45 up image_height right image_width } light_source { <0, 0,0> color White } #declare IsoFinish = finish { ambient 0 diffuse 1 specular .5 roughness 0.02 brilliance 2 } union { union { isosurface { function { -f_eval_spline_6dir_FCC(x,y,z,0)} threshold -LEVEL max_gradient MAX_GRADIENT accuracy ACCURACY contained_by {box {box_p1 box_p2}} open texture { pigment { color Gold } finish {IsoFinish} } } rotate <0,90,180> } rotate <90,0,0> translate <0,0,600> }