SBT-raytracer 1.0

camera {
position = (-4,0.8,-6);
viewdir = (0.6,-0.2,1);
aspectratio = 1.5;
updir = (0,1,0);
}

point_light {
position = (-1,4,-0.4);
colour = (1.0,1.0,0.7)
constant_attenuation_coeff= 0.25;
linear_attenuation_coeff = 0.003372407;
quadratic_attenuation_coeff = 0.000045492;
}


directional_light {
direction = (0, -1, 0);
colour = (1.0, 1.0, 1.0);
}

directional_light {
direction = (0,1,0);
colour = (1,0.2,0.8);
}

rotate(12,1,1,1,
cylinder{
material = {
diffuse = (0.8,0.3,0.1);c
specular = (0.9,0.4,0.0);
shininess = 50.5;
}
})

translate(0,-2,0,
scale(0.8,
sphere {
material = {
diffuse = (0.4,0.4,0);
specular = (0.8,0.8,0);
shininess = 102.4;
}
}))

translate( 0,0,6,
scale(40,
rotate(1,0,0,3.1415,
square {
material = {
diffuse = (0.2,0.1,0.1);
specular = (1.0,1.0,1.0);
shininess = 128.0;
}})))

translate( 0,-3.5,3,
scale(40,
rotate(1,0,0,-1.57,
square {
material = {
diffuse = (0.4,0.4,0.4)
}})))

translate( 3.5,0,0,
scale(40,
rotate(0,1,0,-1.57,
square {
material = {
diffuse = (0.4,0.4,0.4)
}})))