"H. E. Day" <Pov### [at] aolcom> wrote in message
news:01bff266$90020260$537889d0@daysix...
| 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?
Maybe making the clock be a frame count instead of 0 to 1 and then divide by
total frames would be best:
INI file:
Initial_Clock=1
Final_Clock=100
POV file:
#declare Clock=clock/TotalFrames;
#declare TotalFrames=100;
#declare CheckFrame=50;
#if (clock>=CheckFrame) // from CheckFrame number onward
#declare SavedClock=CheckFrame/TotalFrames; // this is seen
#end
Using Clock in place of 'clock' everyplace you would be using it besides.
'clock' will be a count then from first frame to last, and SavedClock is
your kept variable. Not sure why anyone else including you wasn't thinking
of it this way. Too simplistic perhaps?
Bob
Post a reply to this message
|