#version 3.7; global_settings{ assumed_gamma 1.0 } #declare C1 = camera { location -20*z+10*y+15*x direction z up y*image_height right x*image_width look_at 0 angle 18 }; #declare C2= camera { C1 rotate 90*y }; #declare C3= camera { C2 rotate 90*y }; #declare C4= camera { C3 rotate 90*y }; camera { grid 2 C1 C2 C3 C4 } #declare TM=texture_map{ [ 0.0 pigment { rgb <0,169,224>/255 } ] [ 0.1 pigment { rgb <50,52,144>/255 } ] [ 0.2 pigment { rgb <234,22,136>/255 } ] [ 0.3 pigment { rgb <235,46,46>/255 } ] [ 0.4 pigment { rgb <253,233,45>/255 } ] [ 1.0 pigment { rgb <0,158,84>/255 } ] } #declare Foo = lemon { -3*x, 0, 3*x, 1, 7 } #declare Bar = lemon { -3*y-x+0.2*z, 0.8, 3*y+x+0.4*z, 0.3, 17 } object { Foo texture { proximity { Bar } radius 0.4 texture_map {TM} }} object { Bar texture { proximity { Foo } radius 0.4 texture_map { TM}}} light_source { -20*z+20*y-20*x, 1 } light_source { 20*z+20*y-20*x, 1 } light_source { 20*z+20*y+20*x, 1 }