|
![](/i/fill.gif) |
On Mon, 19 Jun 2000 14:07:42 -0400, rsibbald <rsi### [at] julian uwo ca>
wrote:
>> 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?
The identifier 'camera_location' is uninitialized. There's nothing
wrong with this as you have probably not initialized it :) Try
something like this:
#declare camera_location = (some_stuff_that_returns_a_vector);
#declare light_location = camera_location + <0,5,-10>;
camera
{
location camera_location
look_at camera_location + <0,-1,5>
}
light_source
{
light_location color White
spotlight
radius 15 falloff 45 tightness 75
}
You get the idea. If it's not clear, don't hesitate to ask.
Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] usa net
TAG e-mail : pet### [at] tag povray org
Post a reply to this message
|
![](/i/fill.gif) |