Currently we just serially load all images etc. It would be better to do this asynchronously or otherwise in parallel.
PBRT does this via async functions, and while async Rust is a big topic, I'm not sure I want to get into it. Parallelizing image loading with Rayon or something may be nice, though.
Currently we just serially load all images etc. It would be better to do this asynchronously or otherwise in parallel.
PBRT does this via async functions, and while async Rust is a big topic, I'm not sure I want to get into it. Parallelizing image loading with Rayon or something may be nice, though.