How to modify attributes of weights through Vop

   1071   2   1
User Avatar
Member
28 posts
Joined: 5月 2022
Offline
I want to implement a weight value from 0 to 1. Because the bones are overlapping and regular, it is easier to use the vop attribute to transfer. But I find that the boneCapture attribute cannot be operated like the ordinary floating point attribute. I don't know how to do it. The attached model is similar to the weight of the upper eyelid of the eyeball

Attachments:
QQ截图20221202143609.jpg (35.1 KB)

User Avatar
Member
62 posts
Joined: 7月 2018
Offline
Use a Capture Attribute Unpack SOP first to get attributes you can work on. It unpacks and reorganizes the capture data and creates a group of detail and point attributes that together define the joint name, a joint index, and the corresponding weight for each joint.

You can then work on the weights normally in vex or a VOP. When you're done, use a Capture Attribute Pack to repack the attributes.

https://www.sidefx.com/docs/houdini/nodes/sop/captureattribunpack.html [www.sidefx.com]
madebygeoff.com
User Avatar
Member
28 posts
Joined: 5月 2022
Offline
ok

Thank you.
  • Quick Links