afonsolage / projekto

Voxel game made with Bevy Engine
MIT License
59 stars 4 forks source link

Move world genesis, terraforming and processing to separated thread/task_pool #9

Closed afonsolage closed 2 years ago

afonsolage commented 2 years ago

closes #7 closes #8

afonsolage commented 2 years ago

I have to design the event flow between landscape and genesis, since genesis will focus on sector and landscape will request the final FacesVertex from genesis.

afonsolage commented 2 years ago

All work of moving genesis to async is done. Now I'll cache the generated vertices and skip generation whenever it's ready. Later, I'll have to update the cache file whenever the chunk is updated.