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

GLM exporter updates #68

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

SomaZ
Copy link
Contributor

@SomaZ SomaZ commented Aug 30, 2024

Also fixes importing split normals and some menu item unregister. Needs proper testing

- Each polygon needs to set the use_smooth bool so split normals can even be set
- Validation needs to happen last, else uv lists or normal lists might have mismatching lengths
- Made uv assignment code much more readable and understandable, should also be faster

This is needed to also get rid of the stupid epsilons in the exporter. The broken normals assignment caused way to many exported vertices without using epsilons.
Removes some of the matrix math and should be overall faster.
Now using triangulated data directly. So, fixes mrwonko#40
Needs proper testing though. I don't have anything but the vanilla models to export and import, and that works just fine.
Broke it when I patched the transforms to happen before vertex evaluation on export
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant