CLARIAH / pure3d

pure3d project University Maastricht
MIT License
0 stars 2 forks source link

Viewer links #12

Closed dirkroorda closed 2 years ago

dirkroorda commented 2 years ago

Implement linking to 3D models plus their annotations.

Make it so that if a user clicks a link to a 3D model, it will open in a new window or tab, with the model and annotations loaded.

Make it to that the choice of viewer can be specified.

url:

https://blabla/pure3d.eu/edition/clanwilliam/model/house?viewer=aton&annotations=intro

This gives only an idea.

The part edition/shortname selects an edition by a short identifier, later we will use a real identifier for it

The part model/modelname selects a model from the models directory in that edition by means of its file name without extension

The part ?viewer=viewer selects the viewer, either aton or voyager

The part annotations=annotations file selects a file with annotations, probably a scene json file.

There will be additional parameters in the url, like

&resolution=quality where quality is low, or med or high.