Random cable generation on same surface (points).

   2586   4   1
User Avatar
Member
6 posts
Joined: 1月 2018
オフライン
Hi,

I've just started learning Houdini and I'm really impressed, it's an amazing tool!

So I have a few ideas to do but I'm still learning.

Is there a way to snap and hang the cables on the same poly surface? (sphere, torus etc.) I just need auto-generated cables with random length, position, thickness and slack value.

I tried with half circle but seems too static and not what i want.

I really need guidance. Any topic, idea or tutorial?

Thanks in advance.
User Avatar
Member
1854 posts
Joined: 5月 2006
オフライン
The labs cable generator tool?
http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
User Avatar
Member
6 posts
Joined: 1月 2018
オフライン
mestela
The labs cable generator tool?

Yeah I'm tried cable generator but working different.

Here is example what i want:



(ignore the cable simulation in the video. you know that ue4 cable component.)

Goal: need randomly generate cables on same surface from;

- point group for position (start end point)
- hang amount, some cables slack and some cables tight
- random cable thickness.
User Avatar
Member
152 posts
Joined: 8月 2012
オフライン
Suggestion:
1. Ends SOP to get individual edges of a polygon, or Add SOP to connect points as desired.
2. Resample for better resolution, may be a good time to create additional lines if necessary.
3. Use Group Range to select endpoints of each line, maybe a For loop running over Prims
4. Selected points are used as Pin points, set up Vellum Configure Cloth, set Constraint Type to String, append Vellum solver.
5. Try to work with simple lines as long as possible, you can use @pscale attribute to give lines thickness during the solve.
6. Sweep the lines to get cables.
User Avatar
Member
141 posts
Joined: 3月 2016
オフライン
Like this?
I think if you just play with the setting in the labs cable tool you'll get pretty close to what you want.

Attachments:
Cables.hiplc (169.0 KB)

Love Houdini
  • Quick Links