Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inside/Outside for watertight mesh? #892

Open
Sentient07 opened this issue Oct 21, 2021 · 2 comments
Open

Inside/Outside for watertight mesh? #892

Sentient07 opened this issue Oct 21, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@Sentient07
Copy link

Hello,

I would like to compute for a point in space it's inside or outside wrt my watertight mesh and then the distance to a face. I see that I can compute the latter by following this. How do I compute the contains function as in Trimsh? I could in principle do it with Trimsh but there seems to be an open bug and I believe doing this in pytorch would be faster. Thank you.

@Sentient07 Sentient07 changed the title Signed face to point distance for watertight mesh? Inside/Outside for watertight mesh? Oct 21, 2021
@nikhilaravi nikhilaravi self-assigned this Nov 15, 2021
@nikhilaravi nikhilaravi added the enhancement New feature or request label Nov 15, 2021
@nikhilaravi
Copy link
Contributor

Hi @Sentient07 we currently don't have an equivalent function for trimesh.contains in PyTorch3D. We will consider it for our roadmap planning.

@cajoek
Copy link

cajoek commented Sep 24, 2022

Hi @nikhilaravi did it end up on the roadmap?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants