Dx Gltf Viewer

Sample code for DirectX viewer for glTF files
Alternatives To Dx Gltf Viewer
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Wickedengine4,477
2 days ago36mitC++
3D engine with modern graphics
Fx Gltf297
a year ago6mitC++
A C++14/C++17 header-only library for simple, efficient, and robust serialization/deserialization of glTF 2.0
Diligentsamples266
12 days ago20apache-2.0C++
Sample projects demonstrating the usage of Diligent Engine
Assimp17
17 days agootherC++
assimp with Premake
Directx1214
3 years agogpl-3.0C++
Various DirectX12 examples.
Gltfviewer7
8 months ago12apache-2.0C++
A glTF file viewer in Directx 12
Meduza5
2 months agomitC++
Meduza is a personal Game Engine project
X12lib3
a year agoC++
DirectX 12 wrapper
Directx11 Playground3
4 years agomitC++
🌠 Simple app to play around with DirectX with an ECS architecture
Dx Gltf Viewer2
5 years ago1mitC++
Sample code for DirectX viewer for glTF files
Alternatives To Dx Gltf Viewer
Select To Compare


Alternative Project Comparisons
Readme

DirectX GLTF Viewer Sample

This project was motivated by a lack of sample code demonstrating the graphics API agnostic nature of the glTF specification. The sample code is written using modern C++, DirectX 11 and the Universal Windows Platform (UWP) for the client application. The client application could have been written using any application development platform that supports DirectX 11 rendering. This sample is a port of the Khronos PBR WebGL Sample and supports the same feature set.

Main Sample App Screenshot

The screenshot is showing the DamagedHelmet sample file being rendered in the scene window, some controls to the right to adjust transforms and a Tree View control with the scene hierarchy.

Features

  • Physically Based Rendering (PBR)
  • Buffer Management
  • Specification Support
  • Loader
  • Environment Map
  • Selective PBR Rendering

The selective PBR rendering allow you to turn on and off different parts of the PBR shader to provide a better understanding of the visual effect of each.

Selective PBR Rendering

Dependencies

I used vcpkg for any source code dependencies and Nuget and the Visual Studio integration to install binary dependencies. Neither of which are requirements.

Building

This project can be built using Visual Studio 2017 Update 4 on Windows 10 Fall Creators Update (16299.0).

Further Information

Please see this article for full details around features and coding for this sample. There is an offical sample [here] but I am retaining this repo as I would like to use it to experiment with new features - the official sample should get updated with features specific to glTF.

Popular Gltf Projects
Popular Directx Projects
Popular Mapping Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
C Plus Plus
Rendering
Directx
Gltf
Pbr