Barakooda Posted June 14, 2018 Share Posted June 14, 2018 (edited) Hi to all, Its been long time since I actually had to use Houdini. Someone can help me with link or example to the following . I want to round every weight float attribute in the boneCapture array. looking for example to all methods , such as Vop Vex Python Attribute Wrangle etc... Also - I tried to access the point array attribute but i`m not really understand how i`m write it down \ what is the type of the attribute .from looking on the spreadsheet. thank you for the help boneCaptureAttribs.bgeo Edited June 14, 2018 by Barakooda Quote Link to comment Share on other sites More sharing options...
davpe Posted June 14, 2018 Share Posted June 14, 2018 for rounding attribute values you can use several vex functions. for instance, in wrangle SOP: @attribute = int(@attribute); this will round individual values to the closest integer otherwise there is floor() and ceil() functions that will round values down and up respectively. for arrays, not sure what exactly you need, but you may want to check out this article that covers basic arrays manipulation in wrangle SOP: https://wordpress.com/view/vfxbrain.wordpress.com hope that helps. cheers, D. Quote Link to comment Share on other sites More sharing options...
Barakooda Posted June 14, 2018 Author Share Posted June 14, 2018 Unpack and Capture Data node explain everything :-) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.