pissang / clay-viewer

3D model viewer with high quality rendering and glTF2.0/GLB export
https://pissang.github.io/clay-viewer/editor/
BSD 3-Clause "New" or "Revised" License
767 stars 97 forks source link

Minimal "getting started" or "hello world" example to embed a 3d-model on website #87

Open gntech opened 6 years ago

gntech commented 6 years ago

I want to suggest that there should be a minimal (but complete) "getting started" or "hello world" example for howto embed a clay-viewer to a website.

Consider the following scenario: I have generated a gltf-file from my cadquery or cqparts design and want to showcase it on my website. I want to embed a clay-viewer object on the webpage where my visitors can rotate and zoom in on the model.

The only example right now is quite full-blown and complex but not complete.