Grid Subgrid System #123

Closed
opened 2025-07-12 19:09:13 +00:00 by john · 0 comments
Owner

Split large grids into 256x256 chunks for performance.

Note: The value of "256x256" is a "nice round baseless number" - performance tests with animated tile properties, entity field of view, pathfinding, both at game logic and rendering, are critical to deciding that value; it may even be appropriate to be tuneable at compile-time for powerusers of McRogueFace Engine.

Definition of Done:

  • Automatic chunking for grids larger than threshold
  • Transparent to API users
  • Improved render performance for large grids
  • Memory usage optimization

Wiki References:

Blocked by: Performance benchmarks needed to determine optimal chunk size

Split large grids into 256x256 chunks for performance. **Note:** The value of "256x256" is a "nice round baseless number" - performance tests with animated tile properties, entity field of view, pathfinding, both at game logic and rendering, are critical to deciding that value; it may even be appropriate to be tuneable at compile-time for powerusers of McRogueFace Engine. **Definition of Done:** - Automatic chunking for grids larger than threshold - Transparent to API users - Improved render performance for large grids - Memory usage optimization **Wiki References:** - [Grid System](https://gamedev.ffwf.net/gitea/john/McRogueFace/wiki/Grid-System) - [Grid Rendering Pipeline](https://gamedev.ffwf.net/gitea/john/McRogueFace/wiki/Grid-Rendering-Pipeline) - [Performance Optimization Workflow](https://gamedev.ffwf.net/gitea/john/McRogueFace/wiki/Performance-Optimization-Workflow) - [Proposal: Next-Gen Grid-Entity System](https://gamedev.ffwf.net/gitea/john/McRogueFace/wiki/Proposal-Next-Gen-Grid-Entity-System) (relates to grid architecture) **Blocked by:** Performance benchmarks needed to determine optimal chunk size
john closed this issue 2025-11-29 04:28:21 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
john/McRogueFace#123
No description provided.