POV-Ray : Newsgroups : povray.animations : for spotlight : Re: for spotlight Server Time
28 Jul 2024 12:25:04 EDT (-0400)
  Re: for spotlight  
From: rsibbald
Date: 19 Jun 2000 14:01:51
Message: <394E616E.E5B5F19B@julian.uwo.ca>
> The problem arises when I attempt an animation in which

the camera is moving and I want a spotlight to follow the same path
without having to write the lights path seperately.
The message I get when trying  what's below is...
  "cannot assign uninitialized identifier"

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.