#version unofficial 3.8; // yuqk #if (file_exists("version.inc")) #include "version.inc" #end #if (!defined(Fork_yuqk)) #error "This POV-Ray SDL code requires the yuqk fork." #end global_settings { assumed_gamma 1 } #declare Grey50 = srgb <0.5,0.5,0.5>; background { Grey50 } #declare Camera00 = camera { perspective location <3,3,-3.001>*0.60 sky y angle 35 right x*(image_width/image_height) look_at <0,0,0> } #declare VarOrthoMult = 2.0/max(image_width/image_height,image_height/image_width); #declare Camera01z = camera { orthographic location <0,0,-2> direction z right VarOrthoMult*x*max(1,image_width/image_height) up VarOrthoMult*y*max(1,image_height/image_width) } #declare Camera01y = camera { orthographic location <0,2,0> direction -y right VarOrthoMult*x*max(1,image_width/image_height) up VarOrthoMult*z*max(1,image_height/image_width) } #declare Camera01x = camera { orthographic location <2,0,0> direction -x right VarOrthoMult*z*max(1,image_width/image_height) up VarOrthoMult*y*max(1,image_height/image_width) } #declare White = srgb <1,1,1>; #declare Light00 = light_source { <150,150,-250>, White } #declare Red = srgb <1,0,0>; #declare CylinderX = cylinder { -1*x, 1*x, 0.01 pigment { Red } } #declare Green = srgb <0,1,0>; #declare CylinderY = cylinder { -1*y, 1*y, 0.01 pigment { Green } } #declare Blue = srgb <0,0,1>; #declare CylinderZ = cylinder { -1*z, 1*z, 0.01 pigment { Blue } } //--- scene --- camera { Camera00 } light_source { Light00 } // camera { Camera01x } // camera { Camera01y } //camera { Camera01z } object { CylinderX } object { CylinderY } object { CylinderZ } #declare Icterine = srgb <0.98824,0.96863,0.36863>; #declare IlluminatingEmerald = srgb <0.19216,0.56863,0.46667>; #declare OO = object { sphere { 0, 0.5 texture { pigment {Icterine} normal { micro 0.2 } } interior_texture { pigment {IlluminatingEmerald} normal { micro 0.2 } } } clipped_by { mode 0 sphere { <-0.3,+0.1,-0.0>, 0.67 } sphere { <+0.3,+0.0,+0.1>, 0.67 } } bounded_by { mode 0 clipped_by } } #declare HeatWave = srgb <1,0.47843,0>; #declare HippieBlue = srgb <0.3451,0.60392,0.68627>; #declare OOO = object { sphere { 0, 0.5 texture { pigment {HippieBlue} normal { micro 0.2 } } interior_texture { pigment {HeatWave} normal { micro 0.2 } } } clipped_by { mode 1 sphere { <-0.3,+0.1,-0.0>, 0.67 } sphere { <+0.3,+0.0,+0.1>, 0.67 } } bounded_by { mode 0 clipped_by } } #if (frame_number=1) union { object { OO } object { OOO } } #end #if (frame_number=2) merge { object { OO } object { OOO } } #end #if (frame_number=3) intersection { object { OO } object { OOO } } #end #if (frame_number=4) difference { object { OO } object { OOO } } #end #if (frame_number=5) union { object { OO scale 1.02 } object { OOO } } #end #if (frame_number=6) merge { object { OO scale 1.02 } object { OOO } } #end #if (frame_number=7) intersection { object { OO scale 1.02 } object { OOO } } #end #if (frame_number=8) difference { object { OO scale 1.02 } object { OOO } } #end