<div dir="ltr">You can probably download any nightly binary and just get the new "www" directory with the python code vtk/web/* + paraview/web/*.<div>That might just work. ;-)</div><div><br></div><div>Seb</div><div>
<br></div><div>PS: As you noticed, make sure you clear your browser cache.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 2, 2013 at 11:02 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">Ah, that should be it. Mine is around 3-4 weeks old. I will recompile it<br>
in its entirety, but as a starting point for this particular isue, what<br>
needs to be recompiled, or is it just the javascripts that need to be<br>
updated?<br>
<br>
Bogdan<br>
<div class="im"><br>
On 02.12.2013 18:59, Sebastien Jourdain wrote:<br>
> Hum,<br>
><br>
> that should work then.<br>
> I've fixed it a week or 2 ago. Are you using the latest ParaView/master<br>
> from git?<br>
><br>
> Seb<br>
><br>
><br>
><br>
> On Mon, Dec 2, 2013 at 10:37 AM, Bogdan Daqui Herrera<br>
</div><div><div class="h5">> <<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> <mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>>> wrote:<br>
><br>
> 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>
><br>
> Kind Regards,<br>
> Bogdan<br>
><br>
><br>
> On 02.12.2013 17:56, Sebastien Jourdain wrote:<br>
> > Hi Bogdan,<br>
> ><br>
> > To fix the issue #1, you just need to add a property at the<br>
> 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<br>
> 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<br>
> <<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> <mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>><br>
</div></div><div><div class="h5">> > <mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> <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<br>
> renderer in<br>
> > ParaviewWeb 4. Could you help me out with some pointers or<br>
> 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<br>
> example a<br>
> > gradient of white and grey is chosen. If I alter the camera<br>
> position or<br>
> > orientation, this background (which is in this case<br>
> represented by a<br>
> > rectangle with the selected colours) can move out of the<br>
> field-of view,<br>
> > it does not stay in a fixed position relative to the camera<br>
> meaning the<br>
> > black regular background is in most part visible.<br>
> ><br>
> > Both issues happen only when using the WebGL renderer. When<br>
> 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>
> > Phone: <a href="tel:%2B49%20%280%2989%203398%204078" value="+498933984078">+49 (0)89 3398 4078</a><br>
> <tel:%2B49%20%280%2989%203398%204078><br>
> <tel:%2B49%20%280%2989%203398%204078><br>
> > Email: <a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> <mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>><br>
</div></div>> <mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> <mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>>><br>
<div class="HOEnZb"><div class="h5">> ><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>
> > 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>
> <<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>><br>
> ><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>
><br>
><br>
</div></div></blockquote></div><br></div>