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

Andreas Plesch andreasplesch at gmail.com
Fri Feb 1 06:11:14 PST 2019


Any takers for below ?

To sharpen the question a bit: Would any (known) scene break if
interpolators would not generate a value_changed event if the key values
stayed the same ? As in the central intervals of keyValue='0 1 1 1 1 0' ?

-Andreas

On Wed, Jan 30, 2019 at 9:05 AM Andreas Plesch <andreasplesch at gmail.com>
wrote:

> 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
>


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


More information about the x3d-public mailing list