Jump to content

Wrapping geo in string or twine like splines


Recommended Posts

Hi there,

First time poster and fairly recent Houdini convert (half a year). 

 

I have a problem that I'm not sure how to tackle. I have a piece of geometry that I would like to wrap in string. Not necessarily overlapping and places where you can see the original geo (so not covered 100%). 

 

First I thought I should go the POP route but I can't figure out a way to crawl the object so the lines are somewhat neat. Painting where the lines will go is tedious and not really what I'm looking for. The POPs way would also mean I need to run the sim to get the object covered. I'm not sure if I have a lot of time to finish this look so I would love the quickest way to generate this on say 10 objects.

 

Second I thought of using some sort of DOPs and attract the curves to the geo. This seems even messier and harder to control than the first route.

 

Also I want to stay away from having to do this via a texture map to generate a displacement. I know I could do it fairly easily via a displacement map but at the same time I think this method would be the least accurate and not as procedural. If I can't do it procedurally I might as well hop back on C4D or Modo for the job and do it that way. I want to use the right tool for the job, you know?

 

Any help would be super appreciated. I've fallen in love with Houdini and I am trying to use it in every project I do!

Link to comment
Share on other sites

Great, thanks mestela! That actually led me to the draw curves tool. I'm not sure how I've never run across it but, while not procedural, seems like the fastest way to do what I need. Again, thanks for that!

Link to comment
Share on other sites

Just the regular wire dynamics. See the .hip for details..

Oh, sorry, didn't see the hip at first. Thanks for that. I'm so new to Houdini, every time I open it I learn something (hopefully that continues to happen for a long while). I haven't touched splines really at all, just some pops and pyro stuff. 

 

Thanks!

Link to comment
Share on other sites

I'm so new to Houdini, every time I open it I learn something (hopefully that continues to happen for a long while).

 

Oh - it sure will! Well, I can only vouch for the first 8 years, but I'm sure it will be longer ;)

Link to comment
Share on other sites

Still kind of working on this. Let's say I have a tunnel with random tubes branching off like a cave. Is there a way I could trace the contours of the cave with a curve that I sweep? I'm looking for something more artistic than a wireframe but procedural enough that I don't have to hand draw thousands of lines. 

Link to comment
Share on other sites

So I went with my original thought, which was to crawl the geo with particles and make a path from that using trails. Maybe I'm missing it but how do I turn trails into a curve that I can sweep? Is that a possibility? I can't figure it out. The trails are pretty close to what I want and they are fairly direct-able so I want to keep that route.

 

Thanks in advance for helping a newb!  

Link to comment
Share on other sites

I figured it out! I basically used this pop vop to stick the points to the surface: https://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&p=82040

 

Then the key part I was missing was to add an attribute for the points before putting them into the POP network. Then I used an Add to Delete Geometry but keep points (which I think got rid of the pop network). Added an Add to create the line and used that Point attribute I made before hand and voila, works as I expected it to. 

 

I hope what I just said makes sense and not a bunch of gibberish and houdini buzz words :).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...