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

Add test case for wrong normals and uvs after boolean subtraction #581

Closed
wants to merge 2 commits into from

Conversation

jirihon
Copy link
Contributor

@jirihon jirihon commented Oct 27, 2023

Related to #579.

I know the test case is quite large, but I don't observe the problem for simpler geometry, at least for now.

The RelatedGL assertion fails here. I hope I used it correctly.

Copy link
Owner

@elalish elalish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, this is very helpful! Would you mind following this example TEST to load the model as a GLB instead?

@elalish
Copy link
Owner

elalish commented Oct 28, 2023

Actually, making a GLB in this case is probably more trouble than it's worth. However, upon debugging your test, I found that roughly half of your normals for A are inverted. Can you fix that and update the test? I'm also curious if that will solve the problem anyway.

@jirihon
Copy link
Contributor Author

jirihon commented Oct 29, 2023

Thanks for looking into this. The normals should be fixed now and the test is still failing.

@elalish elalish mentioned this pull request Nov 1, 2023
@elalish
Copy link
Owner

elalish commented Nov 2, 2023

closed in favor of #587. Thanks again for the test case!

@elalish elalish closed this Nov 2, 2023
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

Successfully merging this pull request may close these issues.

2 participants