Jump to content
Sign in to follow this  
thekenny

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?

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×