<div dir="ltr">Sending output fields upon value changes is how the browsers I tested behaved. Although to me the sentence in 4.4.8.1 which addresses this behaviour and begins with "Nodes also define output fields .." is more explanatory than defining and seems to be intended to leave the exact behavior specification to node definitions. Here is suggested wording to help clarify 30.4.3:<div><p style="font-size:20px;color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif">The BooleanToggle can be reset to a specific state by directly setting the value of the inputOutput <i>toggle</i> field. Resetting the <i>toggle</i> field generates a corresponding <i>toggle</i> field output event.</p></div><div>There is probably a better and/or more concise phrase to add.</div><div><br></div><div>-Andreas</div><div><br></div><div><br></div><div><br></div><div><br><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 18, 2017 at 12:46 PM, Brutzman, Donald (Don) (CIV) <span dir="ltr"><<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">
<div>Thank you Andreas. Looks like you have identified an ambiguity in the spec that might benefit from clarification.</div>
<div><br>
</div>
<div>Since the first paragraph specifically identified output events, and the second paragraph on "reset" did not, my interpretation was that no event was sent as part of a reset. That informed the tooltips and diagram notes. However, checking event model
rules:</div>
<div><a href="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/concepts.html#Events" target="_blank">http://www.web3d.org/<wbr>documents/specifications/<wbr>19775-1/V3.3/Part01/concepts.<wbr>html#Events</a></div>
<div>
<h2 style="margin-top:18px"></h2>
<blockquote type="cite">
<h2 style="margin-top:18px"><font size="3"><span style="background-color:rgba(255,255,255,0)">4.4.8 Event model</span></font></h2>
<h3 style="margin-top:14px"><font color="#000000" size="3"><span style="background-color:rgba(255,255,255,0)"><a name="m_-4983839612603419616_Events"></a>4.4.8.1 Events</span></font></h3>
<p><span style="background-color:rgba(255,255,255,0)"><i>Events</i> are the primary means of generating behaviors in the X3D run-time environment. Events are used throughout X3D: driving time-based animations; handling object picking; detecting user movement
and collision; changing the scene graph hierarchy. The run-time environment manages the propagation of events through the system according to a well-defined set of rules.</span></p>
<p><span style="background-color:rgba(255,255,255,0)">Nodes define input fields (<i>i.e.</i>, fields with inputOutput or inputOnly access) that trigger behavior. When a given event occurs, the node receives notification and can potentially change internal
state and the value of one or more of its fields. <b>Nodes also define output fields (<i>i.e.</i>, fields with inputOutput or outputOnly access) that are sent upon signal state changes or other occurrences within the node.</b> Events sent to input fields and
events sent by output fields are referred to collectively in ISO/IEC 19775 as <i>Events</i>.</span></p>
</blockquote>
</div>
<div><br>
</div>
<div>The bolded sentence (beginning with "Nodes also define output fields... that are sent upon signal state changes" ...) indicates that a corresponding output event should be sent when the value is changed.</div>
<div><br>
</div>
<div>Subject to review, am happy to make the tooltips and diagram notes more explicit in this matter. We should likely also add words to spec to avoid indirect ambiguity and explicitly add clarity.</div>
<div><br>
<div><span style="background-color:rgba(255,255,255,0)">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 <a href="tel:+1.831.656.2149" target="_blank">+1.831.656.2149</a></span>
<div><span style="background-color:rgba(255,255,255,0)">X3D graphics, virtual worlds, navy robotics <a href="http://faculty.nps.edu/brutzman" target="_blank">http://faculty.nps.<wbr>edu/brutzman</a></span></div>
<div><br>
</div>
</div>
</div>
<div><br>
On Sep 16, 2017, at 4:20 PM, Andreas Plesch <<a href="mailto:andreasplesch@gmail.com" target="_blank">andreasplesch@gmail.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="auto"><a href="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/utils.html#BooleanToggle" target="_blank">http://www.web3d.org/<wbr>documents/specifications/<wbr>19775-1/V3.3/Part01/<wbr>components/utils.html#<wbr>BooleanToggle</a>
<div dir="auto"><br>
</div>
<div dir="auto">produces a toggle output event after it receives a set_boolean event.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Does it also produce a toggle output event after it receives a toggle input event (to reset the toggle field value) ?</div>
<div dir="auto"><br>
</div>
<div dir="auto"><a href="http://www.web3d.org/x3d/content/X3dTooltips.html#BooleanToggle" target="_blank">http://www.web3d.org/x3d/<wbr>content/X3dTooltips.html#<wbr>BooleanToggle</a><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">does not mention this and the diagram at</div>
<div dir="auto"><a href="http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter09-EventUtilitiesScripting/X3dEventUtilityNodeEventDiagrams.pdf" target="_blank">http://x3dgraphics.com/<wbr>examples/X3dForWebAuthors/<wbr>Chapter09-<wbr>EventUtilitiesScripting/<wbr>X3dEventUtilityNodeEventDiagra<wbr>ms.pdf</a><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">also seems silent.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Not sure if there are examples which reset the internal value of the toggle field ?</div>
<div dir="auto"><br>
</div>
<div dir="auto">Andreas</div>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>______________________________<wbr>_________________</span><br>
<span>x3d-public mailing list</span><br>
<span><a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a></span><br>
<span><a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" target="_blank">http://web3d.org/mailman/<wbr>listinfo/x3d-public_web3d.org</a></span><br>
</div>
</blockquote>
</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>