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

Mesh indices are not passed into trianglePredicate #13364

Closed
querielo opened this issue Dec 21, 2022 · 0 comments
Closed

Mesh indices are not passed into trianglePredicate #13364

querielo opened this issue Dec 21, 2022 · 0 comments

Comments

@querielo
Copy link
Contributor

querielo commented Dec 21, 2022

There is an issue with the trianglePredicate function. Currently, the function only accepts points as arguments, but in the case of a model with a custom vertex shader or with masked polygons, it is not possible to filter triangles based on their indexes or vertex parameters.

Workaround: redefine _intersectTriangles so mesh indices are passed into trianglePredicate.

Discussion

Thank you for your consideration and I hope to see this feature implemented in future releases.

sebavan added a commit that referenced this issue Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant