<html 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)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.m-7068051554311087491msolistparagraph, li.m-7068051554311087491msolistparagraph, div.m-7068051554311087491msolistparagraph
        {mso-style-name:m_-7068051554311087491msolistparagraph;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.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;}
/* List Definitions */
@list l0
        {mso-list-id:374891092;
        mso-list-template-ids:-1;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1
        {mso-list-id:398528296;
        mso-list-type:hybrid;
        mso-list-template-ids:1690196796 -1 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l1:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:\F0D8;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;
        mso-fareast-font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";}
@list l1:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l1:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l1:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l1:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l1:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l1:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l1:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l1:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><ul style='margin-top:0in' type=disc><li class=MsoListParagraph style='margin-left:0in;mso-list:l1 level1 lfo2'>Script level 401</li></ul><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Plus, Script directOutput is one way to dynamically update lists of Routes.</p><p class=MsoNormal>Joe</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:yottzumm@gmail.com">John Carlson</a><br><b>Sent: </b>Thursday, October 15, 2020 5:41 PM<br><b>To: </b><a href="mailto:joedwil@earthlink.net">Joseph D Williams</a><br><b>Cc: </b><a href="mailto:andreasplesch@gmail.com">Andreas Plesch</a>; <a href="mailto:Leonard.Daly@realism.com">Leonard Daly</a>; <a href="mailto:x3d-public@web3d.org">X3D Graphics public mailing list</a><br><b>Subject: </b>Re: [x3d-public] Fwd: Priorities</p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Joe you’re at level 401, when I’m still at 101 or 102.</p></div><div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Thu, Oct 15, 2020 at 4:38 PM Joseph D Williams <<a href="mailto:joedwil@earthlink.net">joedwil@earthlink.net</a>> wrote:</p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><ul type=disc><li class=m-7068051554311087491msolistparagraph style='mso-list:l0 level1 lfo1'>Script node or field node was not considered first class X3DOM nodes so we couldn’t route to/from it</li></ul><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>The x3d script node can either in/out data using routes or directly to/from another node no route using direct out. </p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>The only difference is that directout do not initiate a cascade because no route. </p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Thanks, </p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Joe</p></div></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b>From: </b><a href="mailto:yottzumm@gmail.com" target="_blank">John Carlson</a><br><b>Sent: </b>Thursday, October 15, 2020 2:18 PM<br><b>To: </b><a href="mailto:andreasplesch@gmail.com" target="_blank">Andreas Plesch</a><br><b>Cc: </b><a href="mailto:Leonard.Daly@realism.com" target="_blank">Leonard Daly</a>; <a href="mailto:x3d-public@web3d.org" target="_blank">X3D Graphics public mailing list</a><br><b>Subject: </b>Re: [x3d-public] Fwd: Priorities</p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I believe it was Leonard’s conclusion that the script tag could not be overridden, but now it a appears that there’s a way to implement new scripting languages (brython) inside the script node.   Can we modify/add X3D script fields and routes to X3DOM to provide events for a new scripting language?</p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Leonard, can you weigh in on adding a new scripting language to the script node?</p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Thanks!</p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>John</p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On Thu, Oct 15, 2020 at 4:06 PM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:</p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Yes, we are considering 2 different tags, script and X3DScript.  What we’re trying to figure out is whether script tag can be overridden/extended to provide fields in X3DOM.   I believe this can be done by providing a new script type (ala brython).  We know X3DScript already has fields, but we need more research on events and routes.</p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On Thu, Oct 15, 2020 at 3:51 PM Andreas Plesch <<a href="mailto:andreasplesch@gmail.com" target="_blank">andreasplesch@gmail.com</a>> wrote:</p></div></div></div></blockquote></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:9.6pt'>Hi John,<br><br>yes, your memory is correct. x3dom does not know about a script or<br>x3dscript x3d node. You would have to implement it as a new node.<br><br>-Andreas<br><br>On Thu, Oct 15, 2020 at 4:09 PM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:<br>><br>> Yes, I’ve added the field types.<br>><br>> Now the question for the master branch is, what JavaScript is necessary to add fields to X3DScripts, and how do we mesh Protos with X3DScripts.<br>><br>> The question for the Script branch is whether it’s going to work with existing X3DOM architecture, in particular, what were the issues behind previous implementation efforts. I think the best way forward would be implement a new scripting language for script nodes which includes fields.   We should be able to follow brython’s example.<br>><br>> For me, the failures of previous attempts were found in the debugger.  If I recall correctly,  the Script node or field node was not considered first class X3DOM nodes so we couldn’t route to/from it.   I need to start the debugger again.<br>><br>> On Thu, Oct 15, 2020 at 8:30 AM Andreas Plesch <<a href="mailto:andreasplesch@gmail.com" target="_blank">andreasplesch@gmail.com</a>> wrote:<br>>><br>>> All field type constructors and methods are defined fields.js . Since x3dom is operating together with other scripts on the page everything needs to be namespaced. Instead of<br>>><br>>> new MFInt32()<br>>><br>>> there is a<br>>><br>>> new x3dom.fields.MFInt32()<br>>><br>>> I think John added appropriate helpers which should work in an encapsulated function scope under which all X3Dscripts execute.<br>>><br>>><br>>><br>>> ---on the phone---<br>>><br>>> On Thu, Oct 15, 2020, 2:45 AM Don Brutzman <<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a>> wrote:<br>>>><br>>>> Color me very surprised if X3DOM doesn't have field types already.<br>>>><br>>>> On 10/14/2020 8:52 PM, John Carlson wrote:<br>>>> ><br>>>> > 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?<br>>>> ><br>>>> > I will pursue adding field types for now. Wish me luck!<br>>>> ><br>>>> > Thanks.<br>>>> ><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 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>>>> ><br>>>> >   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<br>>>> ><br>>>> > <a href="http://localhost:8000/test/functional/Gears/" target="_blank">http://localhost:8000/test/functional/Gears/</a><br>>>> ><br>>>> > Thanks,<br>>>> ><br>>>> > John<br>>>> ><br>>>> > ---------- Forwarded message ---------<br>>>> > From: *John Carlson* <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a> <mailto:<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>>><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> <mailto:<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> <mailto:<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>>><br>>>> ><br>>>> ><br>>>> > I will be pursuing getting X3DScript working entirely within x3dom this evening.<br>>>> ><br>>>> > John<br>>>> ><br>>>> > On Wed, Oct 14, 2020 at 9:44 PM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a> <mailto:<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>>> wrote:<br>>>> ><br>>>> >     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<br>>>> ><br>>>> >     Thanks, Don<br>>>> ><br>>>> >       John<br>>>> ><br>>>> >     On Wed, Oct 14, 2020 at 9:33 PM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a> <mailto:<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>>> wrote:<br>>>> ><br>>>> >         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.<br>>>> ><br>>>> >         John<br>>>> ><br>>>> >         On Wed, Oct 14, 2020 at 9:22 PM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a> <mailto:<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>>> wrote:<br>>>> ><br>>>> >             Andreas, can you share any info about why field routing may not be working for X3DScripts in X3DOM?  See coderextreme repository.<br>>>> ><br>>>> >             When I get a chance, I will peek at proto declare/interface fields, but my understanding is those go away!<br>>>> ><br>>>> >             Note that I’m not currently working on SAI for X3DOM, but I do have some preliminary steps for declaring field types.<br>>>> ><br>>>> >             John<br>>>> ><br>>>> >             On Wed, Oct 14, 2020 at 6:45 PM Don Brutzman <<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a> <mailto:<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a>>> wrote:<br>>>> ><br>>>> >                 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> <mailto:<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" target="_blank">http://faculty.nps.edu/brutzman</a><br>>>> ><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" target="_blank">http://faculty.nps.edu/brutzman</a><br><br><br><br>-- <br>Andreas Plesch<br>Waltham, MA 02453</p></div></div></blockquote></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt'> </p><p class=MsoNormal><o:p> </o:p></p></div></body></html>