educelab / volume-cartographer

Volumetric processing toolkit and C++ libraries for the recovery and restoration of damaged cultural materials
GNU General Public License v3.0
63 stars 22 forks source link

Texturing performance improvements #71

Closed csparker247 closed 11 months ago

csparker247 commented 11 months ago

Changes

Miscellaneous

Multi-threaded Texturing

Commit cb365928 implemented a thread pool into CompositeTexturing for rendering the pixels in parallel. In a simple test, overall runtime for a large PPM was worse than the single-threaded version. A cursory investigation indicated that the whole process is primarily IO bound, and that better precaching (and volume chunking?) would be required for multi-threading to make a significant impact. Since that's a larger problem than the scope of this PR, the MT was removed.