|
|
From p.general discussion.
#include "colors.inc"
#default{
finish { ambient 0.8 diffuse 0.4 }
}
global_settings { assumed_gamma 1.0 }
// An area light (creates soft shadows)
// WARNING: This special light can significantly slow down rendering times!
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 <0, 80, 40> // <x y z> position of light
}
#declare diam=2;
camera {
//orthographic
location <20*diam,0,0> // position & direction of view
right y // horizontal size of view
up z // vertical size of view
sky z
look_at <0,0,1>
angle 5
}
intersection {
box{ <-1,-1,0>,<1,1,2> }
quadric { <1,1,0>,<0,0,-1>,<0,0,1>,-1}
texture { pigment { color White} }
rotate 30*y
}
Post a reply to this message
Attachments:
Download 'con.png' (7 KB)
Preview of image 'con.png'
|
|