giordiTD Posted May 24, 2013 Share Posted May 24, 2013 (edited) Hello folks how is it going? So I am working on a really cool spine setup and as soon as It will be done i will share it with you all ! so for now I am computing the most of my math inside a vopsop like the twist etc. What I would like to do now tho is to be able to bring all the bone length attributes inside the vop sop. I need to get all of them and convert it in an array attribute like it can be the P or N. Do you guys have any idea how to do that ? If possible I would like to avoid a python node but not afraid to use it XD Edited May 24, 2013 by giordiTD Quote Link to comment Share on other sites More sharing options...
giordiTD Posted May 25, 2013 Author Share Posted May 25, 2013 well I resovled by caluclating the the ration in the vopsop then with a simple expression in the bone i did : (PSEUDO CODE) length = current len * point( vopSop , 0 , ratio , 0 ) Quote Link to comment Share on other sites More sharing options...
anim Posted May 25, 2013 Share Posted May 25, 2013 I thought you are looking for opposite direction parameters from lot of bones to VOPs to process, then possibly back you can use ch() function in VEX, to get any parameter the same way as with expressions (no VOP equivalent) or more intuitively use CHOPs to gather the values from thousands of objects, then get the data to SOPs as attributes using Channel SOP then in VOP SOP do whatever you want and the same way back, get attribute to CHOPs and export to thousands of objects instead of getting it by point expression, but you can do that too if you are confident enough you can use VOP CHOP directly to process the data, but it's much more powerful to use VOP SOP especially if number and type of the output values doesn't match the input data Quote Link to comment Share on other sites More sharing options...
giordiTD Posted May 25, 2013 Author Share Posted May 25, 2013 (edited) I thought you are looking for opposite direction parameters from lot of bones to VOPs to process, then possibly back you can use ch() function in VEX, to get any parameter the same way as with expressions (no VOP equivalent) or more intuitively use CHOPs to gather the values from thousands of objects, then get the data to SOPs as attributes using Channel SOP then in VOP SOP do whatever you want and the same way back, get attribute to CHOPs and export to thousands of objects instead of getting it by point expression, but you can do that too if you are confident enough you can use VOP CHOP directly to process the data, but it's much more powerful to use VOP SOP especially if number and type of the output values doesn't match the input data yeah I actually wanted to bring the bone length in the vop sop but at the end I need an expression anyway to set the final length from the vopsop to the bone by using point , so I just calculated the ratio for each bone in the vop sope and multiplied it on the bone lenght . But thaks for the tip Edited May 25, 2013 by giordiTD 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.