Wooshum Posted October 8, 2012 Share Posted October 8, 2012 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! Quote Link to comment Share on other sites More sharing options...
sadhu Posted October 8, 2012 Share Posted October 8, 2012 (edited) 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 October 8, 2012 by sadhu 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.