A gLTF Viewer in DirectX 12

gLTF Viewer

A viewer of the glTF file format, implemented in DirectX 12 and C++.

Here's the GitHub Repository of a Viewer for glTF files, made in C++ and DirectX 12. I wrote this software to explore the DirectX 12 API.

glTF is a standard file format for three-dimensional scenes and models, the specification are from the Khronos Group.

The glTFViewer can edit the vertex, geometry and fragment shaders on the fly. The video below shows the application in action:

The specifications describe many features, but this viewer only supports some of them.

Current supported features:

  • Scenes:

    • scene
    • nodes hierarchy
    • nodes transformation
  • Meshes:

    • geometry
    • all the attributes are supported: position, normals, tangents, textcoords, etc.),
    • instantiation
  • Materials:

    • textures
    • images
    • samples
    • additional maps: normal, occlusion, emission
  • glTF Shading model

Unsupported features:

  • Ray Tracing
  • Sparse accessors
  • Animations
  • Skinning
  • Morphing
  • Cameras
  • Interpolation