Storing Shape in Vex

   1553   4   0
User Avatar
Member
14 posts
Joined: Sept. 2016
Offline
Hi,
I'm having this wierd problem,maybe is not the correct way of doing this..
but i'm trying to store different blendshapes on the same vex wrangler by creating multiple P vectors,
but when I store the opinput 4 wich is "Vocal_F" in this case,
all the values output 0,0,0 ..?? I don't know why..
of course I check that the values of the incoming shape are not 0,but I can't figure put the problem.

is there a limit of values wich I can store on a single wrangler?? or I should do this in a different way, like building an array amd pushing the values there?

My goal is to store them to construct blends with the lerp() function wich works ok for the first three shapes..

Attachments:
docs.jpg (288.4 KB)

User Avatar
Member
7803 posts
Joined: Sept. 2011
Offline
How did you get more than 4 inputs on your wrangle? I thought it only had four.

AFAIK @opinput bindings are hardcoded to just 1-4.

The point() function can sample arbitrary nodes using the op: syntax.
User Avatar
Member
14 posts
Joined: Sept. 2016
Offline
ouu I see, didn't know that obviously , thaanks a lot!... to have more inputs I create a digital asset from this wrangler and change the input amount on the type properties..,
why this limit exist?..
User Avatar
Member
7803 posts
Joined: Sept. 2011
Offline
JMKinte
why this limit exist?..

Probably because OpInput number refers to the inputs of the attribute vop inside, not the wrangle or whatever modified hda contains it.
User Avatar
Member
14 posts
Joined: Sept. 2016
Offline
Totally right!, well I´ll go into the point function route then!, thanks!
  • Quick Links