Justin K Posted February 27, 2018 Share Posted February 27, 2018 (edited) Hey all, Simple goal here, trying to rotate a vector (@N) around another (v@cross) in chops within a wrangle. Im not sure what I am doing wrong. Ideally I would like to import two vectors into the chop network-- @N and v@cross, rotate N by Cross, and then bring the updated N vectors back into sops using a channel sop. I've attached a file. Thanks in advance! Edit: I should point out I am trying to use quaternion rotations I found this thread on the sidefx forums but havent been able to implement the attribute create method as was suggested https://www.sidefx.com/forum/topic/31300/?page=1#post-145135 chops_rot_test_update.hipnc Edited February 27, 2018 by JKeil Quote Link to comment Share on other sites More sharing options...
Justin K Posted February 28, 2018 Author Share Posted February 28, 2018 (edited) UPDATE-- it seems like there is a fairly easy way around this. All you really need the chops network for is to perform operations on the angle, as opposed to the vectors by the angle. You can then just kick out the angle and apply the quaternion rotation within a wrangle or a vop as you prefer! See new scene file wavyguy_testing3.hipnc Edited February 28, 2018 by JKeil 1 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.