Skip to content
Ben Howes edited this page Sep 17, 2015 · 4 revisions

Welcome to the Spectacles.WebViewer wiki!

This wiki documents how to use, customize, and contribute to Spectacles. Hit the links in the Pages list to the right to get started.

Technical Overview

The Spectacles Viewer is a client side javascript application designed to run in modern browsers. It is developed in HTML5, CSS, and Javascript, and relies on a handful of other open source Javascript libraries.

Spectacles is driven by THREE.js. It uses THREE.js to render geometry in the browser, and the exporter > viewer workflow relies on THREE's capability to load THREE.js geometry described in .json files. Just as THREE.js wraps around WebGL so that programmers don't have to muck around with low level WebGL code, Spectacles wraps around THREE.js so AEC authors don't have to mess with too much THREE.js code.

We are currently using dat.gui for the user interface, and jQuery as needed to connect the application code to the DOM.

Clone this wiki locally