aresrpg / aresrpg-engine

Voxel rendering engine
1 stars 0 forks source link

Terrain: smarter patch computing order #21

Closed piellardj closed 3 months ago

piellardj commented 3 months ago

Currently, the Terrain.showMapAroundPosition() method computes patches in an order that is not optimal. It would be smarter to first compute the patches that are close to the player, and later patches that are far away. This way, the player would perceive the Terrain as "loading faster".