8
Loading Models in the glTF Format
Welcome to Chapter 8! In the previous two chapters, we explored the mathematical elements and GLM data types of Vector, Matrix, Quaternion, and Spline.
In this chapter, you will learn how to use these four data types to transform the data from the glTF model description in a file into a C++ model class, storing the first parts of the glTF data to display a static, non-animated model on the screen. We will progressively expand the C++ model class in the upcoming chapters, incorporating additional data from the glTF model we utilize.
At the end of the chapter, you will know the basic elements of the glTF format, how to load it into a C++ class using a glTF loader library, and how to display the loaded model ...
Get C++ Game Animation Programming - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.