<div dir="ltr"><div dir="ltr">X_ITE loads Astronaut.x3d! In color! See attached!</div><div dir="ltr"><br></div><div dir="ltr"><img src="cid:ii_l92wmvmd1" alt="image.png" width="472" height="221"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 10, 2022 at 9:29 AM John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.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"><div dir="ltr">Experiences with X3DOM and glb. AFAIK, X_ITE does not load glb. but I haven't tried! Next message will be viewx3dscene.<div><br></div><div>This condition, while in binary mode, does not return true:</div><div><br></div><div><img src="cid:ii_l92v98gi0" alt="image.png" width="472" height="235"><br></div><div><br></div><div>Contact your X3DOM developers!</div><div><br></div><div>Source HTML attached. You can change to your own .glb, but I use astronaut.gib mentioned in first message in this thread.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 10, 2022 at 8:23 AM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.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"><div dir="auto">Joe, .gltf is the ASCII equivalent of .glb, so if conversion from .glb to X3D doesn’t work, try conversion to .gltf, and please, send out results.   Otherwise try glTF in Inline nodes.</div><div dir="auto"><br></div><div dir="auto">John</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 9, 2022 at 7:33 PM Joseph D Williams <<a href="mailto:joedwil@earthlink.net" target="_blank">joedwil@earthlink.net</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"><div lang="EN-US"><div><p class="MsoNormal"><u></u> <u></u></p><ul style="margin-top:0in" type="disc"><li style="margin-left:0in">Stepping backwards to binary is like giving up the progress we’ve made since Assembly was created.</li></ul><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">True, I was thinking it may be relatively easy to reuse the Astronaut.glb in x3d but now looking at it deeper I see that it is not that easy not only because the blob is some binary form but that the data I want is mostly trapped in the blob. There aren’t that many triangles and there is careful use of color but, I don’t yet see how to extract the x3d code needed for one or more child shapes to compose the figure. </p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Still, I think there are examples like this in gltf where the asset is some data that has been all or partially processed using inputs from standard x3d fields, and that any gltf asset has a counterport as an x3d field or the result of computing using x3d fields. </p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">So, the alternative for this is </p><p class="MsoNormal">1. Just figure how to load the .glb into x3d player and then show how to build an annotation system in that space or a child space.</p><p class="MsoNormal">2. Extract the mesh and materials to x3d user code and get control of the thing. (I know bufferviews must mean soething, but how to understand “>õ÷²=Ô”)</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I can’t see, for now, how to extract the triangles (I can see them in 3D Builder, but can’t modify or save in a readable format.</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks, </p><p class="MsoNormal">Joe<u></u><u></u></p></div></div><div lang="EN-US"><div><p class="MsoNormal"><u></u> <u></u></p><div style="border-style:solid none none;border-top-width:1pt;padding:3pt 0in 0in;border-top-color:rgb(225,225,225)"><p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:yottzumm@gmail.com" target="_blank">John Carlson</a><br><b>Sent: </b>Saturday, October 8, 2022 2:35 PM<br><b>To: </b><a href="mailto:joedwil@earthlink.net" target="_blank">Joseph D Williams</a><br><b>Cc: </b><a href="mailto:vmarchetti@kshell.com" target="_blank">Vincent Marchetti</a>; <a href="mailto:x3d-public@web3d.org" target="_blank">X3D-Public</a><br><b>Subject: </b>Re: [x3d-public] An annotations example and project</p></div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">I am not interested in binary formats, but i have used EXI (ASCII)  converters to and from JSON.   See X3DJSONLD.</p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">JSON schemas might be converted with MapForce.  UAYOR.</p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Perhaps there’s some interest in STL and PLY formats?</p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">AFAIK, .glTF appears to be different than .x3d, and is likely closer to .dae.  I am unsure about .glb, i have not approached it.</p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Stepping backwards to binary is like giving up the progress we’ve made since Assembly was created.</p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Perhaps we should consider AssemblyScript?  OBJ is preferable to binary.</p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">John</p></div><div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Sat, Oct 8, 2022 at 3:42 PM Joseph D Williams <<a href="mailto:joedwil@earthlink.net" target="_blank">joedwil@earthlink.net</a>> wrote:</p></div><blockquote style="border-style:none none none solid;border-left-width:1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in;border-left-color:rgb(204,204,204)"><div><div><p class="MsoNormal" style="text-align:justify"><span style="font-size:10pt;font-family:"Courier New"">Vincent and John and All, since John and others have been working on ways to get x3d transcoded back and forth with json and now typical .glb (GL Transmission Format Binary file as Standard json) with prescribed names and data form that either are the same or a bit different than standard x3d Node names and Field names and X3DField and X3DArrayField data types. Except of course, those gl asset blobs that represent binary data that would be computed and almost ready to be executed by an x3d player. </span></p><p class="MsoNormal" style="text-align:justify"><span style="font-size:10pt;font-family:"Courier New""> </span></p><p class="MsoNormal" style="text-align:justify"><span style="font-size:10pt;font-family:"Courier New"">*Is that too simple? </span></p><p class="MsoNormal" style="text-align:justify"><span style="font-size:10pt;font-family:"Courier New"">First, does the .glb carry data that would be appropriate to import directly with maybe name changes or slightly rearranging or completing data for use in a field of a standard x3d field? </span></p><p class="MsoNormal" style="text-align:justify"><span style="font-size:10pt;font-family:"Courier New"">Second, are there forms of .glb data, especially for animations, blobs that could be expected to be the same as machine-ready input created by x3d browser? </span></p><p class="MsoNormal" style="text-align:justify"><span style="font-size:10pt;font-family:"Courier New"">Third, I think not likely but please let me know, are there Standard .glb data fields that are not used by x3d? Like before the great material features added in v4? </span></p><p class="MsoNormal" style="text-align:justify"><span style="font-size:10pt;font-family:"Courier New"">Fourth, any other categories? </span></p><p class="MsoNormal" style="text-align:justify"><span style="font-size:10pt;font-family:"Courier New""> </span></p><p class="MsoNormal" style="text-align:justify"><span style="font-size:10pt;font-family:"Courier New"">That is why the Astronaut.glb file could be very interesting to test. This is an opportunity to start with a successful yet static model with overlaid authoring interactivity, including some binaries of big data, to be moved into x3d space, into a more complete authoring environment, provide some animations and improved, maybe even integral rather than overlaid, interactive features.</span></p><p class="MsoNormal" style="text-align:justify"><span style="font-size:10pt;font-family:"Courier New""> </span></p><p class="MsoNormal" style="text-align:justify"><span style="font-size:10pt;font-family:"Courier New"">So, all we need is that graph that shows matching (direct usability) between .glb fields and x3d fields. A good AI might construct this table from schemas. In particular, what basic scenegraph of x3d nodes can receive this particular Astronaut.glb data directly? </span></p><p class="MsoNormal" style="text-align:justify"><span style="font-size:10pt;font-family:"Courier New"">Well, also for some glb fields, how to complete or otherwise synthesize x3d syntax from glb data. </span></p><p class="MsoNormal" style="text-align:justify"><span style="font-size:10pt;font-family:"Courier New"">Finally, to be complete, how an x3d player could use some glb essentially precomputed data to allow the x3d player to provide some functionality, like animations for an object without performing some internal computing steps. If we can add some x3d features and deliver it as .glb …</span></p><p class="MsoNormal" style="text-align:justify"><span style="font-size:10pt;font-family:"Courier New""> </span></p><p class="MsoNormal" style="text-align:justify"><span style="font-size:10pt;font-family:"Courier New"">So yes, this is reasonable example and thanks for finding it.</span></p><p class="MsoNormal" style="text-align:justify"><span style="font-size:10pt;font-family:"Courier New""> </span></p><p class="MsoNormal" style="text-align:justify"><span style="font-size:10pt;font-family:"Courier New"">Thanks, </span></p><p class="MsoNormal" style="text-align:justify"><span style="font-size:10pt;font-family:"Courier New"">Joe</span></p><p class="MsoNormal" style="text-align:justify"><span style="font-size:10pt;font-family:"Courier New""> </span></p><p class="MsoNormal" style="text-align:justify"><b>From: </b><a href="mailto:vmarchetti@kshell.com" target="_blank">Vincent Marchetti</a><br><b>Sent: </b>Wednesday, October 5, 2022 9:47 AM<br><b>To: </b><a href="mailto:joedwil@earthlink.net" target="_blank">Joseph D Williams</a>; <a href="mailto:x3d-public@web3d.org" target="_blank">X3D-Public</a><br><b>Subject: </b>Re: [x3d-public] An annotations example and project</p><p class="MsoNormal"> </p><p class="MsoNormal">I am not seeing the error message in viewing the astronaut.glb file, with Microsoft 3D Viewer at version 7.2107.7012.0, but I do see the error with 3D Builder</p></div></div><div><div><p class="MsoNormal"> </p><p class="MsoNormal">I haven't examined the internal structure of the astronaut.glb data, but it doesn't surprise me that it is  single mesh item.</p><p class="MsoNormal"> </p><p class="MsoNormal">The spirit of this annotation project would be to display the annotations from an externally loaded json structure without regard to the detailed structure of the 3D asset itself.</p><p class="MsoNormal"> </p><p class="MsoNormal">Vince</p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal">> On Oct 5, 2022, at 12:02 PM, Joseph D Williams <<a href="mailto:joedwil@earthlink.net" target="_blank">joedwil@earthlink.net</a>> wrote:</p><p class="MsoNormal">> </p><p class="MsoNormal">>            • the underlying asset is a glTF asset</p><p class="MsoNormal">> </p><p class="MsoNormal">> Astronaut.glb when downloaded, runs windows 3D Builder with a click and allows simple editing. Shows error ‘one or more items invalidly defined. Click to repair’ The entire thing is a single ‘item’ </p><p class="MsoNormal">> </p><p class="MsoNormal">> </p><p class="MsoNormal">> </p><p class="MsoNormal">> </p><p class="MsoNormal">> </p><p class="MsoNormal">> _______________________________________________</p><p class="MsoNormal">> x3d-public mailing list</p><p class="MsoNormal">> <a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a></p><p class="MsoNormal">> <a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a></p><p class="MsoNormal"> </p><p class="MsoNormal"> </p></div></div></blockquote></div></div><p class="MsoNormal" style="margin-left:4.8pt">_______________________________________________<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" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a></p><p class="MsoNormal"><u></u> <u></u></p></div></div></blockquote></div></div>
</blockquote></div>
</blockquote></div>