POV-Ray : Newsgroups : povray.newusers : clock and declared variables : Re: clock and declared variables Server Time
5 Sep 2024 18:18:55 EDT (-0400)
  Re: clock and declared variables  
From: Nieminen Juha
Date: 3 Mar 2000 07:02:08
Message: <38bfa9c0@news.povray.org>
More generally:

  If you want to move an object linearly from point A to point B, you can do
it this way:

#declare PointA = <1,2,3>;
#declare PointB = <-1,-2,-3>;

object
{ MyObject
  translate PointA*(1-clock)+PointB*clock
}

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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