Breaking a Wire

   6165   6   0
User Avatar
Member
66 posts
Joined: Sept. 2008
Offline
Hi! I'm in the way of learning dynamics in houdini, days ago I started analyzing node by node in the dop network. The first thing im learning is the use of wires and trying different situations where i can use them. The step by step method works until i tried to break a wire when it stretches. The only workaround i found is to build two wires and connect them with a spring constraint but it fails when i try to mesh the wire.

Is there a nice way to achieve this effect? I read about the field force effect but couldn't make it work.

I attached the scene with the tests. Thanks in advance!

Attachments:
WireBreak.hipnc (433.2 KB)

NicoZ
User Avatar
Member
8551 posts
Joined: July 2007
Online
it's a good method, but you have to make constraint much stronger and set the distance threshold very low then in sops append Fuse SOP ideally with the same threshold and then it would work
look at the file

Attachments:
wirebreak_fix.hipnc (434.5 KB)

Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
66 posts
Joined: Sept. 2008
Offline
Thats exactly what i was looking for, so much thanks for your time tamte, very educational solution

Now i will go on with more experiments with wires!
NicoZ
User Avatar
Member
66 posts
Joined: Sept. 2008
Offline
Hi its me again After the help from tamte i did break the wire. Now im doing the same but with a group of wires. My problem comes when i use the sbd glue constraint but when one of the wire copies reach the limit length it disables and all the copies break. Is there something like the for each node to create an sbd glue for each copy?

I attached an image and the scene file.

Thanks!

Attachments:
capture.jpg (149.9 KB)
WiresNew.hipnc (551.1 KB)

NicoZ
User Avatar
Member
8551 posts
Joined: July 2007
Online
yes, there is, it's called Apply Relationship DOP
with that you can easily customize constraints per point
here it is used in your file

Attachments:
wiresnew_fix.hipnc (552.6 KB)

Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
258 posts
Joined: July 2006
Offline
Leanred a lot of these example files. However, I have a different problem, see in my upload I have a single wire

I deleted the primitives of this wire and kept the points,
then copied a line to every point which then I think I get the same look like my original wires but unfused.
every lines end points are seperately grouped at sideA and sideB


Then I wanted to add the apply relations to add springs inbetween but it seems like every side a is pulling every sideB instead of the intersecting one..

This works if I have one sideA and onesideB point.

Please help me with this..

Attachments:
MyCable.hipnc (161.0 KB)

Head of CG @ MPC
CG Supervisor/ Sr. FX TD /
https://gumroad.com/timvfx [gumroad.com]
www.timucinozger.com
User Avatar
Member
258 posts
Joined: July 2006
Offline
Here I is the progress

Vimeo
https://vimeo.com/60956609 [vimeo.com]

Refference
http://www.youtube.com/watch?v=j-zczJXSxnw [youtube.com]

Once this issue is solved I will integrate this breaking into the simularion.
The issue is, the bridge here is procedurally modelled, So I dont want individually to assign constraints as it will be awfully slow and it beats the purpose of H
Head of CG @ MPC
CG Supervisor/ Sr. FX TD /
https://gumroad.com/timvfx [gumroad.com]
www.timucinozger.com
  • Quick Links