Skip to content

576 triangle fan indexing is wrong #579

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

Merged
merged 5 commits into from
Jun 9, 2025
Merged

Conversation

david-lively
Copy link
Contributor

@david-lively david-lively commented Jun 9, 2025

Description

Port of fix for Unreal
This PR adds support for TRIANGLE_FAN primitives.

Author checklist

  • I have submitted a Contributor License Agreement (only needed once).
  • I have done a full self-review of my code.
  • I have updated CHANGES.md with a short summary of my change (for user-facing changes).
  • [ ] I have added or updated unit tests to ensure consistent code coverage as necessary.
  • [ ] I have updated the documentation as necessary.

Testing plan

Test that this tileset loads (best viewed under a "True Origin" georeference): MeshPrimitiveModes.zip.

There should be a row of three hexagons.
image

@david-lively david-lively linked an issue Jun 9, 2025 that may be closed by this pull request
@david-lively david-lively marked this pull request as ready for review June 9, 2025 17:38
@david-lively david-lively requested a review from j9liu June 9, 2025 17:39
Copy link
Contributor

@j9liu j9liu left a comment

Choose a reason for hiding this comment

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

Thanks @david-lively ! The fix looks great, just one ask about the changelog entry. Otherwise this should be good to go!

@david-lively david-lively requested a review from j9liu June 9, 2025 18:00
Copy link
Contributor

@j9liu j9liu left a comment

Choose a reason for hiding this comment

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

Thanks @david-lively! I just tweaked the wording a bit to avoid bothering you about it again. Looking to merge once CI passes. ✌️

@j9liu
Copy link
Contributor

j9liu commented Jun 9, 2025

Merging now. Congrats on your first PR @david-lively !! 🎉

@j9liu j9liu merged commit d3e787a into main Jun 9, 2025
7 checks passed
@j9liu j9liu deleted the 576-triangle_fan-indexing-is-wrong branch June 9, 2025 21:01
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.

TRIANGLE_FAN indexing is wrong
2 participants