Hello. I'm very new to Houdini and couldn't figure out how can I copy geometry along normal of points.
What am I doing wrong? Thank you in advance.
How can I copy geometry along normal?
5559 2 0- Tatsuman
- Member
- 4 posts
- Joined: 7月 2017
- Offline
- CYTE
- Member
- 686 posts
- Joined: 2月 2017
- Offline
- jsmack
- Member
- 7837 posts
- Joined: 9月 2011
- Online
to align the normal to y, use quaternions instead.
After you have points with N copied from the sphere as CYTE said, use an attrib vop or wrangle to create orient from the dihedral (align vop) from {0,1,0} to N.
or in vops: (N)->1 { signature: “Angle Axis”, from: , to: input1 } (matx)->0 { name: orient, type: vector4 }
After you have points with N copied from the sphere as CYTE said, use an attrib vop or wrangle to create orient from the dihedral (align vop) from {0,1,0} to N.
@orient = dihedral({0,1,0},@N);
or in vops: (N)->1 { signature: “Angle Axis”, from: , to: input1 } (matx)->0 { name: orient, type: vector4 }
-
- Quick Links