This repository has been archived by the owner. It is now read-only.
An archived JavaScript library for viewing and interacting with 3D glTF models on WebGL.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 8cb40c2 Nov 12, 2017

README.md

xeometry

xeometry is an open source (MIT) JavaScript library from @xeographics for viewing and interacting with 3D glTF models on WebGL.

Use it to build 3D viewer apps and custom interactive presentations of glTF content, or as a boilerplate to bootstrap the development of your own 3D viewer.

var viewer = new xeometry.Viewer({ canvasId: "theCanvas" });

viewer.loadModel("saw", "models/Reciprocating_Saw.gltf", function () {
     viewer.setOpacity(["saw#0", "saw#1", "saw#2", "saw#3", "saw#11"], 0.3);
     viewer.viewFit("saw");
});

[ Run this example ]