Expression on the "Signature" attribute

   1949   0   1
User Avatar
Member
789 posts
Joined: 4月 2020
Offline
Hello all,

I am trying to write an otl to average point attributes. This is really easy using a pcfilter node in a vop network.

I now want to deliver it nicely packed to the user. So I give them one field to type in the attribute and the user can choose between float and vector, because I need to specify this in the signature attribute on the pcfilter node. To give the filtered attribute back, I use an addattrib vop node. The last one also requires the signature set.

When I right click on the signature I can get to the expression editor (pasting stuff does not work). I have tried to type in an expression like `chs(“../type”)` but that does not seem to work. Is there a clean way to have one parameter in the otl drive both the signature settings?

(This is assuming I need to set the signature manually, is there no way the get this from the attribute like type(point_attr) )

Any help is appreciated,

Koen
Dreamworks
  • Quick Links