Closed dirkroorda closed 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
edition/
The part model/modelname selects a model from the models directory in that edition by means of its file name without extension
model/
The part ?viewer=viewer selects the viewer, either aton or voyager
?viewer=
aton
voyager
The part annotations=annotations file selects a file with annotations, probably a scene json file.
annotations=
There will be additional parameters in the url, like
&resolution=quality where quality is low, or med or high.
&resolution=
low
med
high
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:
This gives only an idea.
The part
edition/
shortname selects an edition by a short identifier, later we will use a real identifier for itThe part
model/
modelname selects a model from the models directory in that edition by means of its file name without extensionThe part
?viewer=
viewer selects the viewer, eitheraton
orvoyager
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 islow
, ormed
orhigh
.