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

Create special handling for duplicate faces on PSK import #44

Open
cmbasnett opened this issue Aug 10, 2023 · 2 comments
Open

Create special handling for duplicate faces on PSK import #44

cmbasnett opened this issue Aug 10, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@cmbasnett
Copy link
Member

cmbasnett commented Aug 10, 2023

Some PSKs have duplicate faces (i.e., a face with the same 3 vertices as another face), and Blender does not allow this for technical reasons, so our addon discards them as "degenerate faces". However, duplicate faces does not necessarily mean redundant data, since the wedge info (material, UV etc.) can be different for each of the twin faces.

The cleanest and simplest solution is probably to be put these duplicated faces on a separate mesh. The only issue is that the shading will not be consistent because the new geometry would be isolated from its surrounding geometry.

@cmbasnett cmbasnett added the enhancement New feature or request label Aug 10, 2023
@cmbasnett cmbasnett self-assigned this Aug 10, 2023
@6yXJI0
Copy link

6yXJI0 commented Aug 11, 2023

How did the previous importer handle this issue? The one I dropped earlier

@cmbasnett
Copy link
Member Author

I'll have to look into how and if it handled it. Might be able to just replicate it as long as its sensible.

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

2 participants