From 70eda127a8ce9ddc87a7f745224895e548af4c2c Mon Sep 17 00:00:00 2001 From: Don McCurdy Date: Wed, 15 May 2019 09:47:00 -0700 Subject: [PATCH] Clean up. --- webgl/README.md | 8 ++++---- webgl/transcoder/README.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/webgl/README.md b/webgl/README.md index 12e976a..6361eb8 100644 --- a/webgl/README.md +++ b/webgl/README.md @@ -1,8 +1,8 @@ -# WebGL Demo +# WebGL Examples -Both demos require WebAssembly and WebGL support. +Requires WebAssembly and WebGL support. -## Texture Demo +## Texture `texture/index.html` renders a single texture, using the transcoder (compiled to WASM with emscripten) to generate one of the following compressed texture formats: @@ -13,7 +13,7 @@ On browsers that don't support BC1 (Firefox is one), there's a low-quality fallb ![Screenshot showing a basis texture rendered as a 2D image in a webpage.](texture/preview.png) -## glTF 3D Model Demo +## glTF 3D Model `gltf/index.html` renders a glTF 3D model with `.basis` texture files, transcoded into one of the following compressed texture formats: diff --git a/webgl/transcoder/README.md b/webgl/transcoder/README.md index 787acf7..edb5c30 100644 --- a/webgl/transcoder/README.md +++ b/webgl/transcoder/README.md @@ -1,4 +1,4 @@ -Prebuilt versions of `basis_transcoder.js` and `basis_transcoder.wasm` are included in the `transcoder/build/` folder, and are sufficient for local demos. To build the transcoder yourself, first install emscripten ([tutorial](https://webassembly.org/getting-started/developers-guide/)) and cmake ([download](https://cmake.org/download/)). Then run: +Prebuilt versions of `basis_transcoder.js` and `basis_transcoder.wasm` are included in the `build/` folder, and are sufficient for local demos. To build the transcoder yourself, first install emscripten ([tutorial](https://webassembly.org/getting-started/developers-guide/)) and cmake ([download](https://cmake.org/download/)). Then run: ```shell cd webgl/transcoder/build/