<div dir="ltr">Hum,<div><br></div><div>that should work then.</div><div>I've fixed it a week or 2 ago. Are you using the latest ParaView/master from git?</div><div><br></div><div>Seb<br><div><br></div></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Dec 2, 2013 at 10:37 AM, Bogdan Daqui Herrera <span dir="ltr"><<a href="mailto:bdaqui@simscale.de" target="_blank">bdaqui@simscale.de</a>></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>
I have located the file and key where the value should, I assume, be set<br>
on the web deployment: vtkweb-all.js.<br>
<br>
The key value combination seem to be in:<br>
DEFAULT_OPTIONS = {<br>
keepServerInSynch: true<br>
}<br>
<br>
which I have set to true. In the web-browser, after deleting the cache,<br>
I can see this is the current key-value combination, however<br>
synchronisation is not completed. I tried placing the key-value in<br>
quotes as well, without any effect.<br>
<br>
I am switching the WebGL renderer on with<br>
pv.viewport.setActiveRenderer("webgl");<br>
<br>
Should this be enough or I am still missing some configuration values?<br>
<br>
The vtkweb.viewport.webgl.js itself is in the ParaView sources under:<br>
src/VTK/Web/JavaScript/Lib/vtkweb.viewport.webgl.js, but its contents is<br>
also in vtkweb-all.js, which is deployed for the web-app as well as in<br>
the different examples.<br>
<div class="im"><br>
Kind Regards,<br>
Bogdan<br>
<br>
<br>
On 02.12.2013 17:56, Sebastien Jourdain wrote:<br>
</div><div class="im">> Hi Bogdan,<br>
><br>
> To fix the issue #1, you just need to add a property at the construction<br>
> of the viewport in order to keep client and server in synch.<br>
> I don't remember the key/value pair but if you look inside the<br>
> xxx.webgl.js, you should find out.<br>
> Moreover, once the JS documentation get regenerated after the next<br>
> gatekeeper review, this will be well described.<br>
><br>
> For the #2, this is definitely a new bug that will need to be addressed.<br>
><br>
> Thanks for your feedback,<br>
><br>
> Seb<br>
><br>
><br>
> On Mon, Dec 2, 2013 at 2:51 AM, Bogdan Daqui Herrera <<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a><br>
</div><div><div class="h5">> <mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>>> wrote:<br>
><br>
> Hello all,<br>
><br>
> I have run into a couple of issues while using the WebGL renderer in<br>
> ParaviewWeb 4. Could you help me out with some pointers or possible<br>
> workarounds for these problems.<br>
><br>
> 1. Camera View being reset<br>
> The camera orientation and position are always being reset after<br>
> performing different operations, such as:<br>
> -Activating/De-activating the scalarbar<br>
> -Choosing between point/face data for the ColorBy selection<br>
> -Adding a filter into the current pipeline<br>
> -Rescaling<br>
> -advancing to the next file/time-step in the Data Source.<br>
><br>
> 2. Background other than black<br>
> This happens when a background of a different colour, for example a<br>
> gradient of white and grey is chosen. If I alter the camera position or<br>
> orientation, this background (which is in this case represented by a<br>
> rectangle with the selected colours) can move out of the field-of view,<br>
> it does not stay in a fixed position relative to the camera meaning the<br>
> black regular background is in most part visible.<br>
><br>
> Both issues happen only when using the WebGL renderer. When switching to<br>
> the software renderer, the behaviour is as expected.<br>
><br>
> Kind Regards,<br>
> Bogdan<br>
><br>
> --<br>
> Bogdan Daqui<br>
> Software Development<br>
><br>
> SimScale GmbH<br>
> Lichtenbergstraße 8<br>
> 85748 Garching bei München<br>
><br>
</div></div><div class="im">> Phone: <a href="tel:%2B49%20%280%2989%203398%204078" value="+498933984078">+49 (0)89 3398 4078</a> <tel:%2B49%20%280%2989%203398%204078><br>
</div>> Email: <a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> <mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>><br>
<div class="im">><br>
> Amtsgericht München, HRB 201813<br>
> Geschäftsführer: Vincenz Dölle & David Heiny<br>
><br>
> <a href="http://www.simscale.de" target="_blank">http://www.simscale.de</a><br>
> _______________________________________________<br>
</div>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a> <<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>><br>
<div class="HOEnZb"><div class="h5">><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at:<br>
> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
><br>
><br>
</div></div></blockquote></div><br></div>