QodotPlugin / qodot-plugin

(LEGACY) Quake .map support for Godot 3.x
MIT License
981 stars 72 forks source link

Multi-threaded geometry generation #4

Closed Shfty closed 4 years ago

Shfty commented 4 years ago

Single-threaded generation will cause maps to stall on load, and will only get worse with scale.

It should be possible to multithread on a per-entity and/or per-brush basis. I read about some caveats to using SurfaceTool off the main thread (need to pass null ArrayMesh to commit() and use return value instead).

Shfty commented 4 years ago

Implemented in #26