fex Posted July 10, 2003 Share Posted July 10, 2003 Hi again maybe some friendly person could tell me how to cycle or repeat a animated texture string (like: foo.$F3.jpg) i have 100f animated loopable texture but want to render 500f thanks Quote Link to comment Share on other sites More sharing options...
anakin78z Posted July 10, 2003 Share Posted July 10, 2003 use that modulus thingy: foo.`padzero(3,($F-1)%100+1)`.bgeo I had to put the $F-1 and then +1 thing in there so that it goes from 1 to 100 and then starts at 1 again. if you rename frame 100 to be 000, you can just use $F%100. Alternately you could use this: foo.`padzero(3,$F-int($F/100.01)*100)`.bgeo which seems to work just as well, but isn't any shorter. Bye, Jens Quote Link to comment Share on other sites More sharing options...
fex Posted July 11, 2003 Author Share Posted July 11, 2003 thank you Jens this works really fine! 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.