Skip to content
This repository has been archived by the owner on May 12, 2018. It is now read-only.

Latest commit

 

History

History
23 lines (17 loc) · 1.06 KB

README.md

File metadata and controls

23 lines (17 loc) · 1.06 KB

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 ]