POV-Ray : Newsgroups : povray.advanced-users : Clock Problem (or question) : Re: Clock Problem (or question) Server Time
2 Nov 2024 03:17:21 EDT (-0400)
  Re: Clock Problem (or question)  
From: Warp
Date: 20 Jul 2000 12:32:23
Message: <39772997@news.povray.org>
H. E. Day <Pov### [at] aolcom> wrote:
: Is there any way to grab the clock value in a specific frame and make it a
: perminent value?  In other words, get the current clock value and make it
: into a declared value that doesn't change over the rest of the animation?  
: I really need help with this one, folks.

  If you are using the official povray you can #write the value into a file
and #read that value from the file in the next frames.
  For all the frames previous to this event you can have, for example, an
"illegal" value in the file which is ignored (like -1 or something).

  If you are using megapov, you can use persistent variables.

-- 
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.