POV-Ray : Newsgroups : povray.animations : Lights, HELP Server Time
28 Jul 2024 14:25:45 EDT (-0400)
  Lights, HELP (Message 1 to 2 of 2)  
From: rsibbald
Subject: Lights, HELP
Date: 19 Jun 2000 09:58:20
Message: <394E285B.92B6CC9B@julian.uwo.ca>
How can I make a spotlight always follow my camera
in an animation? (as opposed to moving my spotlight
seperately from my camera)


Post a reply to this message

From: Bryan Valencia
Subject: Re: Lights, HELP
Date: 19 Jun 2000 19:06:23
Message: <394EA781.29B542D5@209software.com>
#declare CamLoc=<Whatever Coords you choose>;
#declare SpotLoc=CamLoc+<0,3,0>;  //This puts the SpotLoc above the
camera

then
    camera{location CamLoc ...}
    light_source{SpotLoc ...}

This should get you started.

rsibbald wrote:

> How can I make a spotlight always follow my camera
> in an animation? (as opposed to moving my spotlight
> seperately from my camera)

--
Bryan Valencia
Software Services - Making Windows Scream
http://www.209software.com
mailto:bry### [at] 209softwarecom


Post a reply to this message

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