<div dir="ltr">Hi Bogdan,<div><br></div><div>I guess so, I&#39;ve done quite some change lately. Specially regarding the file listing management.</div><div><br></div><div>For the <span style="font-family:arial,sans-serif;font-size:13px">PARAVIEW_ENABLE_WEB, it is automatically set to ON is Python wrapping is ON.</span></div>
<div><font face="arial, sans-serif">Otherwise the OSMesa one, should still be there but certainly in the advanced section.</font></div><div><font face="arial, sans-serif">You can check on the ParaView wiki for more info, on how to compile ParaView with OSMesa.</font></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Seb</font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 3, 2013 at 7:08 AM, Bogdan Daqui Herrera <span dir="ltr">&lt;<a href="mailto:bdaqui@simscale.de" target="_blank">bdaqui@simscale.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Seb,<br>
<br>
Unfortunately just replacing these two directories does not work. The<br>
logs do not offer me any clue either. It could be that the changes have<br>
made my web-app incompatible with the current one? Have there been<br>
changes to to the javascript files in the example projects as well?<br>
<br>
I have also recompiled paraview, just in case, but still does not work<br>
with my app. By the way, I am unable to find the OSMesa options, as well<br>
as the PARAVIEW_ENABLE_WEB in ccmake. Have they been deprecated?<br>
<br>
<br>
Kind Regards,<br>
Bogdan<br>
<div class="im HOEnZb"><br>
On 02.12.2013 19:09, Sebastien Jourdain wrote:<br>
&gt; You can probably download any nightly binary and just get the new &quot;www&quot;<br>
&gt; directory with the python code vtk/web/* + paraview/web/*.<br>
&gt; That might just work. ;-)<br>
&gt;<br>
&gt; Seb<br>
&gt;<br>
&gt; PS: As you noticed, make sure you clear your browser cache.<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Dec 2, 2013 at 11:02 AM, Bogdan Daqui Herrera<br>
</div><div class="im HOEnZb">&gt; &lt;<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Ah, that should be it. Mine is around 3-4 weeks old. I will recompile it<br>
&gt;     in its entirety, but as a starting point for this particular isue, what<br>
&gt;     needs to be recompiled, or is it just the javascripts that need to be<br>
&gt;     updated?<br>
&gt;<br>
&gt;     Bogdan<br>
&gt;<br>
&gt;     On 02.12.2013 18:59, Sebastien Jourdain wrote:<br>
&gt;     &gt; Hum,<br>
&gt;     &gt;<br>
&gt;     &gt; that should work then.<br>
&gt;     &gt; I&#39;ve fixed it a week or 2 ago. Are you using the latest<br>
&gt;     ParaView/master<br>
&gt;     &gt; from git?<br>
&gt;     &gt;<br>
&gt;     &gt; Seb<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt; On Mon, Dec 2, 2013 at 10:37 AM, Bogdan Daqui Herrera<br>
&gt;     &gt; &lt;<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>&gt;<br>
</div><div class="HOEnZb"><div class="h5">&gt;     &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>&gt;&gt;&gt; wrote:<br>
&gt;     &gt;<br>
&gt;     &gt;     Hi Seb,<br>
&gt;     &gt;<br>
&gt;     &gt;     I have located the file and key where the value should, I<br>
&gt;     assume, be set<br>
&gt;     &gt;     on the web deployment: vtkweb-all.js.<br>
&gt;     &gt;<br>
&gt;     &gt;     The key value combination seem to be in:<br>
&gt;     &gt;     DEFAULT_OPTIONS = {<br>
&gt;     &gt;             keepServerInSynch: true<br>
&gt;     &gt;     }<br>
&gt;     &gt;<br>
&gt;     &gt;     which I have set to true. In the web-browser, after deleting<br>
&gt;     the cache,<br>
&gt;     &gt;     I can see this is the current key-value combination, however<br>
&gt;     &gt;     synchronisation is not completed. I tried placing the key-value in<br>
&gt;     &gt;     quotes as well, without any effect.<br>
&gt;     &gt;<br>
&gt;     &gt;     I am switching the WebGL renderer on with<br>
&gt;     &gt;     pv.viewport.setActiveRenderer(&quot;webgl&quot;);<br>
&gt;     &gt;<br>
&gt;     &gt;     Should this be enough or I am still missing some configuration<br>
&gt;     values?<br>
&gt;     &gt;<br>
&gt;     &gt;     The vtkweb.viewport.webgl.js itself is in the ParaView sources<br>
&gt;     under:<br>
&gt;     &gt;     src/VTK/Web/JavaScript/Lib/vtkweb.viewport.webgl.js, but its<br>
&gt;     contents is<br>
&gt;     &gt;     also in vtkweb-all.js, which is deployed for the web-app as<br>
&gt;     well as in<br>
&gt;     &gt;     the different examples.<br>
&gt;     &gt;<br>
&gt;     &gt;     Kind Regards,<br>
&gt;     &gt;     Bogdan<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;     On 02.12.2013 17:56, Sebastien Jourdain wrote:<br>
&gt;     &gt;     &gt; Hi Bogdan,<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; To fix the issue #1, you just need to add a property at the<br>
&gt;     &gt;     construction<br>
&gt;     &gt;     &gt; of the viewport in order to keep client and server in synch.<br>
&gt;     &gt;     &gt; I don&#39;t remember the key/value pair but if you look inside the<br>
&gt;     &gt;     &gt; xxx.webgl.js, you should find out.<br>
&gt;     &gt;     &gt; Moreover, once the JS documentation get regenerated after<br>
&gt;     the next<br>
&gt;     &gt;     &gt; gatekeeper review, this will be well described.<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; For the #2, this is definitely a new bug that will need to be<br>
&gt;     &gt;     addressed.<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; Thanks for your feedback,<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; Seb<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; On Mon, Dec 2, 2013 at 2:51 AM, Bogdan Daqui Herrera<br>
&gt;     &gt;     &lt;<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>&gt;<br>
&gt;     &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>&gt;&gt;<br>
&gt;     &gt;     &gt; &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>&gt;<br>
&gt;     &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>&gt;&gt;&gt;&gt; wrote:<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     Hello all,<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     I have run into a couple of issues while using the WebGL<br>
&gt;     &gt;     renderer in<br>
&gt;     &gt;     &gt;     ParaviewWeb 4. Could you help me out with some pointers or<br>
&gt;     &gt;     possible<br>
&gt;     &gt;     &gt;     workarounds for these problems.<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     1. Camera View being reset<br>
&gt;     &gt;     &gt;     The camera orientation and position are always being<br>
&gt;     reset after<br>
&gt;     &gt;     &gt;     performing different operations, such as:<br>
&gt;     &gt;     &gt;     -Activating/De-activating the scalarbar<br>
&gt;     &gt;     &gt;     -Choosing between point/face data for the ColorBy selection<br>
&gt;     &gt;     &gt;     -Adding a filter into the current pipeline<br>
&gt;     &gt;     &gt;     -Rescaling<br>
&gt;     &gt;     &gt;     -advancing to the next file/time-step in the Data Source.<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     2. Background other than black<br>
&gt;     &gt;     &gt;     This happens when a background of a different colour, for<br>
&gt;     &gt;     example a<br>
&gt;     &gt;     &gt;     gradient of white and grey is chosen. If I alter the camera<br>
&gt;     &gt;     position or<br>
&gt;     &gt;     &gt;     orientation, this background (which is in this case<br>
&gt;     &gt;     represented by a<br>
&gt;     &gt;     &gt;     rectangle with the selected colours) can move out of the<br>
&gt;     &gt;     field-of view,<br>
&gt;     &gt;     &gt;     it does not stay in a fixed position relative to the camera<br>
&gt;     &gt;     meaning the<br>
&gt;     &gt;     &gt;     black regular background is in most part visible.<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     Both issues happen only when using the WebGL renderer. When<br>
&gt;     &gt;     switching to<br>
&gt;     &gt;     &gt;     the software renderer, the behaviour is as expected.<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     Kind Regards,<br>
&gt;     &gt;     &gt;     Bogdan<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     --<br>
&gt;     &gt;     &gt;     Bogdan Daqui<br>
&gt;     &gt;     &gt;     Software Development<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     SimScale GmbH<br>
&gt;     &gt;     &gt;     Lichtenbergstraße 8<br>
&gt;     &gt;     &gt;     85748 Garching bei München<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     Phone: <a href="tel:%2B49%20%280%2989%203398%204078" value="+498933984078">+49 (0)89 3398 4078</a><br>
&gt;     &lt;tel:%2B49%20%280%2989%203398%204078&gt;<br>
&gt;     &gt;     &lt;tel:%2B49%20%280%2989%203398%204078&gt;<br>
&gt;     &gt;     &lt;tel:%2B49%20%280%2989%203398%204078&gt;<br>
&gt;     &gt;     &gt;     Email: <a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>&gt;<br>
&gt;     &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>&gt;&gt;<br>
&gt;     &gt;     &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>&gt;<br>
&gt;     &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>&gt;&gt;&gt;<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     Amtsgericht München, HRB 201813<br>
&gt;     &gt;     &gt;     Geschäftsführer: Vincenz Dölle &amp; David Heiny<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     <a href="http://www.simscale.de" target="_blank">http://www.simscale.de</a><br>
&gt;     &gt;     &gt;     _______________________________________________<br>
&gt;     &gt;     &gt;     Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a> &lt;<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>&gt;<br>
&gt;     &lt;<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>&gt;<br>
&gt;     &gt;     &lt;<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>&gt;<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     Visit other Kitware open-source projects at<br>
&gt;     &gt;     &gt;     <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     Please keep messages on-topic and check the ParaView<br>
&gt;     Wiki at:<br>
&gt;     &gt;     &gt;     <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     Follow this link to subscribe/unsubscribe:<br>
&gt;     &gt;     &gt;     <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>