Copytopoint node driven by 3@transform?
1282
4
0
Sept. 11, 2024 4:47 a.m.
In my case,
Instead of
p@orient , I can combine Copytopoint nodes and adjust the rotation value with
3@transform .
But I'm a little confused that I find nothing with
3@transform in official manual,
Is it an attribute defined as a houdini known type?
matrix3 m = ident ();
rotate (m , radians (chf ("angel" )), set (0 ,1 ,0 ));
3 @transform = m ;
//p@orient = quaternion(m);
Attachments:
houdini_RotByTransform.gif (300.7 KB)
DrivenByTransform.png (946.8 KB)
I find @orient ,but nothing with @transform.png (148.3 KB)
Xue_Yue
Member
80 posts
Joined: June 2016
Offline
Sept. 11, 2024 9:49 a.m.
Hello, 3 is not a vector type. You use 3@transform to write a 3x3 matrix (aka rotation matrix) which is called "transform". The rotation matrix called transform is a standard and can be interpreted by the copytopoints SOP in the same way as orient, or N or v etc. There is also 4@ and 2@.
Edited by Xue_Yue - Sept. 11, 2024 09:52:17
Sept. 11, 2024 11:14 p.m.
Xue_Yue ...Dear Xue_Yue , thanks for your detailed explanation~!
Sept. 11, 2024 11:18 p.m.
tamte ...Hi, dear tamte, thanks so much for the url,
oooooh, that's it~!