Jump to content

Attribute create with "wrangle SOP" and "attribute create


jon3de

Recommended Posts

Hi,

Just playing around width SOPs and encountered something I do not understand. 

I created a Grid and a Line with the attribute "weight". Than the Line width attribute is transfered to the Grid. After that the weight attribute is used to displace the geometry in y.

The question is...the Point SOP only works if I use a attribute create SOP. If a attribute Wrangle SOP is used the Point SOP does not work. Then I have to use a vop network...that works just fine. I thought its does not matter if I use wrangle or attribute create Sop apart from speed advantage.

kind regards

Jon

Attrib_Create_Question.hipnc

post-12840-0-18279600-1449946331_thumb.j

Link to comment
Share on other sites

$WEIGHT is a local variable used by the Point SOP - it does not correspond to the value of an existing 'weight' attribute you may happen to have on your incoming geometry. Using the Attribute Create SOP in this case makes its own $WEIGHT variable you can use with the correct values. Using an Attribute VOP or Wrangle for the deformation is probably the best solution in any case - it will definitely be faster and is more in line with current best practices in Houdini. 

  • Like 1
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...