<div dir="ltr"><div>I added an BooleanTrigger example from the archives :</div><div><br></div><div>X3dForWebAuthors BooleanTrigger: <a href="https://x3dom-booleantrigger.glitch.me/BooleanTriggerPumpHouseX3dom.xhtml">https://x3dom-booleantrigger.glitch.me/BooleanTriggerPumpHouseX3dom.xhtml</a></div><div><br></div><div>This example requires the touchTime field to TouchSensor. It turned out it was straightforward to put it in x3dom, so I also added</div><div><br></div><div>Nist conformance touchtime: <a href="https://x3dom-booleantrigger.glitch.me/touchtimeX3dom.xhtml">https://x3dom-booleantrigger.glitch.me/touchtimeX3dom.xhtml</a><br></div><div><br></div><div>and posted a x3dom issue: <a href="https://github.com/x3dom/x3dom/issues/771">https://github.com/x3dom/x3dom/issues/771</a></div><div><br></div><div>Plan to let it sit for while and then submit PRs.</div><div><br></div><div>-Andreas</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 21, 2017 at 8:02 AM, Andreas Plesch <span dir="ltr"><<a href="mailto:andreasplesch@gmail.com" target="_blank">andreasplesch@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 dir="ltr"><a href="http://x3dom-booleantrigger.glitch.me/BooleanTrigger_test.x3d" target="_blank">http://x3dom-booleantrigger.<wbr>glitch.me/BooleanTrigger_test.<wbr>x3d</a> is the BooleanTrigger example as a x3d file (still missing the xml declaration).<div>It works as expected in Octaga 5.0 and view3dscene 3.17 but not in freeWrl 3.0. In freeWrl, the sphere is shown but the light never starts to blink.</div><div>-Andreas</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 20, 2017 at 5:06 PM, Andreas Plesch <span dir="ltr"><<a href="mailto:andreasplesch@gmail.com" target="_blank">andreasplesch@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 dir="ltr">Here is the simplest, non-interactive BooleanTrigger example I could think of to test an implementation:<div><br></div><div><a href="https://glitch.com/edit/#!/x3dom-booleantrigger?path=index.html:22:1" target="_blank">https://glitch.com/edit/#!/x3d<wbr>om-booleantrigger?path=index.<wbr>html:22:1</a></div><div><br></div><div><a href="https://x3dom-booleantrigger.glitch.me/" target="_blank">https://x3dom-booleantrigger.g<wbr>litch.me/</a></div><div><br></div><div>and the x3dom implementation which is tested:</div><div><br></div><div><a href="https://glitch.com/edit/#!/x3dom-booleantrigger?path=BooleanTrigger.js:32:57" target="_blank">https://glitch.com/edit/#!/x3d<wbr>om-booleantrigger?path=Boolean<wbr>Trigger.js:32:57</a></div><div><br></div><div>The perhaps most interesting part of the code is the commented this.addField call for the triggerTrue field. While the field could be added, I believe it is not necessary since it is output only and could not be accessed anyways. However, x3dom should probably use actual node fields for generating output events.</div><div><br></div><div>Another way to produce a blinking light is by using BooleanSequencer which would reduce nodes and routes. Admittedly, the example is somewhat contrived. Most (all?) potential time event sources for the trigger also produce a boolean event in the first place. So where would BooleanTrigger be typically used ?</div><span class="m_-5594447896390327587HOEnZb"><font color="#888888"><div><br></div><div>-Andreas<span class="HOEnZb"><font color="#888888"><br clear="all"><div><br></div>-- <br><div class="m_-5594447896390327587m_-8638834369748263363gmail_signature"><div dir="ltr"><div>Andreas Plesch<br>Waltham, MA 02453</div></div></div>
</font></span></div></font></span></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-5594447896390327587gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Andreas Plesch<br>Waltham, MA 02453</div></div></div>
</font></span></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>