Copytopoint node driven by 3@transform?

   371   4   0
User Avatar
Member
17 posts
Joined: 8月 2023
Offline
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)

User Avatar
Member
58 posts
Joined: 6月 2016
Offline
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 - 2024年9月11日 09:52:17
User Avatar
Member
8730 posts
Joined: 7月 2007
Offline
jackdon4682
But I'm a little confused that I find nothing with 3@transform in official manual,
It's listed here, it can be 3x3 or 4x4 matrix
https://www.sidefx.com/docs/houdini/copy/instanceattrs#attributes [www.sidefx.com]
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
17 posts
Joined: 8月 2023
Offline
Xue_Yue
...
Dear Xue_Yue , thanks for your detailed explanation~!
User Avatar
Member
17 posts
Joined: 8月 2023
Offline
tamte
...
Hi, dear tamte, thanks so much for the url,

oooooh, that's it~!
  • Quick Links