Jump to content

Driving parameters with attributes


phong

Recommended Posts

Hi!

I try to do paint values on a polygon mesh to use these values later on in some nodes. I tried using the point() function with having $PT as the point number variable but then there's an error popping up in the node saying that this expression causes an infinite recursion. So how do I use attributes to drive my parameters then when I'm not in the PointSOP?

Thank you very much!

Phong

Link to comment
Share on other sites

Which SOP are you aiming the point expression at? Make sure it's not the same one that you're using it in, but one higher up the stream. Using an expression like opinputpath to get the node above might make the most sense.

Link to comment
Share on other sites

I used opinputpath(".",0) in the expression. The attribute gets transfered far up higher in the stream. I tried severel SOPs with the same result. But this approach should be theoretically possible or not?

Cheers,

Phong

Link to comment
Share on other sites

The SoftTransform SOP does not support operations on a per-point basis. If you look in the help for the operator you will see that PT is not listed in the Local Variables list. The operator has no idea what it means and thus errors.

Edited by graham
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...