SBT-raytracer 1.0 camera { position = (-4,0.8,-6); viewdir = (0.6,-0.2,1); aspectratio = 1; updir = (0,1,0); } point_light { position = (-1,4,-0.4); colour = (1.0,1.0,1.0) constant_attenuation_coeff= 0.25; linear_attenuation_coeff = 0.003372407; quadratic_attenuation_coeff = 0.000045492; } point_light { position = (3,0,-.4); colour = (1.0,1.0,1.0) constant_attenuation_coeff= 0.25; linear_attenuation_coeff = 0.003372407; quadratic_attenuation_coeff = 0.000045492; } translate(1,0,0, scale(0.8, sphere { material = { diffuse = (0.4,0.4,.0); specular = (1,1,1); shininess = 102.4; } })) translate(-.2,-1,0, scale(0.6, sphere { material = { diffuse = (0.0,0.4,0.4); specular = (1,1,1); shininess = 102.4; } })) translate(-.2,-2,0, scale(0.6, sphere { material = { diffuse = (0.4,0.0,0.0); specular = (1,1,1); shininess = 102.4; } })) translate(-2,0,0, scale(0.8, sphere { material = { diffuse = (0.4,0.4,0); specular = (1,1,1); shininess = 102.4; } })) translate( 0,-3.5,3, scale(45, rotate(1,0,0,-2.57, square { material = { /*diffuse = paratex(((.3,.3,.3), (.4,0,0), 1, 1, 1, 1, 100, 2, 2.1, 8, true));*/ diffuse = paratex(func((.1,.1,.1), (.5, .5, .5), true, sin, (gradient((0,0,0), (1,1,1), false, (.7, .7, .7), (10,10,10)), ((0,0,0), (.57,.57,.57), 1, 1, 1, 1, 100, 2, 2.1, 8, true)))); /*diffuse = (0.4,0.4,0.4) */ }})))