<div dir="ltr">I believe I located the "console.warning" typo and suggested the simple correction here: <a href="https://github.com/create3000/x_ite/pull/9">https://github.com/create3000/x_ite/pull/9</a><div><br></div><div>The typo is in the programmable shader code and therefore likely (one of) the causes for the shader not working anymore.</div><div><br></div><div><a href="https://coderextreme.net/X3DJSONLD/src/main/html/AP_minimal_JSLD.html">https://coderextreme.net/X3DJSONLD/src/main/html/AP_minimal_JSLD.html</a> does stall for me (probably due to running into the error above) on linux chrome but not on windows firefox.<br></div><div><br></div><div>This is not related to json parsing.</div><div><br></div><div>The json PR you had submitted to x_ite and I think is completely merged now is intended to allow loading of a json encoded x3d file as the src value of the X3DCanvas element, I believe ?</div><div>So a minimal x_ite json test should just load the latest x_ite and specify a json encoded file. Ok, here is such a no-thrills example:</div><div><br></div><div><a href="https://rawgit.com/andreasplesch/X3DJSONLD/dev/src/main/html/AP_native_x_ite_json.html">https://rawgit.com/andreasplesch/X3DJSONLD/dev/src/main/html/AP_native_x_ite_json.html</a><br></div><div><br></div><div>with a monkey patch for console.warning.</div><div><br></div><div>The loading seems to work fine. The viewpoint seems off.</div><div><br></div><div>-Andreas</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 4, 2018 at 8:40 PM, John Carlson <span dir="ltr"><<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>></span> wrote:<br><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_619269402447854813WordSection1"><p class="MsoNormal">My guess is that something is interacting with a cache, or the cache is missing or something. I see similar issues on firefox, so it’s probably not a browser issue.</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I’m not sure what the shader issue is yet.  Appears to be something with earcut.js?  Not sure.  There’s a version of earcut with x3dom and one with X_ITE.  Conflict?</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">John</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986" target="_blank">Mail</a> for Windows 10</p><p class="MsoNormal"><u></u> <u></u></p><div style="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:yottzumm@gmail.com" target="_blank">John Carlson</a><br><b>Sent: </b>Sunday, March 4, 2018 8:23 PM<br><b>To: </b><a href="mailto:andreasplesch@gmail.com" target="_blank">Andreas Plesch</a>; <a href="mailto:holger.seelig@yahoo.de" target="_blank">holger.seelig@yahoo.de</a><br><b>Cc: </b><a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br><b>Subject: </b>RE: X3D JSON X_ITE scene loading. As well as XML orDOM(oneortheotheror both) loading.</p></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Pushed 4.1.5a to my website.  Here is the non-working X_ITE (both JSON and XML (or DOM, I forget)).<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><a href="https://coderextreme.net/X3DJSONLD/src/main/html/index.html" target="_blank">https://coderextreme.net/<wbr>X3DJSONLD/src/main/html/index.<wbr>html</a> (I just tried this again, and it worked except for the shaders)<u></u><u></u></p><p class="MsoNormal"><a href="https://coderextreme.net/X3DJSONLD/src/main/html/AP_minimal_JSLD.html" target="_blank">https://coderextreme.net/<wbr>X3DJSONLD/src/main/html/AP_<wbr>minimal_JSLD.html</a> (seems to work intermittently)<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Could it be an issue with not being an xhtml page?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">There’s a console message with console.warning being undefined, or something like that…could that be causing the issue?<u></u><u></u></p><p class="MsoNormal"><br>If need be, I will unpack Examples.zip on my website.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">As far as I know, these pages are hunky dory with 4.1.3+JSONParser, no problems.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Something very non-deterministic seems to be happening.   Are there Web Workers in the new release???<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">John<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986" target="_blank">Mail</a> for Windows 10<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b>From: </b><a href="mailto:yottzumm@gmail.com" target="_blank">John Carlson</a><br><b>Sent: </b>Sunday, March 4, 2018 7:56 PM<br><b>To: </b><a href="mailto:andreasplesch@gmail.com" target="_blank">Andreas Plesch</a><br><b>Cc: </b><a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>; <a href="mailto:holger.seelig@yahoo.de" target="_blank">holger.seelig@yahoo.de</a><br><b>Subject: </b>RE: X3D JSON X_ITE scene loading. As well as XML or DOM(oneortheotheror both) loading.<u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Update:  XML works, JSON doesn’t.  I think I forgot to go through the dialogs or something.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">John<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">X_ITE works here, except for the shaders:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><a href="https://rawgit.com/andreasplesch/X3DJSONLD/dev/src/main/html/index.html" target="_blank">https://rawgit.com/<wbr>andreasplesch/X3DJSONLD/dev/<wbr>src/main/html/index.html</a><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I just tried it again, and it failed after the load (loading window remains up) for JSON, XML works.   X3DOM is out to lunch.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Update:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Getting worse, now both JSON and XML fail.  Seems like you can reproduce now, unless it’s my Chrome/Windows 10.<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">John<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p></font></span></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Andreas Plesch<br>Waltham, MA 02453</div></div></div>
</div>