<div dir="ltr">1) Yes, the client code should send the proper event to the server. But that event might not be properly handle by the ParaView backend while it is for VTK.<div><br></div><div>Look at ${pv_src}/Web/Python/paraview/web/protocols.py    #ParaViewWebMouseHandler</div><div>vs ${pv_src}/VTK/Web/Python/vtk/web/protocols.py             #vtkWebMouseHandler</div><div><br></div><div>it seems the paraview one is missing:</div><div><br></div><div><div>      if event.has_key("scroll"):</div><div>            pvevent.SetScroll(event["scroll"])</div></div><div><br></div><div>Just add it to your paraview python file.</div><div><br></div><div>2) The WebGL viewer is fairly limited so I don't see much thing that can be done to fix it. But we are working on a version of VTK on the client that will allow to have very similar rendering results between the server and the client.</div><div>Once VTK.js start supporting scalar bars, we'll start migrating the code to use VTK.js for local rendering.</div><div>Otherwise, you can always try to fix the code, but first make sure the server is also properly sending the range of your scalar for building that scalar bar before trying to fix the client code.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 12, 2016 at 2:34 AM, Daniel Zuidinga <span dir="ltr"><<a href="mailto:info@seoaachen.de" target="_blank">info@seoaachen.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
I have 2 questions for paraview web (pv web visualizer).<br>
<br>
1. Can I activate mouse wheel for zooming?<br>
2. I have wrong values (0) at the legend when webgl is enabled. Can you give me a hint where to look at the code for a bugfix?<br>
<br>
regards<br>
Daniel<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaV<wbr>iew</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/paraview</a><br>
</blockquote></div><br></div>