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

Triangulate on export #40

Open
mrwonko opened this issue Jun 30, 2023 · 1 comment · May be fixed by #68
Open

Triangulate on export #40

mrwonko opened this issue Jun 30, 2023 · 1 comment · May be fixed by #68
Milestone

Comments

@mrwonko
Copy link
Owner

mrwonko commented Jun 30, 2023

See https://github.com/SomaZ/Blender_BSP_Importer/blob/8e5e1d39664aa0b2c9db371dd11e610b4cffd718/import_bsp/MD3.py#L137

To enable n-go export

@mrwonko mrwonko added this to the JKHub Release milestone Oct 3, 2023
@mrwonko
Copy link
Owner Author

mrwonko commented Mar 25, 2024

mesh.calc_loop_triangles()
for triangle in mesh.loop_triangles:

above code instead of

for face in mesh.polygons:

SomaZ added a commit to SomaZ/Blender-Jedi-Academy-Tools that referenced this issue Aug 30, 2024
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.
@SomaZ SomaZ linked a pull request Sep 9, 2024 that will close this issue
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 a pull request may close this issue.

1 participant