Using the camera's current Frustum we should be able to construct an optimized query to the DB for just the visible systems.
Version 2 of this system should be able to support caching the loaded entities and somehow using that further. This is actually somewhat of a hard problem, since eventually entities will need to be purged. But dealing with overlapping large numbers of systems is still an open problem too.
Using the camera's current
Frustum
we should be able to construct an optimized query to the DB for just the visible systems.Version 2 of this system should be able to support caching the loaded entities and somehow using that further. This is actually somewhat of a hard problem, since eventually entities will need to be purged. But dealing with overlapping large numbers of systems is still an open problem too.