<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Oct 31, 2016 at 9:48 AM,  <span dir="ltr"><<a href="mailto:x3d-public-request@web3d.org" target="_blank">x3d-public-request@web3d.org</a>></span> wrote:</div><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Date: Sun, 30 Oct 2016 16:08:18 -0700<br>
From: Leonard Daly <<a href="mailto:Leonard.Daly@realism.com">Leonard.Daly@realism.com</a>><br>
To: <a href="mailto:x3d-public@web3d.org">x3d-public@web3d.org</a><br>
Subject: Re: [x3d-public] event utility usage, and event tracing<br>
        techniques<br><br>
Andreas,<br>
<br>
As Mike points out 20ms is significant. As 60fps, the system needs to<br>
generate a new frame every 16.6ms. Desired is > 90fps (or <<br>
11.1ms/frame). Could the DOM event be getting held up until after a<br>
frame is generated (20ms = 50fps)?<br>
<br></blockquote><div><br></div><div>The DOM event is created by the SAI field.addEventCallback() method .</div><div><br></div><div>What does the SAI standard say about when an added event callback should be invoked ?</div><div>Presumably as part of the same event cascade when the x3d event is created but is there guidance ? </div><div><br></div><div>I see if I can figure out from looking at the cobweb source when exactly the callback is called but perhaps Holger can chime in ?</div><div><br></div><div>My working hypothesis to test would be at the end of the event processing but before the draw traversal, at a given time stamp.</div><div><br></div><div>-Andreas</div></div>
</div></div>