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

Feat/lod gpu #66

Merged
merged 43 commits into from
Feb 8, 2025
Merged

Feat/lod gpu #66

merged 43 commits into from
Feb 8, 2025

Conversation

piellardj
Copy link
Member

This PR adds a new "GPU" mode for the HeightmapViewer (LOD) which:

  • reduces CPU load
  • reduces calls to the world's sampleHeightmap()
  • fixes an issue where wholes appeared in the LOD whenever the player moved

0 is the root, and each child has child.nestingLevel  = parent.nestingLevel + 1
@piellardj piellardj requested a review from Sceat February 5, 2025 22:15
@piellardj piellardj self-assigned this Feb 5, 2025
@Sceat
Copy link
Member

Sceat commented Feb 8, 2025

/merge

@github-actions github-actions bot merged commit 61ad801 into master Feb 8, 2025
2 checks passed
Copy link

github-actions bot commented Feb 8, 2025

Success! Fast forwarded master to feat/lod_gpu! git checkout master && git merge feat/lod_gpu --ff-only

@piellardj piellardj deleted the feat/lod_gpu branch February 8, 2025 21:48
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.

2 participants