Skip to content

Latest commit

 

History

History
 
 

AssetLoader

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Asset Loader

The asset loading library currently supports GLTF 2.0 format.

GLTF 2.0

GLTF loader uses tiny gltf library and is based on Vulkan-glTF-PBR project by Sascha Willems.

The loader supports most of the major GLTF2.0 features:

  • ASCII, Binary, and Embedded GLTF specifications
  • PBR Materials (Metallic-Roughness and Specular-Glossiness workflows)
  • Animations (skinned and articulated)

Note that the loader does not implement all aspects of the standard.

The loading functionality is implemented in Diligent::GLTF::Model class that initializes all Diligent Engine objects required to render the model.

std::unique_ptr<GLTF::Model> Model;
Model.reset(new GLTF::Model(pDevice, pImmediateContext, "models/DamagedHelmet/DamagedHelmet.gltf"));

The loader does have any rendering capabilities. Please see Diligent GLTF PBR Renderer.

References

GLTF2.0 Format Specification

Vulkan-glTF-PBR

tinygltf