After profiling my engine with Optick I found that 95% of the time taken to load the sponza scene was spent reading its .obj file from disk. This week I improved this situation by reading the file in a different thread and only after this I start creating the buffers, images and descriptors on the GPU. This is the result. Now my engine loads up the sponza obj file faster than Blender :)
Source code: https://github.com/hadryansalles/Luz
Twitter: / hadryansalles
Blog: https://hadryansalles.github.io/
Chapters:
0:00 Asynchronous loading demo
0:39 Comparing load time versus Blender
Auf dieser Seite können Sie das Online-Video Asynchronous model loading - Luz Engine #6 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Hadryan Salles 25 August 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 210 Mal angesehen und es wurde von 10 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!