[x3d-public] How is a shader chosen in X_ITE? Looks like it works (at least at first, and then disappears?)
John Carlson
yottzumm at gmail.com
Mon Jul 5 06:41:10 PDT 2021
Oh! I reported this again. Sorry folks for duplicate.
On 7/5/21 6:08 AM, Holger Seelig wrote:
> https://localhost:3000/src/main/html/bubbles.html
> <https://localhost:3000/src/main/html/bubbles.html>
>
> has a flashing because the event order is not determined. The
> TimeSensor sends a fraction_changed (value 0) and a cycleTime (value
> currentTime) event at the same time, but you don’t know in which
> order. It looks like that the interpolators get the fraction_changed
> event earlier than the new keyValues. That means the first frame is
> from the old keyValues. The solution is to send an (new)
> fraction_changed event with value 0 in you script after the position
> and orientation is set. See attachment with fixed bubbles.x3d.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20210705/cbde11ef/attachment.html>
More information about the x3d-public
mailing list