Follyx Posted September 8, 2021 Share Posted September 8, 2021 I try to copy the intrinsic data (matrix3) from a DOP animated to an static object. Unfortunately the rotation vector is somehow funky. Have a look at the hip please: Credits: Tutorial by Alessandro Nardini on you tube: https://www.youtube.com/watch?v=s9DjkDt-6Js Smart_activation_4.hip Quote Link to comment Share on other sites More sharing options...
k2p8 Posted September 9, 2021 Share Posted September 9, 2021 primintrinsic transform is a matrix3. You binded it as a matrix which is matrix4 in houdini by default. Just write matrix3 m3 = primintrinsic(1, "transform", pt); instead of matrix m3 = primintrinsic(1, "transform", pt); Quote Link to comment Share on other sites More sharing options...
Follyx Posted September 9, 2021 Author Share Posted September 9, 2021 äh, I dont understand exactly what you mean...? I declared the m3 as a matrix3 the matrix 4 is needed for packed objects and/ or v and/or w, isnt it? Quote Link to comment Share on other sites More sharing options...
Benyee Posted September 9, 2021 Share Posted September 9, 2021 On 2021/9/8 at 8:44 PM, Follyx said: I try to copy the intrinsic data (matrix3) from a DOP animated to an static object. Unfortunately the rotation vector is somehow funky. Have a look at the hip please: Credits: Tutorial by Alessandro Nardini on you tube: https://www.youtube.com/watch?v=s9DjkDt-6Js Smart_activation_4.hip hey,try modifying the second line codes in "copy_matrix" node to:? matrix3 m3 = primintrinsic(1, "transform", pt); Quote Link to comment Share on other sites More sharing options...
Follyx Posted September 10, 2021 Author Share Posted September 10, 2021 Haha, now I got it. Thank you to you both. F.. Typos... 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.