Jump to content

copying Matrix


Follyx

Recommended Posts

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);

Link to comment
Share on other sites

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);

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...