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

Increase the limits of the WebGPU pipeline so that large GND terrain geometry may be rendered #229

Merged
merged 2 commits into from
Dec 15, 2023

Conversation

rdw-software
Copy link
Member

@rdw-software rdw-software commented Dec 15, 2023

The largest GND file is schg_dun01, so using that as a "worst case scenario" seems like a reasonable choice.

  • 16-bit indices are insufficient to render meshes with 80k+ vertices, so let's just use 32-bit (even if it's wasteful for other maps)
  • The maximum vertex buffer size also needs increasing as the terrain meshes are HUGE - maybe they could be optimized?

This is split off from the other changes to make sure the GND rendering PR won't be as large as it currently is...

Ground mesh sections may have more than 65k vertices.
This is required in order to render the terrain for schg_dun01.
@rdw-software rdw-software merged commit 3ed925b into main Dec 15, 2023
8 checks passed
@rdw-software rdw-software deleted the 199-gnd-pipeline-adjustments branch December 16, 2023 00:28
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.

1 participant