#include "colors.inc"
global_settings {
assumed_gamma 1.0
// ambient_light rgb 1, 1, 1
}
camera {
location 0.0, 0.5, -4.0
direction 1.5*z
right x*image_width/image_height
look_at 0.0, 0.0, 0.0
}
sky_sphere {
pigment {
gradient y
color_map {
[0.0 rgb 0.6,0.7,1.0 ]
[0.7 rgb 0.0,0.1,0.8 ]
}
}
}
light_source {
0*x // light s position (translated below)
color rgb 1.0 // light s color
area_light
8, 0, 0 0, 0, 8 // lights spread out across this distance (x * z)
4, 4 // total number of lights in grid (4x*4z = 16 lights)
adaptive 0 // 0,1,2,3...
jitter // adds random softening of light
circular // make the shape of the light circular
orient // orient light
translate 40, 80, -40 // x y z position of light
}
light_source {
0*x // light s position (translated below)
color rgb 0, 0.2, 0 // light s color
area_light
-10, 0, 0 -5, 0, 5 // lights spread out across this distance (x * z)
4, 4 // total number of lights in grid (4x*4z = 16 lights)
adaptive 2 // 0,1,2,3...
jitter // adds random softening of light
circular // make the shape of the light circular
orient // orient light
translate -40, 20, -40 // x y z position of light
}
plane {
y, -1
pigment { color rgb 0.7,0.5,0.3 }
}
sphere {
0, 0, 2 , 1
texture {
pigment { color Yellow }
normal { bumps 0.8 scale 0.04 }
finish { phong 0.5 }
}
} |