[x3d-public] value_changed event if value does not change

Andreas Plesch andreasplesch at gmail.com
Wed Jan 30 06:05:20 PST 2019


x3dom may want to introduce an optimization which would skip generating a
value_changed event for interpolators if the output value actually did not
change. I do not know the background but one could imagine an automatically
generated keyValue array with a lot of constant sequential values, or just
a long interval with constant values.

It is clear that the spec. requires generating a value_changed event for
each set_fraction input event, even if the value does not actually change.
But what would be a real world scenario where skipping this generation of
constant value_changed event would functionally break an event chain ?
Perhaps there is even an example somewhere ? Normally, keep feeding in a
constant value would not be expected to change an output.


-- 
Andreas Plesch
Waltham, MA 02453
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20190130/66b5b5f3/attachment-0001.html>


More information about the x3d-public mailing list