OpenGL Tutorial 7 (QS) – Model Loading (PT 3) – Fast Loading Binary Files

Опубликовано: 14 Октябрь 2024
на канале: Code Imposter
406
6

This is the final episode of the three model loading tutorials. It nicely completes the model loading class by incorporating additional functionality which automatically saves newly loaded models as a set of binary files. The mesh data is then read and loaded directly from those binary files instead of Assimp having to re-parse the exported object text files.

Loading models from binary is extremely fast compared to having parse mesh data as exported from 3D modelling software, especially for models that consist of hundreds of thousands or even millions of vertices. A speed comparison is included in the video which demonstrates how much faster reading binary is in comparison to parsing text… and the advantage can be huge.

Visit https://www.programmingcreatively.com... to acquire all the source code for each OpenGL Quick Start tutorial episode. That way you can just copy and paste rather than typing it all in.

00:00 – Introduction
00:36 – Instructions (How to use)
01:52 – Speed test... Binary vs Parsing
02:59 – Quick look at the upgraded class