Skip to content

PDFTron/webviewer-3d-sample

Repository files navigation

WebViewer 3D

WebViewer 3D allows you to view, annotate and collaborate on 3D models.

  • Traverse 3D model object tree
  • Toggle visibility of objects
  • Use the same annotation capabilities as you do on PDFs, MS Office and videos
  • Annotation hotspots to quickly navigate you to the annotated view
  • Measure in 3D space by snapping to vertices
  • View render, wireframe or vertex normals

This sample uses the 3D addon for WebViewer. It allows the loading of 3D models in .gltf or .glb formats.

Demo

You can explore all of the functionality in our showcase.

Initial setup

Before you begin, make sure your development environment includes Node.js and npm.

Install

git clone https://github.com/PDFTron/webviewer-3d-sample.git
cd webviewer-3d-sample
npm install

Run

npm start

WebViewer APIs

See @pdftron/webviewer API documentation.

Contributing

See contributing.

License

See license.