Jump to content

trick for attribute create ?


Recommended Posts

anyone have a pointer for calling up a attribute you just created via a paint sop ? Scenario... I have an attribute create for a point variable single float, I append a paintSop and paint it using the overrides and all is groovy. then I want to add another attribute create SOP to flip the result so the remaining points are the inverse of the first variable. So I go and do a 1-$VariableName in the Default field and it doesn't like the attribute, so I try to use a point expression to call it up --> point ("../paint1", $PT, "VARNAME",0) and it works only to the point it assigns the attribute, but NOT the right number? thoughts?

Link to comment
Share on other sites

You are probably a very experienced houdini user. But if I would solve this I would create two group sops under the paintSOP to separate the painted from the non-painted(or different color) points with "group by expression" . After that you could apply the invert value for only the non-painted points. Combine that with an attribute transferSOP and you should get what you are looking for. I hope I understood what you were looking for. you have certainly been using Houdini for more then 10 years than me so don't get me wrong if you find my post stupid :)

  • Like 1
Link to comment
Share on other sites

... So I go and do a 1-$VariableName in the Default field and it doesn't like the attribute...

write it into Value field, Default field is for default value of the attribute and that cannot be varying per point

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