View Full Version : How to script to 'hold last frame' in image seqence?
morimitsu 05-05-2005, 05:57 AM when I import a image sequence, and turn on image seq, when my movie file ends, how to make it loop or hold last frame?
thanks for any help!
|
|
ThePredator42
05-05-2005, 11:16 AM
in the image number field, where the image sequence expression is located, change that expression
imagePlane2.frameExtension=frame;
to
if (frame <= 5000)
imagePlane2.frameExtension=frame;
else
imagePlane2.frameExtension=5000;
In this case assuming you have 5000 frames, change as needed
kjaft
05-06-2005, 08:37 PM
you could also delete the expression and keyframe the parameter "frame extension" instead, just 1 at frame 1 and n at frame n using a linear animation curve (thats the old fashioned way :) then after the last frame just continue the curve holding the value. That probably evaluates faster than an expression with an if..else-statement but i'm not really sure about that fact.
A certain advantage is that you can also animate your texture-sequence in a non-linear way using all techniques of keyframe animation like sudden jumps or hold a certain frame in the middle of the sequence etc.
have phun
felix
CGTalk Moderation
05-06-2005, 08:37 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.