Jump to content

Cycle animated texture


fex

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...