<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Andreas,<br>
      <br>
    </div>
    <blockquote
cite="mid:CAKdk67u2X_tFtR_A8T4Msx0MdDNqrvVwJiJLbwbfMu2XqpZqNQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hi,<br>
          <br>
        </div>
        thanks Leonard, this looks great. I put the test scenes on
        github pages for easy viewing here:<br>
        <div>
          <div><br>
            <a moz-do-not-send="true"
              href="http://andreasplesch.github.io/x3dv4/">http://andreasplesch.github.io/x3dv4/</a><br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Thanks.<br>
    <br>
    Is there an automatic process to update these if I update (or add) a
    test file?<br>
    <br>
    <br>
    <blockquote
cite="mid:CAKdk67u2X_tFtR_A8T4Msx0MdDNqrvVwJiJLbwbfMu2XqpZqNQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div><br>
          </div>
          <div>Concerning the Macro node, what do you think about having
            a way to define defaults for the %parameters% in the Macro
            template for the case when not all or no parameters are
            provided with the Macro node ?<br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Providing defaults is a good idea. I like it.<br>
    <br>
    <blockquote
cite="mid:CAKdk67u2X_tFtR_A8T4Msx0MdDNqrvVwJiJLbwbfMu2XqpZqNQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div><br>
          </div>
          <div>A possible syntax would be perhaps to just add the
            default after an equal sign to where the parameter is used:
            %myparam=10% ?<br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Right now I am using JavaScript's RegExp parser on '\%'+name+'\%'. 
    I can see problems with backslashes or other RegEx control
    structures in name. Perhaps name should be limited to A-Za-z0-9\-_ <br>
    <br>
    The loop is over the list of supplied name/value pairs where the
    name is the hash of the value in the array. Once all of the array
    values have been processed, another pass would need to be done to
    handle the defaults. Anything left as %<string>% would need to
    be processed for an '=' and replaced with the default value.<br>
    <br>
    Is that what you had in mind?<br>
    <br>
    <br>
    Leonard Daly<br>
    <br>
    <br>
    <br>
    <br>
    <blockquote
cite="mid:CAKdk67u2X_tFtR_A8T4Msx0MdDNqrvVwJiJLbwbfMu2XqpZqNQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div><br>
          </div>
          <div>-Andreas<br>
          </div>
          <div><br>
          </div>
          <div>
            <div class="gmail_extra"><br>
              <div class="gmail_quote">On Fri, Aug 26, 2016 at 10:39 PM,
                Leonard Daly <span dir="ltr"><<a
                    moz-do-not-send="true"
                    href="mailto:web3d@realism.com" target="_blank">web3d@realism.com</a>></span>
                wrote:<br>
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px 0.8ex;border-left:1px solid
                  rgb(204,204,204);padding-left:1ex">
                  <div bgcolor="#FFFFFF" text="#000000">
                    <p>For the last year I have been working on
                      advancing X3D to be standardized in HTML5/DOM
                      environment and support mobile and VR. I have just
                      completed alpha work on the Macro node. This node
                      provides the static definition capabilities of
                      PROTO in an HTML5 environment. It can perform
                      string substitution (name/value pairs) on X3D code
                      stored externally. The node documentation is at
                      <a moz-do-not-send="true"
href="http://tools.realism.com/specification/x3d-v40/abstract-specification/changes-additions-x3d-v33/macro"
                        target="_blank">http://tools.realism.com/<wbr>specification/x3d-v40/<wbr>abstract-specification/<wbr>changes-additions-x3d-v33/<wbr>macro</a>.
                      <br>
                    </p>
                    <p>I will continue to get to at least alpha stage
                      (basic functional implemented and working) for all
                      nodes I discussed during my presentations at
                      Web3D2016 & SIGGRAPH. The presentation is
                      online at <a moz-do-not-send="true"
href="http://realism.com/presentations/188?title=Extending-X3DOM-to-Mobile"
                        target="_blank">http://realism.com/<wbr>presentations/188?title=<wbr>Extending-X3DOM-to-Mobile</a>.</p>
                    <p>All of the code is up on Github at <a
                        moz-do-not-send="true"
                        href="https://github.com/DrX3D/x3dv4"
                        target="_blank">https://github.com/DrX3D/x3dv4</a>
                      with testing code.</p>
                    <p>I am interested in any bugs that are found or
                      new/revised direction for the nodes. I am
                      completely open to anyone who would like to help
                      code. <br>
                      <span class=""><font color="#888888"> </font></span></p>
                    <span class=""><font color="#888888"> <br>
                        <div>-- <br>
                          <font color="#333366"> <font size="+1"><b>Leonard
                                Daly</b></font><br>
                            3D Systems Architect<br>
                            Cloud Consultant<br>
                            President, Daly Realism - <i>Creating the
                              Future</i> </font></div>
                      </font></span></div>
                  <br>
                  ------------------------------<wbr>------------------------------<wbr>------------------<br>
                  <br>
                  ______________________________<wbr>_________________<br>
                  X3dom-users mailing list<br>
                  <a moz-do-not-send="true"
                    href="mailto:X3dom-users@lists.sourceforge.net">X3dom-users@lists.sourceforge.<wbr>net</a><br>
                  <a moz-do-not-send="true"
                    href="https://lists.sourceforge.net/lists/listinfo/x3dom-users"
                    rel="noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/x3dom-users</a><br>
                  <br>
                </blockquote>
              </div>
              <br>
              <br clear="all">
              <br>
              -- <br>
              <div class="gmail_signature"
                data-smartmail="gmail_signature">Andreas Plesch<br>
                39 Barbara Rd.<br>
                Waltham, MA 02453</div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <p><br>
    </p>
    <div class="moz-signature">-- <br>
      <font class="tahoma,arial,helvetica san serif" color="#333366">
        <font size="+1"><b>Leonard Daly</b></font><br>
        X3D Co-Chair<br>
        Cloud Consultant<br>
        President, Daly Realism - <i>Creating the Future</i>
      </font></div>
  </body>
</html>