KhronosGroup / glTF-iOS-Viewer

Khronos glTF Viewer for iOS
Apache License 2.0
58 stars 5 forks source link
arkit augmented-reality glb gltf ios khronos scenekit swift

Khronos glTF Viewer

Overview

The Khronos glTF Viewer is an easy-to-use application that lets you view and interact with 3D models in the Khronos glTF 2.0 file format, and includes support for viewing in augmented reality.

glTF is the open, industry-standard 3D asset format for the efficient transmission and loading of 3D scenes and models by engines and applications. It is an ISO/IEC International Standard that has become the 3D asset delivery format of choice across the web and real-time applications.

Features

Key App Features:

The launch screen
The launch screen

A model of chairs and a table viewed in Object Mode
A model of chairs and a table viewed in Object Mode

A model of chairs and a table placed in the real world and viewed in AR Mode
A model of chairs and a table placed in the real world and viewed in AR Mode

All the features found in the core glTF 2.0 specification are supported, plus a number of glTF extensions, including Physically Based Rendering (PBR) effects such as clearcoat.

The list of supported extensions includes

This reference application is an Open Source project supported by the Khronos Group and released under an Apache 2.0 license. Developers are invited to contribute to the ongoing development of the project and provide feedback by raising issues on the GitHub repository. Developers may also create derivative works based on the application, subject to the terms of the Apache 2.0 license.

Building the App

The provided Xcode project enables you to build the app yourself, but there are a few more steps to take if you wish to deploy the app to a device or redistribute it.

The project makes use of a number of Swift packages, so you will need to be connected to the Internet the first time these packages are fetched.