Skip to content

Optimizing Spatial Partitioning #4

@AncientEntity

Description

@AncientEntity

spatialpartitioning branch is about to be merged in, I have created spatialpartitioning-optimized as while spatialpartitioning is faster than without it, it rebuilds the quadtree each frame. spatialpartitioning-optimized's goal is to manually move things around the quadtree without fully rebuilding each frame. Currently it mostly works but is fairly buggy and crashes.

Tested on testmap2:

  • before merge: ~20fps
  • spatialpartitioning: ~60fps
  • spatialpartitioning-optimized: 100-120fps

obviously these are ballparks and spatialpartitioning-optimized isn't done so it could change, but it would be good to do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions