<div dir="ltr"><div dir="ltr">Could relate to confusion between a) time since 1970 and b) time relative to loadtime==0<div>For example </div><div>startTime = stopTime= 0, cycleTime = 5, loop=false, all browsers show the isActive session is over when the scene loads.</div><div>startTime = stopTime = 0, cycleTime = 1660156846 (seconds since 1970 plus some), loop=false will show isActive true on load in most browsers</div><div>Suggestion - a timesensor field saying if times are relative to load-time == 0 or from 1970, allowing scene to be designed in loadtime relative seconds.</div><div>-Doug</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 10, 2022 at 11:47 AM GPU Group <<a href="mailto:gpugroup@gmail.com">gpugroup@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>When trying to do a startup delay timer, I didn't find a match in the nist examples</div><div><a href="https://www.web3d.org/x3d/content/examples/ConformanceNist/Sensors/TimeSensor/index.html" target="_blank">https://www.web3d.org/x3d/content/examples/ConformanceNist/Sensors/TimeSensor/index.html</a> <br></div><div>in the specs, </div><div><a href="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/time.html#Timeactivation" target="_blank">https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/time.html#Timeactivation</a> <br></div><div>the first diagram shows loop false, stoptime less than or equal startime</div><div>- it should ignore stoptime and use cycleInterval</div><div>The closest match I could find in nist examples:</div><a href="https://www.web3d.org/x3d/content/examples/ConformanceNist/Sensors/TimeSensor/stopltstartloopfalseIndex.html" target="_blank">https://www.web3d.org/x3d/content/examples/ConformanceNist/Sensors/TimeSensor/stopltstartloopfalseIndex.html</a><br><div>- nist comment for this scene:</div><div>"<span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">The result is: Because loop is false, a red Sphere geometry should NOT move from right to center to left and back to center one time when the world is loaded."</span></div><div>- and all browsers conform to nist comment that it doesn't animate on startup. </div><div>?? To me it looks like all web3d browsers are failing the first specs diagram (and passing the NIST test). If we honored the first diagram, then I could do a startup delay loop=false, stopTime=- 0, startTime=0, cycleInterval=2 to get a 2 second isActive on startup </div><div>Q1. does the nist example stopeqstartloopfalse or stopltstartloopfalse comment 'there should be no startup animation' match Component Time > Activation Figure 8.1 top diagram of loop false, starttime .gt. stoptime?</div><div>Q. how to do a delay: one-time event x seconds after scene load? <br></div><div>Thanks, Doug Sanden</div><div><br></div></div></div>
</blockquote></div>