Jump to content

Recommended Posts

Hi everyone,

 

I am trying to find an automated way to clean up some CAD geometry that I have. Retopo is no problem, the only issue I have is that the model has a lot of interior geometry that I want to get rid of. Interior and extrerior are connected !!! So I was trying different things without getting a decent result.

I am thinking that one should send out a ray along the normal and see what it hits. Ideally multiple rays at varied angles to be sure. Outside points should hit pretty much nothing. 

So how do I do that? I dont know if a gather loop is a good option. Anyway, I could bot get that to work on sop level.

Any help with this would be truly great. Thank you very much in advance.

 

Edited by GreenGuy

Share this post


Link to post
Share on other sites

Ray SOP or intersect() VEX function can get you there

Ray SOP can also shoot multiple rays for convenience (Sample and Jutter Scale controls)

Edited by anim

Share this post


Link to post
Share on other sites

Hey anim, thanks for your answer. I actually tried working with both, but I was not succesful. I figured if hitprim returns -1 it did not hit anything right? Well it does not seem to work that way. Could you be a little more specific on how you would approach this?

 

Share this post


Link to post
Share on other sites
27 minutes ago, GreenGuy said:

Could you be a little more specific on how you would approach this?

here is a little example

ts_remove_internal.hip

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×