<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Thank you so very much!</p>
    <p>That was likely a long standing problem! I'm not quite sure where
      i got .w from!<br>
    </p>
    <p>Now I have to convert all my X3DOM WebGL1 examples.  I have
      already started on the X_ITE ones with good success!</p>
    <p>Is there a way to set Texture Quality and Primitive Quality from
      the source code. I see on the user interface.</p>
    <p>I do still have a wondering question, and that's the white
      spheres that appear in mirror.x3d and mirror2.x3d.  I think it's
      because 2 fragment shaders are competing. I'll get specific
      examples.<br>
    </p>
    <p>Thanks!</p>
    <p>See attached successes!<br>
    </p>
    <p>John</p>
    <p><img src="cid:part1.51F503FF.373D369C@gmail.com" alt=""></p>
    <div class="moz-cite-prefix">On 7/4/21 7:42 AM, Holger Seelig wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:144C73B0-2226-450E-B1A1-1C271941BD09@yahoo.de">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      I investigated your code further and it now turns out that you
      have an error in you JavaScript which controls the camera. You do
      <div class=""><br class="">
      </div>
      <div class="">
        <div style="color: rgb(54, 54, 54); background-color: rgb(255, 255, 255); font-family: Menlo, Monaco, "Courier New", monospace; line-height: 18px; white-space: pre;" class=""><div class=""><span style="color: rgb(162, 86, 55);" class="">orientation_changed[0] = new SFRotation(orientations[ov].x, orientations[ov].y, orientations[ov].z, orientations[ov].w);</span></div><div class=""><span style="color: rgb(162, 86, 55);" class="">orientation_changed[1] = new SFRotation(orientations[vc].x, orientations[vc].y, orientations[vc].z, orientations[vc].w);</span></div><div class=""><span style="color: rgb(162, 86, 55);" class=""></span></div></div>
        <div><br class="">
          But orientations are a MFRotation, that means accessing <span style="caret-color: rgb(162, 86, 55); color: rgb(162, 86, 55); font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre; background-color: rgb(255, 255, 255);" class="">orientations[vc].w</span> will
          fail, because there is no '.w‘ property, instead SFRotations
          have a ‚.angle‘ property. Because <span style="caret-color: rgb(162, 86, 55); color: rgb(162, 86, 55); font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre; background-color: rgb(255, 255, 255);" class="">orientations[vc]</span> returns
          a SFRotation you can do:</div>
        <div><br class="">
        </div>
        <div>
          <div style="color: rgb(54, 54, 54); background-color: rgb(255, 255, 255); font-family: Menlo, Monaco, "Courier New", monospace; line-height: 18px; white-space: pre;" class=""><div class=""><span style="color: rgb(162, 86, 55);" class="">orientation_changed[0] = orientations[ov];</span></div><div class=""><span style="color: rgb(162, 86, 55);" class="">orientation_changed[1] = orientations[vc];</span></div><div class=""><span style="color: rgb(162, 86, 55);" class=""></span></div></div>
        </div>
        <div><br class="">
        </div>
        <div>Best regards, Holger.</div>
        <div><br class="">
        </div>
        <div>
          <blockquote type="cite" class="">
            <div class="">Am 04.07.2021 um 08:21 schrieb John Carlson
              <<a href="mailto:yottzumm@gmail.com" class=""
                moz-do-not-send="true">yottzumm@gmail.com</a>>:</div>
            <br class="Apple-interchange-newline">
            <div class="">
              <meta http-equiv="Content-Type" content="text/html;
                charset=UTF-8" class="">
              <div class="">
                <p class="">Handy shortcut for X3DJSONLD devs (install
                  x3dvalidate first): X3DJSONLD/src/main/schema$ node
                  ~/x3dvalidate/x3dvalidate.js ../data/bubbles.json</p>
                <p class="">Loading schema<br class="">
                  Parsing schema<br class="">
                  Adding schema<br class="">
                  Schema 4.0 added<br class="">
                  Schema 4.0 compiled<br class="">
                  Success reading ../data/bubbles.json</p>
                <p class="">Starting X3D-Edit 4.0...</p>
                <p class="">Opening bubbles.x3d...</p>
                <p class="">Clicking the checkbox...</p>
                <p class="">Fixed one error...</p>
                <p class="">Clicking the checkbox again...<br class="">
                </p>
                <p class="">--------- X3D Validator checks commenced for
                  bubbles.x3d ---------<br class="">
                  <br class="">
                  Performing well-formed XML check...<br class="">
                  Checking <a class="moz-txt-link-freetext"
                    href="file:///home/coderextreme/X3DJSONLD/src/main/data/bubbles.x3d"
                    moz-do-not-send="true">file:/home/coderextreme/X3DJSONLD/src/main/data/bubbles.x3d</a>...<br
                    class="">
                  Well-formed XML check: pass<br class="">
                  <br class="">
                  Performing DOCTYPE check...<br class="">
                  [X3dDoctypeChecker] success: valid XML declaration
                  found.[X3dDoctypeChecker] success: final X3D 4.0
                  DOCTYPE found.<br class="">
                  <br class="">
                  Performing DTD validation...<br class="">
                  Checking <a class="moz-txt-link-freetext"
                    href="file:///home/coderextreme/X3DJSONLD/src/main/data/bubbles.x3d"
                    moz-do-not-send="true">file:/home/coderextreme/X3DJSONLD/src/main/data/bubbles.x3d</a>...<br
                    class="">
                  XML DTD validation: pass<br class="">
                  <br class="">
                  Performing X3D schema validation...<br class="">
                  Checking <a class="moz-txt-link-freetext"
                    href="file:///home/coderextreme/X3DJSONLD/src/main/data/bubbles.x3d"
                    moz-do-not-send="true">file:/home/coderextreme/X3DJSONLD/src/main/data/bubbles.x3d</a>...<br
                    class="">
                  XML schema validation: pass<br class="">
                  <br class="">
                  Performing X3D regular expression (regex) values
                  check...<br class="">
                  <br class="">
                  Performing X3dToClassicVrml.xslt conversion check...<br
                    class="">
                  <br class="">
                  Performing X3D Schematron check...<br class="">
                  X3D version 4.0 is approved by Web3D Consortium and
                  focused on interoperabiliity with HTML, glTF
                  Physically Based Rendering (PBR) and Web Audio API,
                  undergoing review by ISO national bodies in 2021.
                  [/X3D, diagnostic]<br class="">
                  <br class="">
                  --------- X3D Validator checks complete for
                  bubbles.x3d ---------<br class="">
                  --------- X3D Validator online at <a
                    class="moz-txt-link-freetext"
                    href="https://savage.nps.edu/X3dValidator"
                    moz-do-not-send="true">https://savage.nps.edu/X3dValidator</a>
                  --------- <b class="">(Definitely *offline* here! 
                    Thanks to the team that put X3D-Edit together, we
                    have a backup!) <br class="">
                  </b></p>
                <p class=""><b class=""><br class="">
                  </b></p>
                <p class="">Removed "Texture" from containerFields. New
                  file attached.  No difference seen yet.  Sometimes the
                  scene pops up then disappears, and sometimes it
                  doesn't.</p>
                <p class="">Looking at logs may tell the story. I
                  haven't looked recently.</p>
                <p class="">Note: x3dom shaders have been commented out
                  locally, but file may still be cached.</p>
                <p class=""><b class="">Note:  X3D JSON validator is up
                    and running for X3DV4! </b> <a
                    class="moz-txt-link-freetext"
                    href="https://coderextreme.net/X3DJSONLD/src/main/html/validator.html"
                    moz-do-not-send="true">https://coderextreme.net/X3DJSONLD/src/main/html/validator.html</a></p>
                <p class="">Looks like <a href="http://savage.nps.edu"
                    class="" moz-do-not-send="true">savage.nps.edu</a>
                  website is down?<br class="">
                </p>
                <p class="">John<br class="">
                </p>
                <p class=""><b class=""><br class="">
                  </b></p>
                <div class="moz-cite-prefix">On 7/3/21 10:49 PM, John
                  Carlson wrote:<br class="">
                </div>
                <blockquote type="cite"
                  cite="mid:2914f37c-793c-ab82-dbc8-291899db1b5f@gmail.com"
                  class="">X_ITE has disappearing problems with <br
                    class="">
                  <br class="">
                  <a class="moz-txt-link-freetext"
                    href="https://coderextreme.net/X3DJSONLD/src/main/html/bubbles.html"
                    moz-do-not-send="true">https://coderextreme.net/X3DJSONLD/src/main/html/bubbles.html</a>
                  <br class="">
                  <br class="">
                  The included ../data/bubbles.x3d should be
                  cross-platform--potentially any X3D browser, but only
                  X3DOM and X_ITE are supported.  Please try yours and
                  contribute fixes! <br class="">
                  <br class="">
                  Problems: scene and geometry show up initially, then
                  disappear, or don't appear at all. I will try removing
                  X3DOM shaders to see what happens. <br class="">
                  <br class="">
                  There's a small "flower" in the middle of the bubble
                  in Chromium on Linux, which seems to indicated that a
                  fragment shader got invoked which is returns white
                  frag_color. If associated vertex shader doesn't load,
                  I don't think the fragment shader shouldn't, IMO, but
                  others can weigh in.  Others can report seeing this? <br
                    class="">
                  <br class="">
                  I will try to go over the shaders with a fine-tooth
                  comb tomorrow. <br class="">
                  <br class="">
                  I'll also run the XML file through validators! <br
                    class="">
                  <br class="">
                  John <br class="">
                  <br class="">
                </blockquote>
              </div>
              <span id="cid:9067696D-D045-4521-B8F0-52080BA61924"><bubbles.x3d></span></div>
          </blockquote>
        </div>
        <br class="">
      </div>
    </blockquote>
  </body>
</html>