<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>There’s a  very primitive integration of X3D JSON into three-x3d-loader mentioned here:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><a href="http://web3d.org/pipermail/x3d-public_web3d.org/2017-April/006340.html">http://web3d.org/pipermail/x3d-public_web3d.org/2017-April/006340.html</a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Note that three-x3d-loader loads VRML (via Three.js VRMLLoader) and also converts X3D XML (and now X3D JSON) to proprietary JSON for loading.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I believe that X3JSONLD has a three-x3d-loader/renderer with my modifications.  It needs improvement.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>We seem to fall upon this every year or so, but no one does anything about it.  Nobody has modified it for a year or so.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have placed an arrow on the three-x3d-loader rendered canvas below pointing at the white blob below.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I think your best bet is to use the VRMLLoader found in Three.js: <a href="https://threejs.org/examples/#webgl_loader_vrml">https://threejs.org/examples/#webgl_loader_vrml</a> and not touch three-x3d-loader.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have spoken with the author about using X3D JSON instead of his/her JSON, but nothing has been done.  We probably need a JSON -> VRML converter written in JavaScript.  X3DJSAIL is probably a good start at this.  We need to convert various parts of X3DJSAIL to JavaScript/TiypeScript via TeaVM, Cheerpj, or JSweet, perhaps.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Answer: Don’t go here with JSON and XML.  Encourage author to support more of the X3D standard beyond what Three.js already provides.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The package essentially loads an X3DLoader into THREE space.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>So I would call it a VRML Loader and a XML to JSON (not X3D JSON) converter.  I have not really tested the X3D JSON -> JSON converter extensively.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><img border=0 width=847 height=443 style='width:8.8229in;height:4.6145in' id="Picture_x0020_3" src="cid:image002.png@01D58469.B721DD20"><o:p></o:p></p><p class=MsoNormal>John<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> for Windows 10</p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='border:none;padding:0in'><b>From: </b><a href="mailto:brutzman@nps.edu">Brutzman, Donald (Don) (CIV)</a><br><b>Sent: </b>Wednesday, October 16, 2019 2:46 PM<br><b>To: </b><a href="mailto:x3d-public@web3d.org">X3D Graphics public mailing list</a><br><b>Subject: </b>[x3d-public] Three.js Loader for the X3D format.</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Wondering if anyone had used this, and whether to include it in X3D Resources.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>                dividab/three-x3d-loader - Three.js Loader for the X3D format.</p><p class=MsoNormal>                https://github.com/dividab/three-x3d-loader</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>All information sharing welcome, am happy to keep adding relevant links online</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>                X3D Resources</p><p class=MsoNormal>                https://www.web3d.org/x3d/content/examples/X3dResources.html</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>all the best, Don</p><p class=MsoNormal>-- </p><p class=MsoNormal>Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman@nps.edu</p><p class=MsoNormal>Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149</p><p class=MsoNormal>X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman</p><p class=MsoNormal>_______________________________________________</p><p class=MsoNormal>x3d-public mailing list</p><p class=MsoNormal>x3d-public@web3d.org</p><p class=MsoNormal>http://web3d.org/mailman/listinfo/x3d-public_web3d.org</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>