Vivecraft / VivecraftMod

An experimental port of Vivecraft to Forge/Fabric
Other
169 stars 40 forks source link

Fully parallel menu world building #207

Closed Techjar closed 10 months ago

Techjar commented 10 months ago

No more game freeze or lag while building the geometry. There may be some slight stutters caused by the GC if the heap isn't super large, due to the huge amount of garbage generated. I also made the download and file read async.

Needs testing on:

Techjar commented 10 months ago

Is there any other cases that need to be tested?

fayer3 commented 10 months ago

I checked nvidium, which messes with the chunk building, and that worked fine

fayer3 commented 10 months ago

I can check canvas, but not sure if that even worked before

Techjar commented 10 months ago

Sounds good to me then. As before, there's enough exception checks that it at least shouldn't crash the game in whatever edge cases are hit in production.