Skip to content

Latest commit

 

History

History
73 lines (50 loc) · 3.17 KB

README.md

File metadata and controls

73 lines (50 loc) · 3.17 KB

glTF-Compressor

This is the official Khronos glTF 2.0 image and geometry compression project using WebGL: glTF-Compressor

Link to the live glTF-Compressor

Table of Contents

Version

Texture compression using KTX2, JPEG, PNG and WebP.

Geometry compression using DRACO, MeshOpt and MeshQuantization.

Credits

Developed by Phasmatic. Supported by the Khronos Group. Original code based on the glTF-Sample Viewer project.

Features

On top of existing glTF Sample Viewer features, this project adds functionality for:

Setup

For local usage and debugging, please follow these instructions:

  1. Make sure Git LFS is installed.

  2. Checkout the main branch

  3. Pull the submodules for the required glTF Sample Assets and environments git submodule update --init --recursive

Web App

You can find an example application for the glTF-Compressor in the app_web subdirectory of the glTF-Compressor repository. The live app can be found here: glTF-Compressor.

Running a local version

Open a terminal window in the repository root an run the following commands

cd app_web
npm install 
npm run dev

The glTF-Compressor can be accessed live with Chrome or Firefox at the URL [glTF-Compressor](https://github.khronos.org/glTF-Compressor-Release/)