Jump to content

Shift each channel based on an attribute


Recommended Posts

Hi,

After a very long time I have tried a chops thing and just could not figure it out. Here is the problem:

I have 5 channels. All going from 0 to 1 in 48 frames:

chan0

chan1

chan2

chan3

chan4

I have an attribute, that is created at SOP level and feeds in my CHOP net:

var0 (0.12)

var1 (-0.78)

var2 (0.22)

var3 (-0.56)

var4 (0.47)

I would like to shift each of chan# by var# (to the left or to the right)

I have tried everything $C, ic, copy-stamping just could not rememeber how it was done.

:(

Any ideas?

Thanks.

Link to comment
Share on other sites

Thanks guys, great examples.

However they did not work for my case. I ended up building a foreach loop, since those SHIFT and STRETCH nodes accept only values but no expressions. So each iteration had a single point to take care of and a single channel.

Thanks.

Link to comment
Share on other sites

...since those SHIFT and STRETCH nodes accept only values but no expressions....

what do you mean by that? I've provided you an example with expression, both mentioned nodes support $C which should be enough to make your changes per channel, do you need something else?

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...