<div dir="ltr">Now client JavaScript isn't working, it appears (caught in new Function() code).<div><br><div><a href="http://localhost:8000/test/functional/Gears/" target="_blank">http://localhost:8000/test/functional/Gears/</a>  <br></div><div><br></div><div>I suspect I will have to add JS declarations for all fields in the X3DScript.  While I've done this before, I'm wondering if there's some better juju to use.   We should discuss use of var, let and const in such code.</div><div><br></div><div>Thanks,</div><div><br></div><div>John</div><div><br></div><div>Uncaught ReferenceError: innerRadius is not defined<br>    at eventsProcessed (eval at nodeChanged (x3dom-full.debug.js:45126), <anonymous>:88:16)<br>    at initialize (eval at nodeChanged (x3dom-full.debug.js:45126), <anonymous>:73:2)<br>    at eval (eval at nodeChanged (x3dom-full.debug.js:45126), <anonymous>:286:41)<br>    at x3dom.registerNodeType.defineClass.nodeChanged.nodeChanged (x3dom-full.debug.js:45190)<br>    at x3dom.NodeNameSpace.setupTree (x3dom-full.debug.js:11796)<br>    at x3dom.registerNodeType.defineClass.nodeChanged.nodeChanged (x3dom-full.debug.js:33648)<br>    at x3dom.NodeNameSpace.setupTree (x3dom-full.debug.js:11796)<br>    at x3dom.NodeNameSpace.<anonymous> (x3dom-full.debug.js:11789)<br>    at NodeList.forEach (<anonymous>)<br>    at x3dom.NodeNameSpace.setupTree (x3dom-full.debug.js:11787)<br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 14, 2020 at 10:52 PM 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">I've added the following test to x3dom (coderextreme's master branch).  There are some pretty basic things such that it doesn't work, below--MFInt32 not defined.   Do I need to define all field Types?  Can do, I've done it before!  I probably need to do it in the same scope as initialize?<div><br></div><div>I will pursue adding field types for now. Wish me luck!</div><div><br></div><div>Thanks.<div><br></div><div>x3dom-full.debug.js:45007 Adding fields<br>x3dom.registerNodeType.defineClass.nodeChanged @ x3dom-full.debug.js:45007<br>x3dom-full.debug.js:45034 Number of fields 6<br>VM46:31 Uncaught ReferenceError: MFInt32 is not defined<br>    at eventsProcessed (eval at nodeChanged (x3dom-full.debug.js:45126), <anonymous>:31:16)<br>    at initialize (eval at nodeChanged (x3dom-full.debug.js:45126), <anonymous>:24:2)<br>    at eval (eval at nodeChanged (x3dom-full.debug.js:45126), <anonymous>:236:41)<br>    at x3dom.registerNodeType.defineClass.nodeChanged.nodeChanged (x3dom-full.debug.js:45139)<br>    at x3dom.NodeNameSpace.setupTree (x3dom-full.debug.js:11796)<br>    at x3dom.registerNodeType.defineClass.nodeChanged.nodeChanged (x3dom-full.debug.js:33648)<br>    at x3dom.NodeNameSpace.setupTree (x3dom-full.debug.js:11796)<br>    at x3dom.NodeNameSpace.<anonymous> (x3dom-full.debug.js:11789)<br>    at NodeList.forEach (<anonymous>)<br>    at x3dom.NodeNameSpace.setupTree (x3dom-full.debug.js:11787)<br>x3dom-full.debug.js:45007 Adding fields<br>x3dom.registerNodeType.defineClass.nodeChanged @ x3dom-full.debug.js:45007<br>x3dom-full.debug.js:45034 Number of fields 5<br>x3dom-full.debug.js:45007 Adding fields<br>x3dom.registerNodeType.defineClass.nodeChanged @ x3dom-full.debug.js:45007<br>x3dom-full.debug.js:45034 Number of fields 5<br>x3dom-full.debug.js:45007 Adding fields<br>x3dom.registerNodeType.defineClass.nodeChanged @ x3dom-full.debug.js:45007<br><div><br></div><div> create mode 100644 test/functional/Gears/Rotor.x3d<br> create mode 100644 test/functional/Gears/gears.x3d<br> create mode 100644 test/functional/Gears/index.html</div><div><br></div><div><a href="http://localhost:8000/test/functional/Gears/" target="_blank">http://localhost:8000/test/functional/Gears/</a></div><div><br></div><div>Thanks,</div><div><br></div><div>John<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <strong class="gmail_sendername" dir="auto">John Carlson</strong> <span dir="auto"><<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>></span><br>Date: Wed, Oct 14, 2020 at 9:54 PM<br>Subject: Re: [x3d-public] Priorities<br>To: Don Brutzman <<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a>><br>Cc: X3D Graphics public mailing list <<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>><br></div><br><br><div dir="ltr">I will be pursuing getting X3DScript working entirely within x3dom this evening.<div><br></div><div>John</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 14, 2020 at 9:44 PM 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">X3DJSONLD only has limited functionality for X3DScript.   I stripped it because X_ITE did not have support, so none of my X3DScripts were working.   I hope we can get X3DScript added to XMLSchema, X3DUOM etc</div><div dir="auto"><br></div><div dir="auto">Thanks, Don</div><div dir="auto"><br></div><div dir="auto"> John</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 14, 2020 at 9:33 PM 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">If I recall correctly, full support for SAI will require a Browser implementation.   I suggest someone scope out the work for that, if any.   That is, much of the functionality may be there.  It’s important to distinguish X_ITE’s Browser from X3DOM’s in any case.</div><div dir="auto"><br></div><div dir="auto">John</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 14, 2020 at 9:22 PM 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">Andreas, can you share any info about why field routing may not be working for X3DScripts in X3DOM?  See coderextreme repository.</div><div dir="auto"><br></div><div dir="auto">When I get a chance, I will peek at proto declare/interface fields, but my understanding is those go away!</div><div dir="auto"><br></div><div dir="auto">Note that I’m not currently working on SAI for X3DOM, but I do have some preliminary steps for declaring field types.</div><div dir="auto"><br></div><div dir="auto">John</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 14, 2020 at 6:45 PM Don Brutzman <<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</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">On 10/13/2020 8:26 PM, John Carlson wrote:<br>
> <br>
> Here’s may be possible:  X3DScript node for X3DOM and  X_ITE.   PROTOs with scripts<br>
<br>
Script node support is is always topmost deficient.  X3DOM without scripts is not compliant X3D or VRML.<br>
<br>
Prototypes are tied for importance, as in Really Really Important for X extensibility.<br>
<br>
Please continue sharing information with Andreas so that this might all land and work.  Thanks John.<br>
<br>
all the best, Don<br>
-- <br>
Don Brutzman  Naval Postgraduate School, Code USW/Br       <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a><br>
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149<br>
X3D graphics, virtual worlds, navy robotics <a href="http://faculty.nps.edu/brutzman" rel="noreferrer" target="_blank">http://faculty.nps.edu/brutzman</a><br>
</blockquote></div></div>
</blockquote></div></div>
</blockquote></div></div>
</blockquote></div>
</div></div></div></div></div>
</blockquote></div>