POV-Ray : Newsgroups : povray.animations : for spotlight : Re: for spotlight Server Time
28 Jul 2024 12:21:49 EDT (-0400)
  Re: for spotlight  
From: Jerry
Date: 19 Jun 2000 12:08:05
Message: <jerry-BDE7FD.09080319062000@news.povray.org>
In article <394### [at] julianuwoca>, rsibbald 
<rsi### [at] julianuwoca> 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???
>

What problems are you having? The above should work, as long as you 
always want your light source to be 'on a pole' 1 unit higher than your 
camera's location.

#declare camera_location = <0,0,-5>

#declare light_location = camera_location + <0,1,0>


should result in a 'light_location' of <0,1,-5>.

Jerry


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.