<div dir="ltr"><div dir="ltr"><div dir="ltr">MIchalis, this is NOT a bug report in view3dscene, rather it supports a success!</div><div dir="ltr"><br></div><div dir="ltr">Experiences with latest download of Castle Game engine:</div><div dir="ltr"><br><div>$ Downloads/view3dscene-4.2.0-win64-x86_64/view3dscene/view3dscene.exe X3DJSONLD/src/main/glTF/Astronaut.glb<br></div><div><br></div><div>Works great, and in color!</div><div><br></div><div>Convert to X3D XML from view3dscene, there's no color/texture in X3DOM, but shape looks good loading into X3DOM!</div><div><br></div><div><img src="cid:ii_l92w2k2v0" alt="image.png" width="472" height="213"><br></div><div><br></div><div>Can someone do annotations in CGE/view3dscene? Can someone make sure that color (PBR, Textures from view3dscene is loaded into X3DOM?</div><div><br></div><div>Loaded Astronaut.x3d into view3dscene, looks great, with color.</div><div><br></div><div>Will try loading VRML into X_ITE next</div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 5, 2022 at 8:29 AM Vincent Marchetti <<a href="mailto:vmarchetti@kshell.com" target="_blank">vmarchetti@kshell.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Intro: The IIIF 3D Technical Study Group , <a href="https://iiif.io/community/groups/3d/tsg/" rel="noreferrer" target="_blank">https://iiif.io/community/groups/3d/tsg/</a> , 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.<br>
<br>
One of the members, Ed Silverton of memnoscene ( <a href="https://mnemoscene.io/" rel="noreferrer" target="_blank">https://mnemoscene.io/</a> ) recently presented a prototype of a method by which  annotations on a 3D asset can be shared among viewers.<br>
To see the demo, go to : <a href="https://yqxggz.csb.app/" rel="noreferrer" target="_blank">https://yqxggz.csb.app/</a> -- 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<br>
<a href="https://cdn.glitch.com/36cb8393-65c6-408d-a538-055ada20431b/Astronaut.glb" rel="noreferrer" target="_blank">https://cdn.glitch.com/36cb8393-65c6-408d-a538-055ada20431b/Astronaut.glb</a><br>
<br>
Under the model-viewer pane, and above the "Set Annotations" button, is an input text field. Copy and paste the following json structure:<br>
<br>
[<br>
{"id":0,<br>
"normal":"-0.24679987544979334 -0.0979611424867969 0.9641023991468167",<br>
"position":"-0.1377316524360126 0.9925992890184887 0.2542247719185542",<br>
"value":"right hipbone"},<br>
{"id":1,<br>
"normal":"0.29259561389217825 0.11383937564155769 0.9494358342113489",<br>
"position":"0.0652451665004884 1.8182700174153779 0.32465106720430725",<br>
"value":"face mask"}<br>
]<br>
<br>
and click the Set Annotations button. The annotations should appear, as labels associated with the 3D rendering.<br>
<br>
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.<br>
<br>
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.<br>
<br>
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 ( <a href="https://codesandbox.io/" rel="noreferrer" target="_blank">https://codesandbox.io/</a> )  for this work.<br>
<br>
Vince Marchetti<br>
<br>
<br>
<br>
_______________________________________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
</blockquote></div>