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
На этой странице сайта вы можете посмотреть видео онлайн Asynchronous model loading - Luz Engine #6 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Hadryan Salles 25 Август 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 210 раз и оно понравилось 10 зрителям. Приятного просмотра!