dank

dank

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Confused about array attributes Oct. 17, 2016, 1:24 p.m.

Some more info. I'm finding that capturing and deforming all in one vex wrangle node is faster in my case then capturing in one vex node, storing the weights and deforming in another. I want to separate the two because capturing only needs to happen once.. but it looks like reading in large arrays of capture data is slower then doing the capture itself every single frame in my case. My capture data is non-standard so it's arbitrary data not compatible with any of the houdini deformers, just large arrays of data per point. I'm still hammering at it to make sure I'm not doing something stupid

Confused about array attributes Oct. 17, 2016, 1:08 p.m.

Thanks Ian, I'll take a look. Looks like some of the text in my message was screwed up but sounds like you figured out what I was after.. I meant to say I'm seeing attrs like
weight [1,2,3,4,5]
in one column of the spreadsheet rather then a separate column per index. I'm curious if one or the other style is slower to read in vex

Confused about array attributes Oct. 14, 2016, 10:09 p.m.

I'm writing a deformer broken up into two nodes much like the “clothdeform” and “clothcapture”. I'm storing weights on the capture and reading them in on the deform.

When I make an array attr in vex like this:

for(int i = 0;i<10;i++) {
float weight = 1;
f@weight = weight;
}

I get something in the spreadsheet that looks like:
weight


that's a different format then the clothcapture and the attributeCreate nodes provide.. that looks more like

weight | weight | weight | … etc
1 | 1 | 1 |

(excuse my ascii art)

My node works with the compact one() but it's really slow to read in to my deform vex node and I'm wondering if the way it's stored is the issue. Is it possible to create an array attribute in vex that looks like what you'd get from the attribute create or cloth capture nodes?

daniel