konstructs / client

A voxel based game client.
http://www.konstructs.org
MIT License
48 stars 8 forks source link

Improve local chunk updates #205

Closed petterarvidsson closed 7 years ago

petterarvidsson commented 7 years ago

@nsg Latest update to smooth rendering of chunks code. This will prioritize updates close to the player, but will not "force render" them as previously. This means that when you have interacted with a block (destroying or tertiary) you will get the update as soon as a worker is finished with what it's doing and gets a new chunk (and finish it). This fixes problems with lagging updates when there is a small queue of chunks to compute.

nsg commented 7 years ago

@petterarvidsson ah, nice, I will give this one a try later today.