<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">You probably want to use a Script node now ;)<div><br><div>
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div dir="auto" style="text-align: start; text-indent: 0px; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; -webkit-text-stroke-width: 0px;">--</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; -webkit-text-stroke-width: 0px;">Holger Seelig</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; -webkit-text-stroke-width: 0px;">Leipzig, Germany</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; -webkit-text-stroke-width: 0px;"><br></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; -webkit-text-stroke-width: 0px;">holger.seelig@yahoo.de</div><div>https://create3000.github.io/x_ite/</div></div></div></div></div></div></div>
</div>
<div><br><blockquote type="cite"><div>Am 23.08.2023 um 14:15 schrieb John Carlson <yottzumm@gmail.com>:</div><br class="Apple-interchange-newline"><div><div><div dir="auto">Yes, I understand that.   What should I use instead?</div><div dir="auto"><br></div><div dir="auto">I will try stopTime, but I probably tried that.</div><div dir="auto"><br></div><div dir="auto">Note that this is generated code </div></div><div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 23, 2023 at 3:39 AM Holger Seelig <<a href="mailto:holger.seelig@yahoo.de" target="_blank">holger.seelig@yahoo.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-break:after-white-space">I think there is logic bug in your code, if all browsers do the same. If I look below in your code, what you have posted here, I see that you use cycleTime to connect to startTime, but cycleTime will be generated an event at the beginning of each cycle, even for the first cycle.<div><br></div><div>>A cycleTime event is generated at the beginning of every cycle, including the cycle starting at startTime.</div><div><br></div><div>This mean in turn you will start all TimeSensors at once.</div><div><br></div><div>Best regards,</div><div>Holger</div><div><br><div>
<div dir="auto" style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; line-break: after-white-space;"><div dir="auto" style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; line-break: after-white-space;"><div dir="auto" style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; line-break: after-white-space;"><div dir="auto" style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; line-break: after-white-space;"><div dir="auto" style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; line-break: after-white-space;"><div dir="auto" style="text-align:start;text-indent:0px;line-break:after-white-space"><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none;">--</div><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none;">Holger Seelig</div><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none;">Leipzig, Germany</div><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none;"><br></div><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none;"><a href="mailto:holger.seelig@yahoo.de" target="_blank">holger.seelig@yahoo.de</a></div><div><a href="https://create3000.github.io/x_ite/" target="_blank">https://create3000.github.io/x_ite/</a></div></div></div></div></div></div></div>
</div>
<div><br><blockquote type="cite"></blockquote></div></div></div><div style="line-break:after-white-space"><div><div><blockquote type="cite"><div>Am 23.08.2023 um 04:23 schrieb John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>>:</div><br></blockquote></div></div></div><div style="line-break:after-white-space"><div><div><blockquote type="cite"><div></div></blockquote></div></div></div><div style="line-break:after-white-space"><div><div><blockquote type="cite"><div><div dir="ltr"><div dir="ltr">Also X3DOM does 4-5 TimeSensors in a row.  I can start in the middle, and it does another set.  Just 2 sets.<div><br></div><div>Weird.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 22, 2023 at 7:42 PM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">This appears to be of more general interest, so I am forwarding to others.<div><br></div><div>I am trying dead simple animation chaining, with one time sensor chaining into another...nothing really complex yet, though I've tried ScalarInterpolators, BooleanSequencers, event utilities, etc.</div><div><br></div><div>Even simpler would be setting startTime and stopTime directly in the TimeSensors.  Should I do that?</div><div><br></div><div>Is this the right approach, or should I attempt something more difficult with event utilities that people keep talking about?</div><div><br></div><div>Browsers of interest: FreeWRL, view3dscene, X_ITE all do 4-5 animations, not the whole cycle.  Is there a limit in the standard? That would be likely?</div><div><br>There are no loops yet, so only 1 TimeSensor should be running once you activate the Everything_Touch TouchSensor.</div><div><br>Thanks!</div><div><br></div><div>John</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 22, 2023 at 7:00 PM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Michalis, Joe,<div><br>Is there a limit to the number of chained animations in view3dscene?, say I have 11 TimeSensors with 11 animations, running one after the other? I'm only seeing 4-5 active at a time.  This is important, because I have 4 characters.</div><div><br></div><div>I've been messing with the Animations panel, to see what's possible.</div><div><br></div><div>I'm guessing I should have a single TimeSensor, that sends to a ScalarInterpolator, but this is dead simple animation. It looks like only 4-5 can be active at a time. Is there a better architecture I can use? </div></div></div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div><div>Here's the essentials:</div><div><br></div><div>$ cat takes.Lily.t*</div><div><div>DEF Lily_Stand010Timer TimeSensor { cycleInterval 2.6999999999999997 loop FALSE enabled TRUE startTime 1 } # 2.6999999999999997 - 0</div><div>DEF Lily_Stand011Timer TimeSensor { cycleInterval 0.6000000000000001 loop FALSE enabled TRUE } # 3.3 - 2.6999999999999997</div><div>DEF Lily_Stand012Timer TimeSensor { cycleInterval 3.45 loop FALSE enabled TRUE } # 6.75 - 3.3</div><div>DEF Lily_Run013Timer TimeSensor { cycleInterval 6.300000000000001 loop FALSE enabled TRUE } # 13.05 - 6.75</div><div>DEF Lily_Turn014Timer TimeSensor { cycleInterval 3.4499999999999993 loop FALSE enabled TRUE } # 16.5 - 13.05</div><div>DEF Lily_Walk015Timer TimeSensor { cycleInterval 2.3999999999999986 loop FALSE enabled TRUE } # 18.9 - 16.5</div><div>DEF Lily_Walk016Timer TimeSensor { cycleInterval 3 loop FALSE enabled TRUE } # 21.9 - 18.9</div><div>DEF Lily_Skip017Timer TimeSensor { cycleInterval 3.6000000000000014 loop FALSE enabled TRUE } # 25.5 - 21.9</div><div>DEF Lily_Stand018Timer TimeSensor { cycleInterval 1.5 loop FALSE enabled TRUE } # 27 - 25.5</div><div>DEF Lily_Stand019Timer TimeSensor { cycleInterval 3 loop FALSE enabled TRUE } # 30 - 27</div><div>DEF Lily_Stand0110Timer TimeSensor { cycleInterval 0 loop FALSE enabled TRUE } # 0 - 30</div><div>ROUTE Everything_Touch.touchTime TO Lily_Stand010Timer.startTime</div><div>ROUTE Everything_Touch.touchTime TO Lily_Stand011Timer .stopTime</div><div>ROUTE Everything_Touch.touchTime TO Lily_Stand012Timer .stopTime</div><div>ROUTE Everything_Touch.touchTime TO Lily_Run013Timer .stopTime</div><div>ROUTE Everything_Touch.touchTime TO Lily_Turn014Timer .stopTime</div><div>ROUTE Everything_Touch.touchTime TO Lily_Walk015Timer .stopTime</div><div>ROUTE Everything_Touch.touchTime TO Lily_Walk016Timer .stopTime</div><div>ROUTE Everything_Touch.touchTime TO Lily_Skip017Timer .stopTime</div><div>ROUTE Everything_Touch.touchTime TO Lily_Stand018Timer .stopTime</div><div>ROUTE Everything_Touch.touchTime TO Lily_Stand019Timer .stopTime</div><div>ROUTE Everything_Touch.touchTime TO Lily_Stand0110Timer .stopTime</div><div>ROUTE Lily_Stand010Timer.cycleTime TO Lily_Stand011Timer.startTime</div><div>ROUTE Lily_Stand011Timer.cycleTime TO Lily_Stand012Timer.startTime</div><div>ROUTE Lily_Stand012Timer.cycleTime TO Lily_Run013Timer.startTime</div><div>ROUTE Lily_Run013Timer.cycleTime TO Lily_Turn014Timer.startTime</div><div>ROUTE Lily_Turn014Timer.cycleTime TO Lily_Walk015Timer.startTime</div><div>ROUTE Lily_Walk015Timer.cycleTime TO Lily_Walk016Timer.startTime</div><div>ROUTE Lily_Walk016Timer.cycleTime TO Lily_Skip017Timer.startTime</div><div>ROUTE Lily_Skip017Timer.cycleTime TO Lily_Stand018Timer.startTime</div><div>ROUTE Lily_Stand018Timer.cycleTime TO Lily_Stand019Timer.startTime</div><div>ROUTE Lily_Stand019Timer.cycleTime TO Lily_Stand0110Timer.startTime</div><div>ROUTE Lily_Stand0110Timer.cycleTime TO Lily_Stand010Timer.startTime</div></div><div><br></div><div>Pulling my hair out,</div><div><br></div><div>John</div></div></div></div>
</blockquote></div></div>
</blockquote></div></div></div></blockquote></div></div></div><div style="line-break:after-white-space"><div><div><blockquote type="cite"><div>
_______________________________________________<br>x3d-public mailing list<br><a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br><a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br></div></blockquote></div><br></div></div></blockquote></div></div>
</div>
</div></blockquote></div><br></div></body></html>