#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_52 = srgbft <0.65,0.65,0.65,0,0>; #declare Color_53 = srgbft <0.8,0.8,0.8,0,0>; #declare ColorMap_CloudyGraySky2 = color_map { [ 0 Color_52 ] [ 1 Color_53 ] } #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: Peach ? // via Norbert Kern's materials collection. #declare Color_NK00650 = srgbft <0.232,0.105,0.105,0,0>; #declare Color_NK00651 = srgbft <0.46,0.403,0.375,0,0>; #declare Color_NK00652 = srgbft <0.9,0.18,0.18,0,0>; #declare ColorMap_NK0065a = color_map { [ 0.25 Color_NK00650 ] [ 1 Color_NK00651 ] } #declare Pigment_NK0065a = pigment { bozo scale 0.001 color_map { ColorMap_NK0065a } } #macro Warp_NK0065a0 () warp { turbulence 1 } #end #macro Warp_NK0065a1 () warp { turbulence 0.5 } #end #declare Normal_NK0065a0 = normal { bumps 0.8 Warp_NK0065a0() scale 0.2 } #declare Normal_NK0065a1 = normal { bumps 0.8 Warp_NK0065a1() scale 0.001 } #declare NormalMap_NK0065a = normal_map { [ 1 Normal_NK0065a0 ] [ 1 Normal_NK0065a1 ] } #declare Normal_NK0065a = normal { average normal_map { NormalMap_NK0065a } } #declare Texture_NK0065a = texture { pigment { Pigment_NK0065a } normal { Normal_NK0065a } } #declare Pigment_NK0065b = pigment { color Color_NK00652 } #declare Finish_NK0065b = finish { ambient srgb <0,0,0> diffuse albedo 0.7 emission srgb <0,0,0> brilliance 2.0 // If <= 1.0 we match 3.7.1-alpha.8737949 phong 0.6 phong_size 2 metallic 1 } #declare Texture_NK0065b = texture { pigment { Pigment_NK0065b } finish { Finish_NK0065b } } #declare TextureMap_NK0065 = texture_map { [ 1 Texture_NK0065a ] [ 1 Texture_NK0065b ] } #declare Texture_NK0065 = texture { average texture_map { TextureMap_NK0065 } scale 0.35 scale 0.900 } #declare Interior_NK0065 = interior { ior 1.5 } #declare Material_NK0065 = material { texture { Texture_NK0065 } interior { Interior_NK0065 } } #declare Obj00 = object { Iso00 material { Material_NK0065 } hollow } #declare ObjBox00 = object { Box00 material { Material_NK0065 } hollow } #declare ObjBox01 = object { Box01 material { Material_NK0065 } hollow } #declare ObjCyl00 = object { Cylinder00 material { Material_NK0065 } hollow } #declare ObjSph00 = object { Sphere00 material { Material_NK0065 } 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 }