sly Posted May 10, 2012 Share Posted May 10, 2012 (edited) Hi, I have loaded an animated texture/color map ( for exemple: 0 to 100.tif) , how i can offset it so that the animation begin only on some frames later . In the same way , how is it possible to keep the last frame holded? Thank you. Sylvain. Edited May 10, 2012 by sly Quote Link to comment Share on other sites More sharing options...
sly Posted May 10, 2012 Author Share Posted May 10, 2012 Reply to myself : Load the file via cop/img with the file node , and there are some tools to modify the sequence Quote Link to comment Share on other sites More sharing options...
anim Posted May 10, 2012 Share Posted May 10, 2012 it's all about expressions in filename if your path is path/filename.0.tif - path/filename.100.tif you can use `$F+offset` path/filename.`$F-10`.tif if your path is path/filename.000.tif - path/filename.100.tif you need to pad the frame number so if you want to offset it will be like path/filename.`padzero(3, $F-10)`.tif to hold last frame you can use min(offsetFrame, maximumFrameValue ) function path/filename.`padzero(3, min($F-10,100) )`.tif to hold first frame you can use max() function in the same way to hold both ends you can use clamp(offsettedFrame, minimumFrameValue, maximumFrameValue) path/filename.`padzero(3, clamp($F-10,0,100) )`.tif 1 Quote Link to comment Share on other sites More sharing options...
sly Posted May 10, 2012 Author Share Posted May 10, 2012 thank you a lot. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.