|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Is there a quick/easy/intuitive way to assign a variable
the frame number that is being work on in an
animation? I would like on work on a few things
by frame count.
Any ideas?
Mr. Art
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>Is there a quick/easy/intuitive way to assign a variable
>the frame number that is being work on in an
>animation? I would like on work on a few things
>by frame count.
>Any ideas?
Yes.
#declare FrameNumber = clock/clock_delta;
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Sun, 7 Nov 1999 22:05:09 -0500, TonyB wrote:
>#declare FrameNumber = clock/clock_delta;
Assuming your clock starts at zero and the first frame is numbered
zero, this is correct. The more general formula is
#declare Initial_Clock=(whatever is in your INI file);
#declare Initial_Frame=(whatever is in your INI file);
#declare FrameNumber = (clock-Initial_Clock)/clock_delta + Initial_Frame;
--
These are my opinions. I do NOT speak for the POV-Team.
The superpatch: http://www2.fwi.com/~parkerr/superpatch/
My other stuff: http://www2.fwi.com/~parkerr/traces.html
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Nathan has added an ini_option command to set an ini option from the pov
code.
How about a reverse operation, ie. functions that return some values set
in the ini file (or wherever)? This way you could type:
#declare Initial_Clock = initial_clock();
or something like that.
--
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
|
|
| |
| |
|
|
|
|
| |