[x3d-public] Fwd: Turning on and off simultaneous animations individually
John Carlson
yottzumm at gmail.com
Sat Dec 7 23:47:43 PST 2024
Forwarded due to specification question (people who read the specification
better than I can can help).
I did notice one thing in FreeWRL.
If you click on a menu item, fraction = 0 in the script apparently does not
fire an event. Both normally and with -J DUK.
This could be fixed by sending the fraction that's sent to the
AnimationAdapter to the Script as well. I'm not going to fix this yet,
because I don't know what the spec says about only sending events when
values in the script change under assignment. There's probably some
optimization going on.
In Sunrize, AFAICT, the event is sent, and the animation is reset.
On Sun, Dec 8, 2024 at 12:56 AM John Carlson <yottzumm at gmail.com> wrote:
> I figured out FreeWRL 6.7 by switching on -J DUK. A very helpful message
> about there being no "console" variable in JavaScript helped a lot.
>
> Everything's functional now, including resetting an animation when it's
> selected or deselected.
>
> I think we want a single TimeSensor if we want to include other animations
> besides HAnimDisplacer. Please confirm.
>
>>
>>> Here's the latest:
>>>
>>>
>>> https://github.com/coderextreme/ci2had/blob/main/resources/SingleMenuJin.x3d
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20241208/7d3f8af9/attachment-0001.html>
More information about the x3d-public
mailing list