Jump to content

Cloth (Paper-like sim) Tear Mapping


zeekindustries

Recommended Posts

Hello!!!

I'm kinda new to Houdini and I'm working with cloth simulations, I would like to make a tearing paper simulation using the cloth solver and wanted to have the areas where it can be torn be driven by a color channel of a texture, say, the red channel for example. I tried creating an AttributeCreate followed by a AttribFromMap but this doesn't seem to do the trick. I'm attaching the files that I'm currently using if someone can point me in the right direction in order to achieve this.

Thanks a lot to everyone whoever gets to read this, any help would be very much appreciated!!!

post-10282-0-52272900-1378086008_thumb.p

post-10282-0-94807400-1378086020_thumb.p

clothSimTest_05.hip

Link to comment
Share on other sites

No need to apologize, we're all learning here. (Except for OldSchool, he's the final boss)

You don't have to have the same size in your grid as your image, but that will guarantee a 1:1 correspondence between the two. If you want to go crazy you can even have a higher resolution in your geo than your image.

You can apply the color from the image to the geo with a point SOP or an addAttribute SOP (or a VOP SOP or a point Wrangle, or any other way you want). But before you do that you need to apply UVs to your object. Use a uvtexture SOP for that or a UVProject.

In a textport pane type 'exhelp tex' and you'll get the parameters and you can get going.

  • Like 2
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...