pyluxcore multi-threading
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
pyluxcore multi-threading
Is it possible to add meshes and objects to the same scene in parallel threads?
Re: pyluxcore multi-threading
Nope. The Scene object is not thread safe however you can use a Python lock (https://docs.python.org/3/library/threa ... ck-objects) to protect the operation. Python has also "fake" support for threads so adding more mesh in parallel may not lead to the speedup you may expect.