Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run mesher in web worker #7

Open
deathcap opened this issue Jun 10, 2014 · 0 comments
Open

Run mesher in web worker #7

deathcap opened this issue Jun 10, 2014 · 0 comments

Comments

@deathcap
Copy link
Member

To improve responsiveness, meshing should run asynchronously in a web worker.

An individual chunk can be remeshed quickly enough to not cause any noticeable lag (required to allow interactive mining and building), but it becomes apparent when exploring and generating new chunks. Terrain generation https://github.com/deathcap/voxel-land runs in a worker, so the pause is likely caused by the chunk meshing (to do: confirm with profiler).

ref #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant