Add GLTF mesh file loader

This commit is contained in:
JosiahWI
2022-10-16 21:17:21 -05:00
parent 520569c1e3
commit 4860523223
6 changed files with 79 additions and 0 deletions

View File

@ -53,6 +53,9 @@ namespace scene
//! Halflife MDL model file
EAMT_MDL_HALFLIFE,
//! Graphics Language Transmission Format 2.0 (.gltf) mesh
EAMT_GLTF2,
//! generic skinned mesh
EAMT_SKINNED,

View File

@ -349,6 +349,12 @@ B3D, MS3D or X meshes */
#undef _IRR_COMPILE_WITH_OBJ_LOADER_
#endif
//! Define _IRR_COMPILE_WITH_GLTF_LOADER_ if you want to load glTF files
#define _IRR_COMPILE_WITH_GLTF_LOADER_
#ifdef NO_IRR_COMPILE_WITH_GLTF_LOADER_
#undef _IRR_COMPILE_WITH_GLTF_LOADER_
#endif
//! Define _IRR_COMPILE_WITH_BMP_LOADER_ if you want to load .bmp files
//! Disabling this loader will also disable the built-in font
#define _IRR_COMPILE_WITH_BMP_LOADER_