[x3d-public] start timer at fraction 0 after scene loading
John Carlson
yottzumm at gmail.com
Fri Sep 8 12:25:57 PDT 2023
I’ve also found it helpful to introduce FINALE nodes in generated code. At
least provide an option in generated code to choose between looping and
non-looping animations.
Good stuff!
John
On Thu, Sep 7, 2023 at 12:03 AM Andreas Plesch <andreasplesch at gmail.com>
wrote:
> Another method apart from a ProximitySensor to start a timer without
> user interaction after scene loading is to use two TimeSensors. The
> first has loop=true and its only purpose is to trigger the second by
> routing its cycleTime to the startTime of the second TimeSensor. The
> first also stops itself by routing its cycleTime to its own stopTime.
>
> Here is an example modified from the cycleTime NIST example:
>
> https://rentry.co/x3d-startTimer
>
>
> https://andreasplesch.github.io/Library/Viewer/dev.html?url=https://gist.githubusercontent.com/andreasplesch/3f7ea30b9860b6399c797c51e3235459/raw/118d65438f9cfdc152c01fc5a24a8eccec705511/startTimer.x3d
>
> --
> Andreas Plesch
> Waltham, MA 02453
>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230908/acdbc79f/attachment.html>
More information about the x3d-public
mailing list