Jump to content

group of inside face


YoD

Recommended Posts

Hi,

I'm a new user. I'm testing some RDB stuff on Houdini. I imported a simple GEO shattered in Max. RDB works fine. Now, I'd like to group inside faces of my OBJ to made a debris system but I don't find the method. Maybe I'm thinking of a "distance test" expression (faces that I want to select are overlapped...) and I tried to group some points or primitive based on distance...but without results. (maybe with distance() expression).

Could you help me, I'm becoming mad !

Thanks in advance

Link to comment
Share on other sites

If you have the original (unshattered) geometry you could use the ray SOP.

Plug the shattered geometry into the first and the original geometry into the second input.

Uncheck "Transform Points" and check "Point intersection distance". This will add an attribubute "dist" to your geometry containing the distance to the closest primitive in the direction of the point normal

Since all your inside polys are usually quite a distance away from the hull of the unshattered object you can group them easily based on a simple threshhold expression.

Hope that helps

Link to comment
Share on other sites

The easiest is to create the inside group when you shattered the object in Max. To deviate from RichieMayor's method, you don't have to use the Ray SOP or compute distance. Just take the original unshattered geometry, scale it down slightly and connect it to the second input of the Group SOP and use it as a Bounding Object. Do this before the geometry goes to DOPs and the groups will remain through the simulation.

Cheers!

steven

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...