http://redmine.emweb.be/http://redmine.emweb.be/favicon.ico?16934085252019-03-16T13:21:05ZRedmineWt - Support #6960: WGLWidget - Use of binary buffer and a signal or some sort of indicator to check buffers are loaded http://redmine.emweb.be/issues/6960?journal_id=223142019-03-16T13:21:05ZPrasad Dixitpjdixit@gmail.com
<ul></ul><p><strong>A video with a larger file demonstrates the problem better:</strong> <a href="https://www.dropbox.com/s/86fl817exaqw8on/CADFlux%20-%20Google%20Chrome%203_16_2019%209_11_38%20AM.mp4?dl=0" class="external">Video</a></p>
Wt - Support #6960: WGLWidget - Use of binary buffer and a signal or some sort of indicator to check buffers are loaded http://redmine.emweb.be/issues/6960?journal_id=223252019-03-18T14:58:06ZWim Dumonwim@emweb.be
<ul></ul><p>Hi,</p>
<p>I don't think this is possible now.</p>
<p>A JSignal would need to be added that is triggered from WGLWidget.js, in handlePreload. This would allow to inform the server side that the first paint has effectively been executed.</p>
<p>Best regards,<br><br>
Wim.</p>
Wt - Support #6960: WGLWidget - Use of binary buffer and a signal or some sort of indicator to check buffers are loaded http://redmine.emweb.be/issues/6960?journal_id=223322019-03-18T18:07:22ZPrasad Dixitpjdixit@gmail.com
<ul></ul><p>Thank you very much for clarification, Wim!</p>
<p>I love the idea behind Wt and using it in a niche use case. Thank you for developing this wonderful toolkit. I am placing my bets on Wt to develop a 3D visualization engine involving rendering of large 3D data-sets instead of using more common three.js.</p>
<p><strong>A functionality to indicate that the binary buffers are loading (some sort of progress indicator) and an indicator that the binary buffers are processed is going to be very critical for good user experience.</strong></p>
<p>Is Wt's team going to make it a priority for future releases?</p>
<p>Thank you!</p>
<p>Cheers,<br><br>
-Prasad</p>
Wt - Support #6960: WGLWidget - Use of binary buffer and a signal or some sort of indicator to check buffers are loaded http://redmine.emweb.be/issues/6960?journal_id=226682019-04-24T16:03:02ZPrasad Dixitpjdixit@gmail.com
<ul></ul><p>Can someone point me to how I can accomplish this now before Wt's team work on it?</p>
<p>Is there anyway this can be accomplished by insertJavaScript/JSSignal/doJavaScript or override current implementation of handlePreload of WGLWidget.js somehow?</p>
<p>Thank you for your help!</p>
Wt - Support #6960: WGLWidget - Use of binary buffer and a signal or some sort of indicator to check buffers are loaded http://redmine.emweb.be/issues/6960?journal_id=228962019-05-27T08:21:31ZRoel Standaertroel@emweb.be
<ul><li><strong>File</strong> <a href="/attachments/3017">paintedSignal.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3017/paintedSignal.patch">paintedSignal.patch</a> added</li></ul><p>I found there is a function called <a href="https://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WGLWidget.html#abef0824d73fdca6ca415e96289e43d3a" class="external"><code>injectJS</code></a> that you can use to do what you want (I forgot about its existence myself). I attached a patch for the webgl example demonstrating its use to notify the server on the first paint.</p>
Wt - Support #6960: WGLWidget - Use of binary buffer and a signal or some sort of indicator to check buffers are loaded http://redmine.emweb.be/issues/6960?journal_id=229112019-05-27T13:19:58ZRoel Standaertroel@emweb.be
<ul></ul><p>I think that considering the fact that it can be done with <code>injectJS</code>, we don't really need to add a dedicated <code>JSignal</code> for this anymore?</p>
Wt - Support #6960: WGLWidget - Use of binary buffer and a signal or some sort of indicator to check buffers are loaded http://redmine.emweb.be/issues/6960?journal_id=235352019-08-05T10:38:37ZRoel Standaertroel@emweb.be
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul><p>I'm closing this due to inactivity, I hope that the <code>injectJS</code> did what you wanted.</p>