|
![](/i/fill.gif) |
rsibbald wrote:
> perhaps I should clarify....
>
> I would like to have a line similar to the following...
>
> #declare light_source = camera_location + <0,1,0>
>
> yet, I can't seem to manage. Any ideas???
Look at the docs for spotlights - you will find the point_at keyword
which can be used as follows
#declare camloc = <1,1,1>;//cam position in any one frame
#declare spotloc = camloc+y*3;//make the spot location be 3 pov units
above the camera location
#declare look = <0,0,0>;//cam lookat position in any one frame
camera{
location camloc
look_at look //look at this point
...
}
light_source {
spotloc
spotlight
point_at camloc //point at the camera
// point_at look //point the spotlight at this point (where the
camera is looking)
rgb 1
}
Hope I was of some/any help
Pabs
Post a reply to this message
|
![](/i/fill.gif) |