Jump to content

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

Share this post


Link to post
Share on other sites

ä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?

Share this post


Link to post
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);

 

Share this post


Link to post
Share on other sites

Haha, now I got it. Thank you to you both. F.. Typos...

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×