How to modify attributes of weights through Vop
1075 2 1- zf3d
- Member
- 28 posts
- Joined: May 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
- made-by-geoff
- Member
- 63 posts
- Joined: July 2018
- Online
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]
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]
- zf3d
- Member
- 28 posts
- Joined: May 2022
- Offline
-
- Quick Links