<div dir="ltr">Hi Bogdan,<div><br></div><div>I guess so, I'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"><<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>
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>
> You can probably download any nightly binary and just get the new "www"<br>
> directory with the python code vtk/web/* + paraview/web/*.<br>
> That might just work. ;-)<br>
><br>
> Seb<br>
><br>
> PS: As you noticed, make sure you clear your browser cache.<br>
><br>
><br>
> On Mon, Dec 2, 2013 at 11:02 AM, Bogdan Daqui Herrera<br>
</div><div class="im HOEnZb">> <<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> <mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>>> wrote:<br>
><br>
> 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>
><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<br>
> 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>
> > <<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> <mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>><br>
</div><div class="HOEnZb"><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>
> > Hi Seb,<br>
> ><br>
> > I have located the file and key where the value should, I<br>
> 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<br>
> 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<br>
> values?<br>
> ><br>
> > The vtkweb.viewport.webgl.js itself is in the ParaView sources<br>
> under:<br>
> > src/VTK/Web/JavaScript/Lib/vtkweb.viewport.webgl.js, but its<br>
> contents is<br>
> > also in vtkweb-all.js, which is deployed for the web-app as<br>
> 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<br>
> 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>
> <mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> <mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>>><br>
> > > <mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> <mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>><br>
> <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<br>
> 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>
> > <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>
> <mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> <mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>>><br>
> > <mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> <mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>><br>
> <mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> <mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>>>><br>
> > ><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>
> > <<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<br>
> 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>
><br>
><br>
</div></div></blockquote></div><br></div>