Jump to content

Time based UV Transform


Recommended Posts

Hi All! I am wanting to Transform UV coords along V based on time to give the illusion of forward motion (using UV Transform SOP) but am running into a few issues.

Knowing the UV space is from 0 - 1 I cant use $F (integer) and even when I use $FF I am not getting a float value returned (is $FF meant to return a float?). Using the ladder to slide the values at 0.1 increments I can see a change in the UV position and with my animation at 2880 frames when I slide somewhere past 2000 my texture turns black.

So - Is there a way via expressions I can loop between 0-1 using decimal increments based on time/frames?

Cheers!

Link to comment
Share on other sites

Did you try $F/$NFRAMES ? This should give you value from 0 to 1 as you go from frame 0 to frame 2880. If you want to loop then multiply only $NFRAMES by say 0.5 ($F/($NFRAMES*0.5, Choose by what number you want to multiply $NFRAMES to get the desired result) it will repeat twice. You can see the effect of $FF when you go to Global Animation Options and turn of the the integer Frame values and set step == non integer value like 0.1 to 0.9

Edited by sadhu
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...