[x3d-public] An annotations example and project and astronaut conversion

Vincent Marchetti vmarchetti at kshell.com
Tue Oct 11 06:35:17 PDT 2022


I appreciate and endorse all the work being done here to improve and document conversions from glb/gltf back and forth with X3D.

I would not use this particular model ( at https://cdn.glitch.com/36cb8393-65c6-408d-a538-055ada20431b/Astronaut.glb ) as a public example of conversions because it does appear to be a creative product of someone
but its ownership, copyright, and  license are unknown. 

Fortunately, there is a real glb model of a space suit available at these links:

web page : https://modelviewer.dev/
glb file: https://cdn.glitch.com/36cb8393-65c6-408d-a538-055ada20431b/Astronaut.glb

and since it originates with the Smithsonian Institute the terms of use are well-defined and permissive:
https://www.si.edu/Termsofuse


For the purposes of the collaborative project with the IIIF 3D Technical Study Group I plan to continue to use the same glb file as Ed Silverton did, but rendered in X3DOM which implements
glb rendering in the Inline node, as well in the view3dscene viewer with the same capability.

Vince Marchetti


> On Oct 11, 2022, at 3:03 AM, John Carlson <yottzumm at gmail.com> wrote:
> 
> Vince, could you provide Astronaut.gltf, Astronaut.x3d and Astronaut.x3dv as additional downloads?  Thanks!  We'd like to make this work cross-format.
> 
> (Hint:  Use view3dscene).
> 
> John
> 
> On Wed, Oct 5, 2022 at 8:29 AM Vincent Marchetti <vmarchetti at kshell.com> wrote:
> Intro: The IIIF 3D Technical Study Group , https://iiif.io/community/groups/3d/tsg/ , is developing standards and practices to 3D content in libraries and museums. Their general philosophy is to evaluate and support a variety of formats and viewers, rather than choose one format to rule them all.
> 
> One of the members, Ed Silverton of memnoscene ( https://mnemoscene.io/ ) recently presented a prototype of a method by which  annotations on a 3D asset can be shared among viewers.
> To see the demo, go to : https://yqxggz.csb.app/ -- You shouid see an astronaut in a 3D viewer; the rendering is done by Google's model-viewer, and the underlying asset is a glTF asset at
> https://cdn.glitch.com/36cb8393-65c6-408d-a538-055ada20431b/Astronaut.glb
> 
> Under the model-viewer pane, and above the "Set Annotations" button, is an input text field. Copy and paste the following json structure:
> 
> [
> {"id":0,
> "normal":"-0.24679987544979334 -0.0979611424867969 0.9641023991468167",
> "position":"-0.1377316524360126 0.9925992890184887 0.2542247719185542",
> "value":"right hipbone"},
> {"id":1,
> "normal":"0.29259561389217825 0.11383937564155769 0.9494358342113489",
> "position":"0.0652451665004884 1.8182700174153779 0.32465106720430725",
> "value":"face mask"}
> ]
> 
> and click the Set Annotations button. The annotations should appear, as labels associated with the 3D rendering.
> 
> According to Ed SIlverton, the coordinates and normals in the json above are a 'hit' on the astronaut mesh, that is used as the target for the annotation label.
> 
> I have taken on the challenge of implementing a similar capability for the X3D rendering of this model, target demo delivery being the next TSG call on Nov 1.
> 
> Eager to hear whether there is similar work out there, or ideas for implementing and extending this capability. I plan start a project on Code Sandbox ( https://codesandbox.io/ )  for this work.
> 
> Vince Marchetti
> 
> 
> 
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org




More information about the x3d-public mailing list