Jump to content

Find parameter value from list to use in expression


kickingdolls

Recommended Posts

Hi all,

I'm trying to build a setup that allows me to input an unknown number of blends into a blend shape SOP and will cycle through each blend state one by one based on the current frame number.

So I was imaginging it would go something like this:

if($F == *myCurrentInputNumber*, 1, 0);

I've achieved this by doing it manually by cutting and pasting my expression and incrementing the value by 1 for each input, but I'd like to have a setup that does for me based on how many inputs I have connected to my blend shapes.

Any ideas about how to referecne numerical value of each shape in an expression?

Thanks in advance

blend_setup.JPG

Link to comment
Share on other sites

Hey guys,

Thanks for the reply's - the issue is that I need this to run through a blend shapes so that each state is recorded as a morph target when exported to FBX, I don't think there other options will achieve this.

So both your solutions are great options, but won't achieve the results I need for this workflow.

Thanks again,

 

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