<div dir="auto">Let me go further than this and say that I think that WebGL itself isn't particularly well DOM integrated, either, afaik, and I speak from the knowledge that it is nearly mostly a JavaScript API.   Will that cause issues with DOM integration?  Likely.<div dir="auto"><br></div><div dir="auto">John</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Jul 8, 2017 11:51 PM, "John Carlson" <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="#954F72"><div class="m_-4698306894011459822WordSection1"><p class="MsoNormal">Leonard writes:<u></u><u></u></p><p class="MsoNormal">>X3D in all public releases of the standard is not DOM integrated. There are no public documents that explicitly show how a future generation of X3D would be DOM integrated. That may happen in the future, but that has been worked on without public results for over three years. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I have some questions.  What are the requirements for being DOM integrated? Which DOM do you refer to? Isn’t DOM more of a language or library feature rather than a potential X3D feature?  Is it merely that X3D Scripts support DOM?  I have loaded DOM into both Cobweb and X3DOM, without the need for many complex extensions, just a DOM producer and JQuery or interfaces to the browser (<span class="m_-4698306894011459822pl-en"><span style="font-size:9.0pt;font-family:Consolas;color:#6f42c1;background:white">$</span></span><span style="font-size:9.0pt;font-family:Consolas;color:#24292e;background:white">(selector).</span>append () line 405 of <a href="https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/node/loaderJQuery.js" target="_blank">https://github.com/<wbr>coderextreme/X3DJSONLD/blob/<wbr>master/src/main/node/<wbr>loaderJQuery.js</a>  for X3DOM, importDocument() line 205 of <a href="https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/node/loaderJQuery.js" target="_blank">https://github.com/<wbr>coderextreme/X3DJSONLD/blob/<wbr>master/src/main/node/<wbr>loaderJQuery.js</a>  for Cobweb).<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">By using DOM, you can get DOM events, however, I think what you are saying is that Cobweb and X3DOM scenegraphs are not DOM event integrated.  I can see that.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">If we want the X3D scenegraph integrated with the DOM events, that will likely take a lot of work, which I believe Leonard is the only brave soul doing—I have been off generating events from JavaScript. However, I would warn him that it’s likely that the THREE.js scenegraph isn’t DOM integrated either, but likely he knows the answer to this better than I do.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Will we ever see a scenegraph integrated with the DOM events? Isn’t that the goal?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Perhaps the best approach to DOM integration is to try it OUTSIDE the web environment first.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">John<br><br><u></u><u></u></p><p class="MsoNormal"><span style="color:black"><u></u> <u></u></span></p></div></div></blockquote></div></div>