Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 783 Bytes

README.md

File metadata and controls

19 lines (10 loc) · 783 Bytes

DRI Javascript 3D viewer

This repository contains a lightweight version of the JavaScript 3D viewer from the DRI Repository appliation and DRI 3D Viewer.

This version contains just the Javascript and a minimal html file, to make it easier to integrate into your own code.

The viewer currently works for stl, glb and gltf files. Support for more coming soon!

Running

To run, copy the files to your webserver and open the index.html file.

Pass in a 3D data file in a url parameter named file.

E.g. http://127.0.0.1:8080/index.html?file=my3dmodel.stl

Supported formats: FBX (7.4, ASCII, Binary), STL, GBL, GLTF, OBJ and PLY.

NOT supported FBX v6.1