|
 |
> islam wrote:
> >
> > Is there a way to produce a parallel light source ?
> > ....
> > In short, I would like my light, close to the object,
> > to still behave as a distant light
> >
> > any ideas please - Thanks
I have created a scene to illustrate my earlier fuzzy suggestion.
Note the light is so far from the scene it is basically parallel.
-----------------------------------------
#declare Object_Spacing=5;
#declare NObjects=5;
#declare N=NObjects;
#while (N)
sphere {
Object_Spacing * N * <1, 0, 1>,
2
pigment{color rgb 1}
finish{ambient 0 diffuse 1}
}
#declare N = N- 1;
#end
camera{
location <2,0,-2> * Object_Spacing
}
#declare Light_Distance= Object_Spacing * NObjects * 1000;
#declare Fade_Distance = Object_Spacing * NObjects / 2;
#declare Initial_Power = 1;
light_source{
<0, 0, -Light_Distance>
color rgb Initial_Power
fade_power Light_Distance/Fade_Distance
fade_distance Light_Distance
}
--
http://www.flash.net/~djconnel/
Post a reply to this message
|
 |