#version 3.71; global_settings { assumed_gamma 1 ambient_light srgb <1,1,1> noise_generator 3 } #declare Camera00 = camera { perspective location <5,5,-5.001> sky <0,1,0> angle 35 right x*(image_width/image_height) look_at <0,0,0> } #declare White = srgbft <1,1,1,0,0>; #declare Light00 = light_source { <50,150,-250>, White } #declare Burgundy = srgbft <0.4667,0.05882,0.01961,0,0>; #declare PlaneX = plane { <1,0,0>, -2.06 pigment { color Burgundy } } #declare Bunting = srgbft <0.08235,0.1216,0.298,0,0>; #declare PlaneY = plane { <0,1,0>, -2.06 pigment { color Bunting } } #declare Burnham = srgbft <0,0.1804,0.1255,0,0>; #declare PlaneZ = plane { <0,0,-1>, -2.06 pigment { color Burnham } } #declare Color_106 = srgbft <0.65,0.65,0.65,0,0>; #declare Color_107 = srgbft <0.8,0.8,0.8,0,0>; #declare ColorMap_CloudyGraySky2 = color_map { [ 0 Color_106 ] [ 1 Color_107 ] } #declare Pigment_CloudyGraySky2 = pigment { bozo sine_wave frequency 3.33 turbulence 1.0 color_map { ColorMap_CloudyGraySky2 } } #declare Sky_Sphere01 = sky_sphere { pigment { Pigment_CloudyGraySky2 } emission rgb <1,1,1> } #include "functions.inc" #declare Fn00 = function (x,y,z) { f_cross_ellipsoids(x,y,z,0.1,8.0,4.0,1) } #declare Iso00 = isosurface { function { Fn00(x,y,z) } contained_by { box { <-1.5,-1.5,-1.55>,<1.5,1.5,1.55> } } threshold -0.0001 accuracy 0.0005 max_gradient 6.1 max_trace 1 } #declare Box00 = box { <-0.4,-0.4,-0.4>,<0.4,0.4,0.4> translate <1,2,1> } #declare Box01 = box { <-0.4,-0.4,-0.4>,<0.4,0.4,0.4> rotate x*45 rotate y*-45 translate <-1.2,1.2,1.2> } #declare Cylinder00 = cylinder { <0,0,0>, <0,1.5,0>, 0.2 rotate x*45 rotate y*-45 translate <0,0,-2.2> } #declare Sphere00 = sphere { <2.2,0.5,0>, 0.4 } // Credit: Norbert Kern warm_up http://www.irtc.org/ftp/pub/stills/2001-06-30/warm_up.zip // via Norbert Kern's materials collection. #declare Color_NK03140 = srgbft <0.1451,0.0902,0.02353,0.949,0>; #declare Color_NK03141 = srgbft <0.2353,0.2235,0.06275,0,0>; #declare Pigment_NK0314 = pigment { color Color_NK03140 } #declare Finish_NK0314 = finish { ambient srgb <0,0,0> diffuse 0 emission srgb <0,0,0> specular 1.35 roughness 0.06 } #declare Texture_NK0314 = texture { pigment { Pigment_NK0314 } finish { Finish_NK0314 } } #declare Interior_NK0314 = interior { ior 1.43 fade_distance 0.07 fade_power 1 fade_color Color_NK03141 } #declare Material_NK0314 = material { texture { Texture_NK0314 } interior { Interior_NK0314 } scale 0.900 } #declare Obj00 = object { Iso00 material { Material_NK0314 } hollow } #declare ObjBox00 = object { Box00 material { Material_NK0314 } hollow } #declare ObjBox01 = object { Box01 material { Material_NK0314 } hollow } #declare ObjCyl00 = object { Cylinder00 material { Material_NK0314 } hollow } #declare ObjSph00 = object { Sphere00 material { Material_NK0314 } hollow } //--- sky_sphere { Sky_Sphere01 } camera { Camera00 } light_source { Light00 } object { PlaneX } object { PlaneY } object { PlaneZ } object { Obj00 } object { ObjBox00 } object { ObjBox01 } object { ObjCyl00 } object { ObjSph00 }