ExperimentalRayTracerConfig 1.1 camera { position = (11.6684,2.10782,0.0454189); center = (12.4903,1.5427,-0.0263083); updir = (0.566166,0.824264,-0.00670529); } screen { width = 400; height = 300; } #define redDiffuse diffuse_material { ambient = (0.0, 0.2, 0.2); diffuse = (1.0, 0.5, 0.5); }; #define greenDiffuse diffuse_material { ambient = (0.2, 0.0, 0.2); diffuse = (0.5, 1.0, 0.5); }; #define blueDiffuse diffuse_material { ambient = (0.2, 0.2, 0.0); diffuse = (0.5, 0.5, 1.0); }; rotate( 45, 1, 0, 0, scale ( 1, 1, 2, sphere { radius = 1; center = (0, 0, 0); redDiffuse; } ) ) translate ( 5, 0, 3, rotate( 45, 0, 0, 1, scale ( 1, 1, 2, sphere { radius = 1; center = (0, 0, 0); greenDiffuse; } ) ) ) transform ( (1,0,0,0), (0,0.8,0,0), (0,0,0.5,0), (3,2,1,1), sphere { radius = 1; center = (0, 0, 0); blueDiffuse; } ) plane { normal = (0,1,0); distance = -3; checker_texture_material { num_u_repeat = 1; num_v_repeat = 1; color0 = (0,0,0); color1 = (1,1,1); }; } directional_light { direction = (-1,1,-1); color = (1,1,1); }