Rotate Vectors Using Quaternions in Chops (with File)

   280   2   1
User Avatar
Member
17 posts
Joined: Jan. 2016
Offline
Hello,
I would like to use a quaternion rotation to rotate vector @N around vector v@cross. Easy enough in a wrangle, but id like to do it in chops to have added control over the anim curves.


My set up is not working though. Coming across an earlier thread it was pointed out that you need to use an attribute chop and the quaternion method to let you know that the incoming vectors should be operated on simultaneously, but I cant get it to work. Ive attached a file.

Thanks!
Attachment Not Found
Edited by jtk700cln - Feb. 27, 2018 20:44:14

Attachments:
chops_rot_test_update.hipnc (84.5 KB)

User Avatar
Member
1066 posts
Joined: Sept. 2015
Offline
Not sure what you really want to do in the end.

But I changed your file a bit, so it now can be modified for different results.

Attachments:
chops_rot_test_update v1.hipnc (77.1 KB)

User Avatar
Member
17 posts
Joined: Jan. 2016
Offline
BabaJ
Not sure what you really want to do in the end.

But I changed your file a bit, so it now can be modified for different results.

Thanks for that!

I actually figured something similar out- I took just the angle into chops for processing- then brought the revisions back into the sop network via a channel sop, and THEN applied the rotation -similar to what you did but you saved a few step — direct referencing the channel in the wrangle—ill be using that. Thanks!
  • Quick Links