How to make a random size rocky flowerpot

   1743   2   0
User Avatar
Member
1 posts
Joined: Sept. 2021
Offline
Hi everyone, I'm new to houdini and currently I'm working on a rocky flowerpot for a personal project. I would like to know if there's any way how to make some of the pieces/bricks have a different scale and don't be so even sized (randomly length for ex) and also if somehow they can be tilted aswell. Sorry for my ignorance, still trying to learn as much as I can. Any help would be appreciated. Thanks ^^

Attachments:
Captura de pantalla 2022-02-27 114320.png (714.6 KB)
Captura de pantalla 2022-02-27 114410.png (88.4 KB)
Rockypot.hipnc (156.1 KB)

User Avatar
Member
177 posts
Joined: Nov. 2015
Offline
You can create a Meta Import Node by clicking the button on the ForEach_Begin node.
By creating that, you will have access to the detail attribute which has an iteration value.

I set up an example using the detail() function to create a random offset for the Mountain SOP giving each rock a unique shape. You can take what I did and use it to create more randomness.

Hope that helps you out.
Image Not Found

Attachments:
Rockypot_jh.hipnc (162.8 KB)

Reel Inpsirations
Houdini Work in Progress [vimeo.com]
User Avatar
Member
236 posts
Joined: March 2015
Offline
Hi, I've attached a hip file and screenshot showing how you could also use some random attributes before the for-each loop.

Blue shows random attributes for corners, extrude height, crease weight.
Green shows depth, gap and height.

Rob

Attachments:
Rock_Circle.jpg (62.0 KB)
Rock_Circle.hiplc (301.5 KB)

  • Quick Links