gregzaal / Gaffer

A light-manager add-on for Blender
387 stars 30 forks source link

Make thumbnail generation threaded #32

Closed gregzaal closed 5 years ago

gregzaal commented 7 years ago

Much of the time seems to be spent loading and reading the hdr file, which uses only one thread. Multiple thumbnails could be generated simultaneously.

gregzaal commented 7 years ago

Main concern is memory limitation - huge HDRIs can fill up all the memory during thumbnail generation (since it has to be stored in memory several times) - maybe there's a way to check how much memory is available and only add to the thread pool when there is enough available.

gregzaal commented 7 years ago

This can wait until the next release - for now just getting thumbnails from a server (#35) will be enough.

gregzaal commented 5 years ago

It's already threaded...