How can I randomize rotation to individual points.

   1407   3   2
User Avatar
Member
67 posts
Joined: 1月 2008
Offline



How can I randomize rotation on the Y axis for each individual point using orientation attribute in Attribrandomize?

Thank you all!
Edited by havana - 2023年3月31日 16:35:32

Attachments:
pic2.PNG (95.8 KB)
pic1.PNG (1.7 MB)

User Avatar
Member
359 posts
Joined: 4月 2017
Offline
Try using Attribute Adjust Vector SOP to handle this. Depending on how your source object is aligned, you'd want to adjust either the N attribute or the up attribute.

If you did want to randomize orientation fully, you'd want to write to `orient`, not `orientation`.

MOPs Randomize [github.com] is also a pretty user-friendly way of randomizing orientations, among other things. It'll work on template points as well as existing packed primitives.
MOPs (Motion Operators for Houdini): http://www.motionoperators.com [www.motionoperators.com]
User Avatar
Member
67 posts
Joined: 1月 2008
Offline


Problem solved! Thanks to this thread: How to rotate on scattered geos on Y axis (@N with @up ??)
Edited by havana - 2023年3月31日 18:33:27

Attachments:
pic3.PNG (1015.7 KB)

User Avatar
Member
67 posts
Joined: 1月 2008
Offline
toadstorm
If you did want to randomize orientation fully, you'd want to write to `orient`, not `orientation`.

Somehow this only works with orientation. orient point towards the Z axis.
  • Quick Links