jChicote / jChicote/Mini_Procedural_Generation

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

Open
#21 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.