0
0
This branch is 195 commits behind blender/blender-addons:main
Thomas Barlow 2791f29806 FBX IO: Speed up export by multithreading array compression
zlib.compress() releases the GIL so can be multithreaded.

This patch adds a context manager to FBXElem that temporarily enables
multithreading of the compression of added arrays, by using the recently
added utility to schedule CPU-bound tasks to run on separate threads.

On my Ryzen 7 3800x, exporting non-animated rigged humanoid models
typically results in about a 1.2 to 1.4 times faster export.

Exporting only simple geometry, such as many subdivided default cubes,
can be about 2 to 3 times faster.

The multithreading is also enabled for the `json2fbx.py` script.

No changes are expected to the contents of exported files.

Pull Request: blender/blender-addons#105018
2024-01-12 21:39:18 +01:00
2024-01-08 10:13:08 +11:00
2023-11-16 14:33:15 +01:00
2023-11-20 12:20:40 +01:00
2018-10-29 12:49:40 +01:00
Description
Add-ons bundled with Blender releases
49 MiB
Languages
Python 99.2%
POV-Ray SDL 0.8%