<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body 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">http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/concepts.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="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" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="5">brutzman@nps.edu</a><br>
Watkins 270, MOVES Institute, Monterey CA 93943-5000 USA <a href="tel:+1.831.656.2149" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="6">+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" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="7">http://faculty.nps.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">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">http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/utils.html#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">http://www.web3d.org/x3d/content/X3dTooltips.html#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">http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter09-EventUtilitiesScripting/X3dEventUtilityNodeEventDiagrams.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>_______________________________________________</span><br>
<span>x3d-public mailing list</span><br>
<span><a href="mailto:x3d-public@web3d.org">x3d-public@web3d.org</a></span><br>
<span><a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a></span><br>
</div>
</blockquote>
</body>
</html>