glTFRuntime

Roberto De Ioris - Jul 18, 2020

Load glTF Assets at Runtime

  • Supported Platforms
  • Supported Engine Versions
    4.25 - 4.27
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

This plugin extends Unreal Engine capabilities by adding runtime Assets loading (Static and Skeletal Meshes, Curve and Skeletal-based Animations, Materials, Textures) from standard glTF Files.

Assets can be loaded from filesystem, HTTP servers, or built from JSON strings.

The main goal is to allow project graphics modding, but can be used in any scenario requiring you to load/view/manipulate Assets after the game has been packaged.

Currently GLTF 2.0 (Embedded and Binary) is supported (importer/exporter available by default in Blender)

In addition to Runtime, Assets can be loaded in Editor too for simplifying testing and fixing.

Functions (both Blueprint and C++) for modifying Assets structures (like bone hierarchy) are included.


The Project is fully open source (MIT License), but it is available in the Epic Marketplace too, allowing users to sponsor the project by buying ready-to-use packages.


Join the Discord Server for support: https://discord.gg/DzS7MHy


The glTF Runtime Logo has been designed by Silvia Sicks (https://silviasicks.wordpress.com/)


The glTF Sample Models shown in screenshots are under the following licenses:


DamagedHelmet: theblueturtle_ Creative Commons Attribution-NonCommercial license

BoxAnimated, CesiumMilkTruck, CesiumMan: Donated by Cesium, CC Attribution 4.0 International License

AlphaBlendModeTest: Copyright 2018 Analytical Graphics, Inc. CC-BY 4.0

BrainStem: Created by Keith Hunter, owned by Smith Micro Software, Inc, Poser Pro EULA

Collada Duck: SCEA Shared Source License, Version 1.0

Technical Details

Features:

  •  Parses glTF 2.0 (Embedded and Binary) files and exposes their scene/nodes structures .
  •  Loads Static Meshes as well as Materials and Textures.
  •  Load Skeletal Meshes with various setups (included reusing skeletons)
  • Load Animations as simple Curves or standard Skeletal ones.
  • Allows adding collisions (included mesh collisions) to Static Meshes.
  • Includes a Skeleton glTF editor exporter (useful for importing bones hierarchy into DCCs)
  • Includes a ready-to-use Actor able to load and view glTF scenes (included animations)
  • Assets can be referenced by glTF Indices as well as Names.
  • Allows to build/modify Skeletons by specifying single bones and transforms.
  • Loads Cameras (included animations)
  • Allows to change the pivot of StaticMeshes to the top/center/bottom of the bounding box
  • MorphTargets
  • Support for gzip compressed assets and zip archives
  • KHR_materials_pbrSpecularGlossiness
  • MSFT_audio_emitter
  • Vertex Colors
  • VRM Extensions
  • Various meshes merge/split features


Code Modules:

  •  glTFRuntime [Runtime]
  •  glTFRuntimeEditor [Editor]


Number of Blueprints: 3

Number of C++ Classes: 8

Network Replicated: No

Supported Development Platforms: Windows, Mac, Linux

Supported Target Build Platforms: Windows, Mac, Linux

Documentation: https://github.com/rdeioris/glTFRuntime-docs/blob/master/README.md