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

Errors log into console when moving diagonally and with CPU/GPU performance on minimum #21

Open
5 tasks
jChicote opened this issue Feb 28, 2022 · 0 comments

Comments

@jChicote
Copy link
Owner

Expected Behaviour

  • Moving character throughout a terrain map will scroll the chunks and update positions without error.
  • Perform with performance of expected 40 - 60 fps

Current Behaviour

  • Performance around 50fps
  • Moving diagonally produces mesh error (mesh has no valid data)
  • Performance is acceptable
  • Chunks will not render then pop in after player hovers close to those chunks.

Possible Solutions

  • Modify chunk iteration to instead iterate through a second smaller draw distance (thus ingnoring a majority of chunks that don't need to be iterated).
  • (possible) Instead of minimum level of detail add a constant m_ConstantMiniLevelOfDetail to generate mesh at the lowest non divisible detail allowable.
  • On iteration update ... await all chunks to complete rendering before performing the next update.
  • Cull rendering and processing of chunks not in view (for future sprints)
  • Introduce a maximum render distance.
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

No branches or pull requests

1 participant