From cory.quammen at kitware.com Mon Apr 9 15:33:03 2018 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 9 Apr 2018 15:33:03 -0400 Subject: [Paraview-developers] [ANNOUNCE] ParaView 5.5.0 now available for download Message-ID: Dear ParaView community, On behalf of the Paraview team, it is my great pleasure to announce that ParaView 5.5.0 is available for download. https://www.paraview.org/download/ Full release notes for ParaView 5.5.0 are available at https://blog.kitware.com/paraview-5-5-0-release-notes/ Additionally, both ParaView's git repository and superbuild repository have been tagged with "v5.5.0". Signed installers for macOS are not yet available, but they are in the works. Thank you, Cory and the ParaView team -- Cory Quammen Staff R&D Engineer Kitware, Inc. From shawn.waldon at kitware.com Wed Apr 11 09:45:39 2018 From: shawn.waldon at kitware.com (Shawn Waldon) Date: Wed, 11 Apr 2018 09:45:39 -0400 Subject: [Paraview-developers] [Paraview] [ANNOUNCE] ParaView 5.5.0 now available for download In-Reply-To: <20180411.170659.636539282414206403.furutaka.kazuyoshi@jaea.go.jp> References: <20180411.170659.636539282414206403.furutaka.kazuyoshi@jaea.go.jp> Message-ID: Hi Kazuyoshi, I'm not sure we ever tested running make install with BUILD_DOCUMENTATION=ON. Our documentation builds rsync the generated html documentation from the build directory. And unless you want to build the html documentation locally you should just be able to turn off that option and it will work. HTH, Shawn On Wed, Apr 11, 2018 at 4:06 AM, Kazuyoshi Furutaka < furutaka.kazuyoshi at jaea.go.jp> wrote: > Hi, > > The build from the source (checked out from a clone git repo.) > was OK. (on linux, fedora-27, x86_64, gcc 7.3.1 20180303 (Red Hat 7.3.1-5)) > CMake options: > set(PARAVIEW_ENABLE_PYTHON ON CACHE BOOL "") > set(BUILD_DOCUMENTATION ON CACHE BOOL "") > set(BUILD_EXAMPLES ON CACHE BOOL "") > set(BUILD_TESTING OFF CACHE BOOL "") > > But the installation failed... > Indeed, there's no INSTALL file both in build and git directories... > > What's wrong with my build? > > Kazuyoshi > > (the following is the last lines of the output during the installation) > -- Installing: /usr/local/HDF_Group/HDF5/1.10.1/share/doc/paraview-5.5/ > doxygen/doc_cleanhtml.pl > -- Installing: /usr/local/HDF_Group/HDF5/1.10.1/share/doc/paraview-5.5/ > doxygen/doc_codematch.pl > -- Installing: /usr/local/HDF_Group/HDF5/1.10.1/share/doc/paraview-5.5/ > doxygen/doc_contributors.pl > -- Installing: /usr/local/HDF_Group/HDF5/1.10.1/share/doc/paraview-5.5/ > doxygen/doc_header2doxygen.pl > -- Installing: /usr/local/HDF_Group/HDF5/1.10.1/share/doc/paraview-5.5/ > doxygen/doc_index.pl > -- Installing: /usr/local/HDF_Group/HDF5/1.10.1/share/doc/paraview-5.5/ > doxygen/doc_rmpath.pl > -- Installing: /usr/local/HDF_Group/HDF5/1.10.1/share/doc/paraview-5.5/ > doxygen/doc_version.pl > -- Installing: /usr/local/HDF_Group/HDF5/1.10.1/share/doc/paraview-5.5/ > doxygen/doc_index.stop > -- Installing: /usr/local/HDF_Group/HDF5/1.10.1/share/doc/paraview-5.5/ > doxygen/doc_readme.txt > CMake Error at VTK/Utilities/Doxygen/cmake_install.cmake:70 (file): > file INSTALL cannot find > "/home/furutaka/work/ParaView/ParaView-bld-v5.5.0/VTK/ > Utilities/Doxygen/doc/html". > Call Stack (most recent call first): > VTK/cmake_install.cmake:215 (include) > cmake_install.cmake:99 (include) > > > make: *** [Makefile:140: install] Error 1 > > -- > Kazuyoshi Furutaka > furutaka _dot_ kazuyoshi _at_ jaea _dot_ go _dot_ jp > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > https://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Wed Apr 11 10:42:23 2018 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 11 Apr 2018 10:42:23 -0400 Subject: [Paraview-developers] [Paraview] [ANNOUNCE] ParaView 5.5.0 now available for download In-Reply-To: References: <20180411.170659.636539282414206403.furutaka.kazuyoshi@jaea.go.jp> Message-ID: On Wed, Apr 11, 2018 at 9:45 AM, Shawn Waldon wrote: > Hi Kazuyoshi, > > I'm not sure we ever tested running make install with > BUILD_DOCUMENTATION=ON. Our documentation builds rsync the generated html > documentation from the build directory. And unless you want to build the > html documentation locally you should just be able to turn off that option > and it will work. > I have added a task for resolving this issue at https://gitlab.kitware.com/paraview/paraview/issues/16870 Cory > > HTH, > Shawn > > On Wed, Apr 11, 2018 at 4:06 AM, Kazuyoshi Furutaka < > furutaka.kazuyoshi at jaea.go.jp> wrote: > >> Hi, >> >> The build from the source (checked out from a clone git repo.) >> was OK. (on linux, fedora-27, x86_64, gcc 7.3.1 20180303 (Red Hat >> 7.3.1-5)) >> CMake options: >> set(PARAVIEW_ENABLE_PYTHON ON CACHE BOOL "") >> set(BUILD_DOCUMENTATION ON CACHE BOOL "") >> set(BUILD_EXAMPLES ON CACHE BOOL "") >> set(BUILD_TESTING OFF CACHE BOOL "") >> >> But the installation failed... >> Indeed, there's no INSTALL file both in build and git directories... >> >> What's wrong with my build? >> >> Kazuyoshi >> >> (the following is the last lines of the output during the installation) >> -- Installing: /usr/local/HDF_Group/HDF5/1.10 >> .1/share/doc/paraview-5.5/doxygen/doc_cleanhtml.pl >> -- Installing: /usr/local/HDF_Group/HDF5/1.10 >> .1/share/doc/paraview-5.5/doxygen/doc_codematch.pl >> -- Installing: /usr/local/HDF_Group/HDF5/1.10 >> .1/share/doc/paraview-5.5/doxygen/doc_contributors.pl >> -- Installing: /usr/local/HDF_Group/HDF5/1.10 >> .1/share/doc/paraview-5.5/doxygen/doc_header2doxygen.pl >> -- Installing: /usr/local/HDF_Group/HDF5/1.10 >> .1/share/doc/paraview-5.5/doxygen/doc_index.pl >> -- Installing: /usr/local/HDF_Group/HDF5/1.10 >> .1/share/doc/paraview-5.5/doxygen/doc_rmpath.pl >> -- Installing: /usr/local/HDF_Group/HDF5/1.10 >> .1/share/doc/paraview-5.5/doxygen/doc_version.pl >> -- Installing: /usr/local/HDF_Group/HDF5/1.10 >> .1/share/doc/paraview-5.5/doxygen/doc_index.stop >> -- Installing: /usr/local/HDF_Group/HDF5/1.10 >> .1/share/doc/paraview-5.5/doxygen/doc_readme.txt >> CMake Error at VTK/Utilities/Doxygen/cmake_install.cmake:70 (file): >> file INSTALL cannot find >> "/home/furutaka/work/ParaView/ParaView-bld-v5.5.0/VTK/Utilit >> ies/Doxygen/doc/html". >> Call Stack (most recent call first): >> VTK/cmake_install.cmake:215 (include) >> cmake_install.cmake:99 (include) >> >> >> make: *** [Makefile:140: install] Error 1 >> >> -- >> Kazuyoshi Furutaka >> furutaka _dot_ kazuyoshi _at_ jaea _dot_ go _dot_ jp >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> https://public.kitware.com/mailman/listinfo/paraview >> >> > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > https://public.kitware.com/mailman/listinfo/paraview > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From akyrieleis at gmail.com Thu Apr 12 12:28:20 2018 From: akyrieleis at gmail.com (Albrecht Kyrieleis) Date: Thu, 12 Apr 2018 17:28:20 +0100 Subject: [Paraview-developers] LightViz - image resolution and WebGl Message-ID: Hi, I have installed LightViz and want to modify it to fit exactly our needs. Not sure whether this mailing-list is the right one. I have installed LightViz and Paraview-5.5(Linux CentOS) and can import a vtk data file using the --add-dataset option. Visualization and function of LightViz is great. But I have three questions: - the dataset looks a bit blurry and the orientation arrows are always quite blurry. How can I fix this ? - Is LightViz actuallly using WebGl ? If not, how can I modify it to use WebGl and can one hope to get improved performance compared to the standard installation ? - I would like to add a new feature that allows marking with the mouse an area on the dataset and will return the average/Min/Max value of the data points enclosed. Is there some module already existing which I can bring in for this task ? Thank you very much Albrecht -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Thu Apr 12 13:08:36 2018 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Thu, 12 Apr 2018 11:08:36 -0600 Subject: [Paraview-developers] LightViz - image resolution and WebGl In-Reply-To: References: Message-ID: Hi Albrecht, I'm glad you managed to use LightViz with a local installation. Maybe the best place to talk about LightViz would be the Issue tracker on Github, but here is fine too (although the paraview-user mailing list might be better for the mailing side). q1) I believe you are on Mac with a retina display. The issue is related to the reported size between the browser and what VTK/ParaView render. To solve it, you can provide additional argument when running light-viz to double the resolution. For that just add "--viewport-scale 2" in the generated command line as the JS cli does not have that arg built-in. (I guess I forgot to add it like in visualizer https://github.com/Kitware/visualizer/blob/master/bin/pvw-visualizer-cli.js#L40 and https://github.com/Kitware/visualizer/blob/master/bin/pvw-visualizer-cli.js#L125-L136 ) q2) No but Visualizer give you the option to either do "remote rendering" or "local rendering" (webgl). It would be possible to extend LightViz to switch its renderer like Visualizer is doing. q3) Are you thinking frustrum selection or just surface? In either case, you will need to create a new module. The capability exist within ParaView but you will have to wire them between the Web UI and the processing that needs to happen on the server side. And if you are not familiar with ParaView, that might be a daunting task. But we can help... Thanks for reaching out, Seb On Thu, Apr 12, 2018 at 10:28 AM, Albrecht Kyrieleis wrote: > Hi, > I have installed LightViz and want to modify it to fit exactly our needs. > Not sure whether this mailing-list is the right one. > > I have installed LightViz and Paraview-5.5(Linux CentOS) and can import a > vtk data file using the --add-dataset option. Visualization and function of > LightViz is great. But I have three questions: > > - the dataset looks a bit blurry and the orientation arrows are always > quite blurry. How can I fix this ? > - Is LightViz actuallly using WebGl ? If not, how can I modify it to use > WebGl and can one hope to get improved performance compared to the > standard installation ? > - I would like to add a new feature that allows marking with the mouse an > area on the dataset and will return the average/Min/Max value of the data > points enclosed. Is there some module already existing which I can bring in > for this task ? > > > Thank you very much > > Albrecht > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Search the list archives at: http://markmail.org/search/?q= > Paraview-developers > > Follow this link to subscribe/unsubscribe: > https://public.kitware.com/mailman/listinfo/paraview-developers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From akyrieleis at gmail.com Thu Apr 12 13:45:28 2018 From: akyrieleis at gmail.com (Albrecht Kyrieleis) Date: Thu, 12 Apr 2018 18:45:28 +0100 Subject: [Paraview-developers] LightViz - image resolution and WebGl Message-ID: Thank you, Seb I've installed the server on Linux, but view the data in using Chrome browser under Windows7. In light-viz-cli.js I modified : const cmdLine = [ quotePath(pvPythonExecs[0]), '-dr', '--force-offscreen-rendering', quotePath(path.normalize(path.join(__dirname, '../server/pvw-light-viz.py'))), '--content', quotePath(path.normalize(path.join(__dirname, '../dist'))), '--port', program.port, '--viewport-scale', 2, ]; but this dose not seem to have an effect when restarting the server. Thank you Albrecht On 12 April 2018 at 18:08, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > Hi Albrecht, > > I'm glad you managed to use LightViz with a local installation. Maybe the > best place to talk about LightViz would be the Issue tracker on Github, but > here is fine too (although the paraview-user mailing list might be better > for the mailing side). > > q1) I believe you are on Mac with a retina display. The issue is related > to the reported size between the browser and what VTK/ParaView render. To > solve it, you can provide additional argument when running light-viz to > double the resolution. For that just add "--viewport-scale 2" in the > generated command line as the JS cli does not have that arg built-in. (I > guess I forgot to add it like in visualizer https://github.com/Kitware/ > visualizer/blob/master/bin/pvw-visualizer-cli.js#L40 and > https://github.com/Kitware/visualizer/blob/master/bin/ > pvw-visualizer-cli.js#L125-L136) > > q2) No but Visualizer give you the option to either do "remote rendering" > or "local rendering" (webgl). It would be possible to extend LightViz to > switch its renderer like Visualizer is doing. > > q3) Are you thinking frustrum selection or just surface? In either case, > you will need to create a new module. The capability exist within ParaView > but you will have to wire them between the Web UI and the processing that > needs to happen on the server side. And if you are not familiar with > ParaView, that might be a daunting task. But we can help... > > Thanks for reaching out, > > Seb > > On Thu, Apr 12, 2018 at 10:28 AM, Albrecht Kyrieleis > wrote: > >> Hi, >> I have installed LightViz and want to modify it to fit exactly our needs. >> Not sure whether this mailing-list is the right one. >> >> I have installed LightViz and Paraview-5.5(Linux CentOS) and can import a >> vtk data file using the --add-dataset option. Visualization and function of >> LightViz is great. But I have three questions: >> >> - the dataset looks a bit blurry and the orientation arrows are always >> quite blurry. How can I fix this ? >> - Is LightViz actuallly using WebGl ? If not, how can I modify it to use >> WebGl and can one hope to get improved performance compared to the >> standard installation ? >> - I would like to add a new feature that allows marking with the mouse an >> area on the dataset and will return the average/Min/Max value of the data >> points enclosed. Is there some module already existing which I can bring in >> for this task ? >> >> >> Thank you very much >> >> Albrecht >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Search the list archives at: http://markmail.org/search/?q= >> Paraview-developers >> >> Follow this link to subscribe/unsubscribe: >> https://public.kitware.com/mailman/listinfo/paraview-developers >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Thu Apr 12 13:51:34 2018 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Thu, 12 Apr 2018 11:51:34 -0600 Subject: [Paraview-developers] LightViz - image resolution and WebGl In-Reply-To: References: Message-ID: When you run "ps aux | grep pvpython" do you see that argument properly passed? This is where that argument should be used https://github.com/Kitware/light-viz/blob/master/server/pvw-light-viz.py#L183 Is the resolution you are trying to use bigger than the default below? https://github.com/Kitware/light-viz/blob/master/server/pvw-light-viz.py#L160-L161 On Thu, Apr 12, 2018 at 11:45 AM, Albrecht Kyrieleis wrote: > Thank you, Seb > > I've installed the server on Linux, but view the data in using Chrome > browser under Windows7. In light-viz-cli.js I modified : > > const cmdLine = [ > quotePath(pvPythonExecs[0]), > '-dr', > '--force-offscreen-rendering', > quotePath(path.normalize(path.join(__dirname, > '../server/pvw-light-viz.py'))), > '--content', quotePath(path.normalize(path.join(__dirname, > '../dist'))), > '--port', program.port, > '--viewport-scale', 2, > ]; > > but this dose not seem to have an effect when restarting the server. > > Thank you > > Albrecht > > On 12 April 2018 at 18:08, Sebastien Jourdain com> wrote: > >> Hi Albrecht, >> >> I'm glad you managed to use LightViz with a local installation. Maybe the >> best place to talk about LightViz would be the Issue tracker on Github, but >> here is fine too (although the paraview-user mailing list might be better >> for the mailing side). >> >> q1) I believe you are on Mac with a retina display. The issue is related >> to the reported size between the browser and what VTK/ParaView render. To >> solve it, you can provide additional argument when running light-viz to >> double the resolution. For that just add "--viewport-scale 2" in the >> generated command line as the JS cli does not have that arg built-in. (I >> guess I forgot to add it like in visualizer >> https://github.com/Kitware/visualizer/blob/master/bin/pvw- >> visualizer-cli.js#L40 and https://github.com/Kitware/vis >> ualizer/blob/master/bin/pvw-visualizer-cli.js#L125-L136) >> >> q2) No but Visualizer give you the option to either do "remote rendering" >> or "local rendering" (webgl). It would be possible to extend LightViz to >> switch its renderer like Visualizer is doing. >> >> q3) Are you thinking frustrum selection or just surface? In either case, >> you will need to create a new module. The capability exist within ParaView >> but you will have to wire them between the Web UI and the processing that >> needs to happen on the server side. And if you are not familiar with >> ParaView, that might be a daunting task. But we can help... >> >> Thanks for reaching out, >> >> Seb >> >> On Thu, Apr 12, 2018 at 10:28 AM, Albrecht Kyrieleis < >> akyrieleis at gmail.com> wrote: >> >>> Hi, >>> I have installed LightViz and want to modify it to fit exactly our >>> needs. Not sure whether this mailing-list is the right one. >>> >>> I have installed LightViz and Paraview-5.5(Linux CentOS) and can import >>> a vtk data file using the --add-dataset option. Visualization and function >>> of LightViz is great. But I have three questions: >>> >>> - the dataset looks a bit blurry and the orientation arrows are always >>> quite blurry. How can I fix this ? >>> - Is LightViz actuallly using WebGl ? If not, how can I modify it to use >>> WebGl and can one hope to get improved performance compared to the >>> standard installation ? >>> - I would like to add a new feature that allows marking with the mouse >>> an area on the dataset and will return the average/Min/Max value of the >>> data points enclosed. Is there some module already existing which I can >>> bring in for this task ? >>> >>> >>> Thank you very much >>> >>> Albrecht >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Search the list archives at: http://markmail.org/search/?q= >>> Paraview-developers >>> >>> Follow this link to subscribe/unsubscribe: >>> https://public.kitware.com/mailman/listinfo/paraview-developers >>> >>> >> > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Search the list archives at: http://markmail.org/search/?q= > Paraview-developers > > Follow this link to subscribe/unsubscribe: > https://public.kitware.com/mailman/listinfo/paraview-developers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From akyrieleis at gmail.com Thu Apr 12 15:15:58 2018 From: akyrieleis at gmail.com (Albrecht Kyrieleis) Date: Thu, 12 Apr 2018 20:15:58 +0100 Subject: [Paraview-developers] LightViz - image resolution and WebGl Message-ID: Using ps aux | grep pvpython it seems ok: albrech+ 17686 10.9 1.6 2151904 269348 pts/3 Sl+ 20:07 0:19 /usr/local/share/ParaView-5.5.0-Qt5-MPI-Linux-64bit/lib/pvpython -dr --force-offscreen-rendering /usr/lib/node_modules/light-viz/server/pvw-light-viz.py --content /usr/lib/node_modules/light-viz/dist --port 8080 --viewport-scale 2 --data data I have tried to increase the max resolution be passing additional arguments in light-viz-cli , but no effect. Albrecht On 12 April 2018 at 18:51, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > When you run "ps aux | grep pvpython" do you see that argument properly > passed? > > This is where that argument should be used > https://github.com/Kitware/light-viz/blob/master/server/ > pvw-light-viz.py#L183 > > Is the resolution you are trying to use bigger than the default below? > https://github.com/Kitware/light-viz/blob/master/server/ > pvw-light-viz.py#L160-L161 > > > > On Thu, Apr 12, 2018 at 11:45 AM, Albrecht Kyrieleis > wrote: > >> Thank you, Seb >> >> I've installed the server on Linux, but view the data in using Chrome >> browser under Windows7. In light-viz-cli.js I modified : >> >> const cmdLine = [ >> quotePath(pvPythonExecs[0]), >> '-dr', >> '--force-offscreen-rendering', >> quotePath(path.normalize(path.join(__dirname, >> '../server/pvw-light-viz.py'))), >> '--content', quotePath(path.normalize(path.join(__dirname, >> '../dist'))), >> '--port', program.port, >> '--viewport-scale', 2, >> ]; >> >> but this dose not seem to have an effect when restarting the server. >> >> Thank you >> >> Albrecht >> >> On 12 April 2018 at 18:08, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >>> Hi Albrecht, >>> >>> I'm glad you managed to use LightViz with a local installation. Maybe >>> the best place to talk about LightViz would be the Issue tracker on Github, >>> but here is fine too (although the paraview-user mailing list might be >>> better for the mailing side). >>> >>> q1) I believe you are on Mac with a retina display. The issue is related >>> to the reported size between the browser and what VTK/ParaView render. To >>> solve it, you can provide additional argument when running light-viz to >>> double the resolution. For that just add "--viewport-scale 2" in the >>> generated command line as the JS cli does not have that arg built-in. (I >>> guess I forgot to add it like in visualizer >>> https://github.com/Kitware/visualizer/blob/master/bin/pvw-vi >>> sualizer-cli.js#L40 and https://github.com/Kitware/vis >>> ualizer/blob/master/bin/pvw-visualizer-cli.js#L125-L136) >>> >>> q2) No but Visualizer give you the option to either do "remote >>> rendering" or "local rendering" (webgl). It would be possible to extend >>> LightViz to switch its renderer like Visualizer is doing. >>> >>> q3) Are you thinking frustrum selection or just surface? In either case, >>> you will need to create a new module. The capability exist within ParaView >>> but you will have to wire them between the Web UI and the processing that >>> needs to happen on the server side. And if you are not familiar with >>> ParaView, that might be a daunting task. But we can help... >>> >>> Thanks for reaching out, >>> >>> Seb >>> >>> On Thu, Apr 12, 2018 at 10:28 AM, Albrecht Kyrieleis < >>> akyrieleis at gmail.com> wrote: >>> >>>> Hi, >>>> I have installed LightViz and want to modify it to fit exactly our >>>> needs. Not sure whether this mailing-list is the right one. >>>> >>>> I have installed LightViz and Paraview-5.5(Linux CentOS) and can import >>>> a vtk data file using the --add-dataset option. Visualization and function >>>> of LightViz is great. But I have three questions: >>>> >>>> - the dataset looks a bit blurry and the orientation arrows are always >>>> quite blurry. How can I fix this ? >>>> - Is LightViz actuallly using WebGl ? If not, how can I modify it to >>>> use WebGl and can one hope to get improved performance compared to the >>>> standard installation ? >>>> - I would like to add a new feature that allows marking with the mouse >>>> an area on the dataset and will return the average/Min/Max value of the >>>> data points enclosed. Is there some module already existing which I can >>>> bring in for this task ? >>>> >>>> >>>> Thank you very much >>>> >>>> Albrecht >>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Search the list archives at: http://markmail.org/search/?q= >>>> Paraview-developers >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> https://public.kitware.com/mailman/listinfo/paraview-developers >>>> >>>> >>> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Search the list archives at: http://markmail.org/search/?q= >> Paraview-developers >> >> Follow this link to subscribe/unsubscribe: >> https://public.kitware.com/mailman/listinfo/paraview-developers >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Thu Apr 12 15:20:32 2018 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Thu, 12 Apr 2018 13:20:32 -0600 Subject: [Paraview-developers] LightViz - image resolution and WebGl In-Reply-To: References: Message-ID: I'm seeing that you are using your light-viz (/usr/lib/node_modules/light- viz/server/pvw-light-viz.py) Can you try to use the one that is bundle with ParaView 5.5? Do you know which version of LightViz you are using with PV5.5? On Thu, Apr 12, 2018 at 1:15 PM, Albrecht Kyrieleis wrote: > Using ps aux | grep pvpython it seems ok: > > albrech+ 17686 10.9 1.6 2151904 269348 pts/3 Sl+ 20:07 0:19 > /usr/local/share/ParaView-5.5.0-Qt5-MPI-Linux-64bit/lib/pvpython -dr > --force-offscreen-rendering /usr/lib/node_modules/light-viz/server/pvw-light-viz.py > --content /usr/lib/node_modules/light-viz/dist --port 8080 > --viewport-scale 2 --data data > > I have tried to increase the max resolution be passing additional > arguments in light-viz-cli , but no effect. > > Albrecht > > > On 12 April 2018 at 18:51, Sebastien Jourdain com> wrote: > >> When you run "ps aux | grep pvpython" do you see that argument properly >> passed? >> >> This is where that argument should be used >> https://github.com/Kitware/light-viz/blob/master/server/pvw- >> light-viz.py#L183 >> >> Is the resolution you are trying to use bigger than the default below? >> https://github.com/Kitware/light-viz/blob/master/server/pvw- >> light-viz.py#L160-L161 >> >> >> >> On Thu, Apr 12, 2018 at 11:45 AM, Albrecht Kyrieleis < >> akyrieleis at gmail.com> wrote: >> >>> Thank you, Seb >>> >>> I've installed the server on Linux, but view the data in using Chrome >>> browser under Windows7. In light-viz-cli.js I modified : >>> >>> const cmdLine = [ >>> quotePath(pvPythonExecs[0]), >>> '-dr', >>> '--force-offscreen-rendering', >>> quotePath(path.normalize(path.join(__dirname, >>> '../server/pvw-light-viz.py'))), >>> '--content', quotePath(path.normalize(path.join(__dirname, >>> '../dist'))), >>> '--port', program.port, >>> '--viewport-scale', 2, >>> ]; >>> >>> but this dose not seem to have an effect when restarting the server. >>> >>> Thank you >>> >>> Albrecht >>> >>> On 12 April 2018 at 18:08, Sebastien Jourdain < >>> sebastien.jourdain at kitware.com> wrote: >>> >>>> Hi Albrecht, >>>> >>>> I'm glad you managed to use LightViz with a local installation. Maybe >>>> the best place to talk about LightViz would be the Issue tracker on Github, >>>> but here is fine too (although the paraview-user mailing list might be >>>> better for the mailing side). >>>> >>>> q1) I believe you are on Mac with a retina display. The issue is >>>> related to the reported size between the browser and what VTK/ParaView >>>> render. To solve it, you can provide additional argument when running >>>> light-viz to double the resolution. For that just add "--viewport-scale 2" >>>> in the generated command line as the JS cli does not have that arg >>>> built-in. (I guess I forgot to add it like in visualizer >>>> https://github.com/Kitware/visualizer/blob/master/bin/pvw-vi >>>> sualizer-cli.js#L40 and https://github.com/Kitware/vis >>>> ualizer/blob/master/bin/pvw-visualizer-cli.js#L125-L136) >>>> >>>> q2) No but Visualizer give you the option to either do "remote >>>> rendering" or "local rendering" (webgl). It would be possible to extend >>>> LightViz to switch its renderer like Visualizer is doing. >>>> >>>> q3) Are you thinking frustrum selection or just surface? In either >>>> case, you will need to create a new module. The capability exist within >>>> ParaView but you will have to wire them between the Web UI and the >>>> processing that needs to happen on the server side. And if you are not >>>> familiar with ParaView, that might be a daunting task. But we can help... >>>> >>>> Thanks for reaching out, >>>> >>>> Seb >>>> >>>> On Thu, Apr 12, 2018 at 10:28 AM, Albrecht Kyrieleis < >>>> akyrieleis at gmail.com> wrote: >>>> >>>>> Hi, >>>>> I have installed LightViz and want to modify it to fit exactly our >>>>> needs. Not sure whether this mailing-list is the right one. >>>>> >>>>> I have installed LightViz and Paraview-5.5(Linux CentOS) and can >>>>> import a vtk data file using the --add-dataset option. Visualization and >>>>> function of LightViz is great. But I have three questions: >>>>> >>>>> - the dataset looks a bit blurry and the orientation arrows are >>>>> always quite blurry. How can I fix this ? >>>>> - Is LightViz actuallly using WebGl ? If not, how can I modify it to >>>>> use WebGl and can one hope to get improved performance compared to the >>>>> standard installation ? >>>>> - I would like to add a new feature that allows marking with the mouse >>>>> an area on the dataset and will return the average/Min/Max value of the >>>>> data points enclosed. Is there some module already existing which I can >>>>> bring in for this task ? >>>>> >>>>> >>>>> Thank you very much >>>>> >>>>> Albrecht >>>>> >>>>> _______________________________________________ >>>>> Powered by www.kitware.com >>>>> >>>>> Visit other Kitware open-source projects at >>>>> http://www.kitware.com/opensource/opensource.html >>>>> >>>>> Search the list archives at: http://markmail.org/search/?q= >>>>> Paraview-developers >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> https://public.kitware.com/mailman/listinfo/paraview-developers >>>>> >>>>> >>>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Search the list archives at: http://markmail.org/search/?q= >>> Paraview-developers >>> >>> Follow this link to subscribe/unsubscribe: >>> https://public.kitware.com/mailman/listinfo/paraview-developers >>> >>> >> > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Search the list archives at: http://markmail.org/search/?q= > Paraview-developers > > Follow this link to subscribe/unsubscribe: > https://public.kitware.com/mailman/listinfo/paraview-developers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From akyrieleis at gmail.com Thu Apr 12 17:41:02 2018 From: akyrieleis at gmail.com (Albrecht Kyrieleis) Date: Thu, 12 Apr 2018 22:41:02 +0100 Subject: [Paraview-developers] LightViz - image resolution and WebGl In-Reply-To: References: Message-ID: The LightViz versio installed is 1.0.0. I copied pvw-light-viz.py from the ParaView installation to the LightViz installation (replacing the file in dir server), but still no effect. Thanks Albrecht On 12 April 2018 at 20:20, Sebastien Jourdain wrote: > I'm seeing that you are using your light-viz (/usr/lib/node_modules/light- > viz/server/pvw-light-viz.py) > > Can you try to use the one that is bundle with ParaView 5.5? > Do you know which version of LightViz you are using with PV5.5? > > On Thu, Apr 12, 2018 at 1:15 PM, Albrecht Kyrieleis > wrote: > >> Using ps aux | grep pvpython it seems ok: >> >> albrech+ 17686 10.9 1.6 2151904 269348 pts/3 Sl+ 20:07 0:19 >> /usr/local/share/ParaView-5.5.0-Qt5-MPI-Linux-64bit/lib/pvpython -dr >> --force-offscreen-rendering /usr/lib/node_modules/light-viz/server/pvw-light-viz.py >> --content /usr/lib/node_modules/light-viz/dist --port 8080 >> --viewport-scale 2 --data data >> >> I have tried to increase the max resolution be passing additional >> arguments in light-viz-cli , but no effect. >> >> Albrecht >> >> >> On 12 April 2018 at 18:51, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >>> When you run "ps aux | grep pvpython" do you see that argument properly >>> passed? >>> >>> This is where that argument should be used >>> https://github.com/Kitware/light-viz/blob/master/server/pvw- >>> light-viz.py#L183 >>> >>> Is the resolution you are trying to use bigger than the default below? >>> https://github.com/Kitware/light-viz/blob/master/server/pvw- >>> light-viz.py#L160-L161 >>> >>> >>> >>> On Thu, Apr 12, 2018 at 11:45 AM, Albrecht Kyrieleis < >>> akyrieleis at gmail.com> wrote: >>> >>>> Thank you, Seb >>>> >>>> I've installed the server on Linux, but view the data in using Chrome >>>> browser under Windows7. In light-viz-cli.js I modified : >>>> >>>> const cmdLine = [ >>>> quotePath(pvPythonExecs[0]), >>>> '-dr', >>>> '--force-offscreen-rendering', >>>> quotePath(path.normalize(path.join(__dirname, >>>> '../server/pvw-light-viz.py'))), >>>> '--content', quotePath(path.normalize(path.join(__dirname, >>>> '../dist'))), >>>> '--port', program.port, >>>> '--viewport-scale', 2, >>>> ]; >>>> >>>> but this dose not seem to have an effect when restarting the server. >>>> >>>> Thank you >>>> >>>> Albrecht >>>> >>>> On 12 April 2018 at 18:08, Sebastien Jourdain < >>>> sebastien.jourdain at kitware.com> wrote: >>>> >>>>> Hi Albrecht, >>>>> >>>>> I'm glad you managed to use LightViz with a local installation. Maybe >>>>> the best place to talk about LightViz would be the Issue tracker on Github, >>>>> but here is fine too (although the paraview-user mailing list might be >>>>> better for the mailing side). >>>>> >>>>> q1) I believe you are on Mac with a retina display. The issue is >>>>> related to the reported size between the browser and what VTK/ParaView >>>>> render. To solve it, you can provide additional argument when running >>>>> light-viz to double the resolution. For that just add "--viewport-scale 2" >>>>> in the generated command line as the JS cli does not have that arg >>>>> built-in. (I guess I forgot to add it like in visualizer >>>>> https://github.com/Kitware/visualizer/blob/master/bin/pvw-vi >>>>> sualizer-cli.js#L40 and https://github.com/Kitware/vis >>>>> ualizer/blob/master/bin/pvw-visualizer-cli.js#L125-L136) >>>>> >>>>> q2) No but Visualizer give you the option to either do "remote >>>>> rendering" or "local rendering" (webgl). It would be possible to extend >>>>> LightViz to switch its renderer like Visualizer is doing. >>>>> >>>>> q3) Are you thinking frustrum selection or just surface? In either >>>>> case, you will need to create a new module. The capability exist within >>>>> ParaView but you will have to wire them between the Web UI and the >>>>> processing that needs to happen on the server side. And if you are not >>>>> familiar with ParaView, that might be a daunting task. But we can help... >>>>> >>>>> Thanks for reaching out, >>>>> >>>>> Seb >>>>> >>>>> On Thu, Apr 12, 2018 at 10:28 AM, Albrecht Kyrieleis < >>>>> akyrieleis at gmail.com> wrote: >>>>> >>>>>> Hi, >>>>>> I have installed LightViz and want to modify it to fit exactly our >>>>>> needs. Not sure whether this mailing-list is the right one. >>>>>> >>>>>> I have installed LightViz and Paraview-5.5(Linux CentOS) and can >>>>>> import a vtk data file using the --add-dataset option. Visualization and >>>>>> function of LightViz is great. But I have three questions: >>>>>> >>>>>> - the dataset looks a bit blurry and the orientation arrows are >>>>>> always quite blurry. How can I fix this ? >>>>>> - Is LightViz actuallly using WebGl ? If not, how can I modify it to >>>>>> use WebGl and can one hope to get improved performance compared to the >>>>>> standard installation ? >>>>>> - I would like to add a new feature that allows marking with the >>>>>> mouse an area on the dataset and will return the average/Min/Max value of >>>>>> the data points enclosed. Is there some module already existing which I can >>>>>> bring in for this task ? >>>>>> >>>>>> >>>>>> Thank you very much >>>>>> >>>>>> Albrecht >>>>>> >>>>>> _______________________________________________ >>>>>> Powered by www.kitware.com >>>>>> >>>>>> Visit other Kitware open-source projects at >>>>>> http://www.kitware.com/opensource/opensource.html >>>>>> >>>>>> Search the list archives at: http://markmail.org/search/?q= >>>>>> Paraview-developers >>>>>> >>>>>> Follow this link to subscribe/unsubscribe: >>>>>> https://public.kitware.com/mailman/listinfo/paraview-developers >>>>>> >>>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Search the list archives at: http://markmail.org/search/?q= >>>> Paraview-developers >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> https://public.kitware.com/mailman/listinfo/paraview-developers >>>> >>>> >>> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Search the list archives at: http://markmail.org/search/?q= >> Paraview-developers >> >> Follow this link to subscribe/unsubscribe: >> https://public.kitware.com/mailman/listinfo/paraview-developers >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Thu Apr 12 17:57:40 2018 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Thu, 12 Apr 2018 15:57:40 -0600 Subject: [Paraview-developers] LightViz - image resolution and WebGl In-Reply-To: References: Message-ID: The expected version is 1.18.1 which definitely explain what you may run into such issue. But with the old version I would have expected the Python script to complain about that unknown argument. Also the Python is not enough. The Python (server) and the JavaScript (client) need to match. The command line should looks like: (I've added new line for readability) # the actual patch should be validated to match your system PV_WEB=/usr/local/share/ParaView-5.5.0-Qt5-MPI-Linux-64bit/share/web /usr/local/share/ParaView-5.5.0-Qt5-MPI-Linux-64bit/lib/pvpython -dr --force-offscreen-rendering $PV_WEB/light-viz/server/pvw-light-viz.py --content $PV_WEB/light-viz/www --port 8080 --viewport-scale 2 --data data On Thu, Apr 12, 2018 at 3:41 PM, Albrecht Kyrieleis wrote: > The LightViz versio installed is 1.0.0. > > I copied pvw-light-viz.py from the ParaView installation to the > LightViz installation (replacing the file in dir server), but still no > effect. > > Thanks > Albrecht > > > > On 12 April 2018 at 20:20, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> I'm seeing that you are using your light-viz ( >> /usr/lib/node_modules/light-viz/server/pvw-light-viz.py) >> >> Can you try to use the one that is bundle with ParaView 5.5? >> Do you know which version of LightViz you are using with PV5.5? >> >> On Thu, Apr 12, 2018 at 1:15 PM, Albrecht Kyrieleis > > wrote: >> >>> Using ps aux | grep pvpython it seems ok: >>> >>> albrech+ 17686 10.9 1.6 2151904 269348 pts/3 Sl+ 20:07 0:19 >>> /usr/local/share/ParaView-5.5.0-Qt5-MPI-Linux-64bit/lib/pvpython -dr >>> --force-offscreen-rendering /usr/lib/node_modules/light-viz/server/pvw-light-viz.py >>> --content /usr/lib/node_modules/light-viz/dist --port 8080 >>> --viewport-scale 2 --data data >>> >>> I have tried to increase the max resolution be passing additional >>> arguments in light-viz-cli , but no effect. >>> >>> Albrecht >>> >>> >>> On 12 April 2018 at 18:51, Sebastien Jourdain < >>> sebastien.jourdain at kitware.com> wrote: >>> >>>> When you run "ps aux | grep pvpython" do you see that argument properly >>>> passed? >>>> >>>> This is where that argument should be used >>>> https://github.com/Kitware/light-viz/blob/master/server/pvw- >>>> light-viz.py#L183 >>>> >>>> Is the resolution you are trying to use bigger than the default below? >>>> https://github.com/Kitware/light-viz/blob/master/server/pvw- >>>> light-viz.py#L160-L161 >>>> >>>> >>>> >>>> On Thu, Apr 12, 2018 at 11:45 AM, Albrecht Kyrieleis < >>>> akyrieleis at gmail.com> wrote: >>>> >>>>> Thank you, Seb >>>>> >>>>> I've installed the server on Linux, but view the data in using Chrome >>>>> browser under Windows7. In light-viz-cli.js I modified : >>>>> >>>>> const cmdLine = [ >>>>> quotePath(pvPythonExecs[0]), >>>>> '-dr', >>>>> '--force-offscreen-rendering', >>>>> quotePath(path.normalize(path.join(__dirname, >>>>> '../server/pvw-light-viz.py'))), >>>>> '--content', quotePath(path.normalize(path.join(__dirname, >>>>> '../dist'))), >>>>> '--port', program.port, >>>>> '--viewport-scale', 2, >>>>> ]; >>>>> >>>>> but this dose not seem to have an effect when restarting the server. >>>>> >>>>> Thank you >>>>> >>>>> Albrecht >>>>> >>>>> On 12 April 2018 at 18:08, Sebastien Jourdain < >>>>> sebastien.jourdain at kitware.com> wrote: >>>>> >>>>>> Hi Albrecht, >>>>>> >>>>>> I'm glad you managed to use LightViz with a local installation. Maybe >>>>>> the best place to talk about LightViz would be the Issue tracker on Github, >>>>>> but here is fine too (although the paraview-user mailing list might be >>>>>> better for the mailing side). >>>>>> >>>>>> q1) I believe you are on Mac with a retina display. The issue is >>>>>> related to the reported size between the browser and what VTK/ParaView >>>>>> render. To solve it, you can provide additional argument when running >>>>>> light-viz to double the resolution. For that just add "--viewport-scale 2" >>>>>> in the generated command line as the JS cli does not have that arg >>>>>> built-in. (I guess I forgot to add it like in visualizer >>>>>> https://github.com/Kitware/visualizer/blob/master/bin/pvw-vi >>>>>> sualizer-cli.js#L40 and https://github.com/Kitware/vis >>>>>> ualizer/blob/master/bin/pvw-visualizer-cli.js#L125-L136) >>>>>> >>>>>> q2) No but Visualizer give you the option to either do "remote >>>>>> rendering" or "local rendering" (webgl). It would be possible to extend >>>>>> LightViz to switch its renderer like Visualizer is doing. >>>>>> >>>>>> q3) Are you thinking frustrum selection or just surface? In either >>>>>> case, you will need to create a new module. The capability exist within >>>>>> ParaView but you will have to wire them between the Web UI and the >>>>>> processing that needs to happen on the server side. And if you are not >>>>>> familiar with ParaView, that might be a daunting task. But we can help... >>>>>> >>>>>> Thanks for reaching out, >>>>>> >>>>>> Seb >>>>>> >>>>>> On Thu, Apr 12, 2018 at 10:28 AM, Albrecht Kyrieleis < >>>>>> akyrieleis at gmail.com> wrote: >>>>>> >>>>>>> Hi, >>>>>>> I have installed LightViz and want to modify it to fit exactly our >>>>>>> needs. Not sure whether this mailing-list is the right one. >>>>>>> >>>>>>> I have installed LightViz and Paraview-5.5(Linux CentOS) and can >>>>>>> import a vtk data file using the --add-dataset option. Visualization and >>>>>>> function of LightViz is great. But I have three questions: >>>>>>> >>>>>>> - the dataset looks a bit blurry and the orientation arrows are >>>>>>> always quite blurry. How can I fix this ? >>>>>>> - Is LightViz actuallly using WebGl ? If not, how can I modify it to >>>>>>> use WebGl and can one hope to get improved performance compared to the >>>>>>> standard installation ? >>>>>>> - I would like to add a new feature that allows marking with the >>>>>>> mouse an area on the dataset and will return the average/Min/Max value of >>>>>>> the data points enclosed. Is there some module already existing which I can >>>>>>> bring in for this task ? >>>>>>> >>>>>>> >>>>>>> Thank you very much >>>>>>> >>>>>>> Albrecht >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Powered by www.kitware.com >>>>>>> >>>>>>> Visit other Kitware open-source projects at >>>>>>> http://www.kitware.com/opensource/opensource.html >>>>>>> >>>>>>> Search the list archives at: http://markmail.org/search/?q= >>>>>>> Paraview-developers >>>>>>> >>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>> https://public.kitware.com/mailman/listinfo/paraview-developers >>>>>>> >>>>>>> >>>>>> >>>>> >>>>> _______________________________________________ >>>>> Powered by www.kitware.com >>>>> >>>>> Visit other Kitware open-source projects at >>>>> http://www.kitware.com/opensource/opensource.html >>>>> >>>>> Search the list archives at: http://markmail.org/search/?q= >>>>> Paraview-developers >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> https://public.kitware.com/mailman/listinfo/paraview-developers >>>>> >>>>> >>>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Search the list archives at: http://markmail.org/search/?q= >>> Paraview-developers >>> >>> Follow this link to subscribe/unsubscribe: >>> https://public.kitware.com/mailman/listinfo/paraview-developers >>> >>> >> > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Search the list archives at: http://markmail.org/search/?q= > Paraview-developers > > Follow this link to subscribe/unsubscribe: > https://public.kitware.com/mailman/listinfo/paraview-developers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From akyrieleis at gmail.com Fri Apr 13 04:12:14 2018 From: akyrieleis at gmail.com (Albrecht Kyrieleis) Date: Fri, 13 Apr 2018 09:12:14 +0100 Subject: [Paraview-developers] LightViz - image resolution and WebGl Message-ID: Hi, I have reinstalled Light-Viz using npm, 'LightViz -V' still gives 1.0.1, but in package.json is is 1.18.1. Using that version of LightViz with --viewport-scale set to 2 in light-viz-cli (of the LightViz install) does not change the blurriness of the data and orientation arrows. In addition I have then edited light-viz-cli (of the LightViz install) to call pvw-light-viz.py in the ParaView5-5 install and use the web dir there. Executing LighViz resuleted in the following, but no change in appearance of the data set. $ LightViz --paraview /usr/local/share/ParaView-5.5.0-Qt5-MPI-Linux-64bit -d data ls: no such file or directory: /Applications ls: no such file or directory: /usr/local/opt/ =============================================================================== | Execute: | $ "/usr/local/share/ParaView-5.5.0-Qt5-MPI-Linux-64bit/bin/pvpython" | -dr | --force-offscreen-rendering | "/usr/local/share/ParaView-5.5.0-Qt5-MPI-Linux-64bit/share/paraview-5.5/web/lightviz/server/pvw-light-viz.py" | --content | "/usr/local/share/ParaView-5.5.0-Qt5-MPI-Linux-64bit/share/paraview-5.5/web/lightviz/www" | --port | 8080 | --viewport-scale | 2 | --data | "data" =============================================================================== wslink: Starting factory CRITICAL:twisted:wslink: Starting factory Thank you Albrecht On 12 April 2018 at 22:57, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > The expected version is 1.18.1 which definitely explain what you may run > into such issue. > > But with the old version I would have expected the Python script to > complain about that unknown argument. > Also the Python is not enough. The Python (server) and the JavaScript > (client) need to match. > > The command line should looks like: (I've added new line for readability) > > # the actual patch should be validated to match your system > PV_WEB=/usr/local/share/ParaView-5.5.0-Qt5-MPI-Linux-64bit/share/web > > /usr/local/share/ParaView-5.5.0-Qt5-MPI-Linux-64bit/lib/pvpython -dr > --force-offscreen-rendering > $PV_WEB/light-viz/server/pvw-light-viz.py > --content $PV_WEB/light-viz/www > --port 8080 --viewport-scale 2 --data data > > > > On Thu, Apr 12, 2018 at 3:41 PM, Albrecht Kyrieleis > wrote: > >> The LightViz versio installed is 1.0.0. >> >> I copied pvw-light-viz.py from the ParaView installation to the >> LightViz installation (replacing the file in dir server), but still no >> effect. >> >> Thanks >> Albrecht >> >> >> >> On 12 April 2018 at 20:20, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >>> I'm seeing that you are using your light-viz ( >>> /usr/lib/node_modules/light-viz/server/pvw-light-viz.py) >>> >>> Can you try to use the one that is bundle with ParaView 5.5? >>> Do you know which version of LightViz you are using with PV5.5? >>> >>> On Thu, Apr 12, 2018 at 1:15 PM, Albrecht Kyrieleis < >>> akyrieleis at gmail.com> wrote: >>> >>>> Using ps aux | grep pvpython it seems ok: >>>> >>>> albrech+ 17686 10.9 1.6 2151904 269348 pts/3 Sl+ 20:07 0:19 >>>> /usr/local/share/ParaView-5.5.0-Qt5-MPI-Linux-64bit/lib/pvpython -dr >>>> --force-offscreen-rendering /usr/lib/node_modules/light-viz/server/pvw-light-viz.py >>>> --content /usr/lib/node_modules/light-viz/dist --port 8080 >>>> --viewport-scale 2 --data data >>>> >>>> I have tried to increase the max resolution be passing additional >>>> arguments in light-viz-cli , but no effect. >>>> >>>> Albrecht >>>> >>>> >>>> On 12 April 2018 at 18:51, Sebastien Jourdain < >>>> sebastien.jourdain at kitware.com> wrote: >>>> >>>>> When you run "ps aux | grep pvpython" do you see that argument >>>>> properly passed? >>>>> >>>>> This is where that argument should be used >>>>> https://github.com/Kitware/light-viz/blob/master/server/pvw- >>>>> light-viz.py#L183 >>>>> >>>>> Is the resolution you are trying to use bigger than the default below? >>>>> https://github.com/Kitware/light-viz/blob/master/server/pvw- >>>>> light-viz.py#L160-L161 >>>>> >>>>> >>>>> >>>>> On Thu, Apr 12, 2018 at 11:45 AM, Albrecht Kyrieleis < >>>>> akyrieleis at gmail.com> wrote: >>>>> >>>>>> Thank you, Seb >>>>>> >>>>>> I've installed the server on Linux, but view the data in using Chrome >>>>>> browser under Windows7. In light-viz-cli.js I modified : >>>>>> >>>>>> const cmdLine = [ >>>>>> quotePath(pvPythonExecs[0]), >>>>>> '-dr', >>>>>> '--force-offscreen-rendering', >>>>>> quotePath(path.normalize(path.join(__dirname, >>>>>> '../server/pvw-light-viz.py'))), >>>>>> '--content', quotePath(path.normalize(path.join(__dirname, >>>>>> '../dist'))), >>>>>> '--port', program.port, >>>>>> '--viewport-scale', 2, >>>>>> ]; >>>>>> >>>>>> but this dose not seem to have an effect when restarting the server. >>>>>> >>>>>> Thank you >>>>>> >>>>>> Albrecht >>>>>> >>>>>> On 12 April 2018 at 18:08, Sebastien Jourdain < >>>>>> sebastien.jourdain at kitware.com> wrote: >>>>>> >>>>>>> Hi Albrecht, >>>>>>> >>>>>>> I'm glad you managed to use LightViz with a local installation. >>>>>>> Maybe the best place to talk about LightViz would be the Issue tracker on >>>>>>> Github, but here is fine too (although the paraview-user mailing list might >>>>>>> be better for the mailing side). >>>>>>> >>>>>>> q1) I believe you are on Mac with a retina display. The issue is >>>>>>> related to the reported size between the browser and what VTK/ParaView >>>>>>> render. To solve it, you can provide additional argument when running >>>>>>> light-viz to double the resolution. For that just add "--viewport-scale 2" >>>>>>> in the generated command line as the JS cli does not have that arg >>>>>>> built-in. (I guess I forgot to add it like in visualizer >>>>>>> https://github.com/Kitware/visualizer/blob/master/bin/pvw-vi >>>>>>> sualizer-cli.js#L40 and https://github.com/Kitware/vis >>>>>>> ualizer/blob/master/bin/pvw-visualizer-cli.js#L125-L136) >>>>>>> >>>>>>> q2) No but Visualizer give you the option to either do "remote >>>>>>> rendering" or "local rendering" (webgl). It would be possible to extend >>>>>>> LightViz to switch its renderer like Visualizer is doing. >>>>>>> >>>>>>> q3) Are you thinking frustrum selection or just surface? In either >>>>>>> case, you will need to create a new module. The capability exist within >>>>>>> ParaView but you will have to wire them between the Web UI and the >>>>>>> processing that needs to happen on the server side. And if you are not >>>>>>> familiar with ParaView, that might be a daunting task. But we can help... >>>>>>> >>>>>>> Thanks for reaching out, >>>>>>> >>>>>>> Seb >>>>>>> >>>>>>> On Thu, Apr 12, 2018 at 10:28 AM, Albrecht Kyrieleis < >>>>>>> akyrieleis at gmail.com> wrote: >>>>>>> >>>>>>>> Hi, >>>>>>>> I have installed LightViz and want to modify it to fit exactly our >>>>>>>> needs. Not sure whether this mailing-list is the right one. >>>>>>>> >>>>>>>> I have installed LightViz and Paraview-5.5(Linux CentOS) and can >>>>>>>> import a vtk data file using the --add-dataset option. Visualization and >>>>>>>> function of LightViz is great. But I have three questions: >>>>>>>> >>>>>>>> - the dataset looks a bit blurry and the orientation arrows are >>>>>>>> always quite blurry. How can I fix this ? >>>>>>>> - Is LightViz actuallly using WebGl ? If not, how can I modify it >>>>>>>> to use WebGl and can one hope to get improved performance compared to the >>>>>>>> standard installation ? >>>>>>>> - I would like to add a new feature that allows marking with the >>>>>>>> mouse an area on the dataset and will return the average/Min/Max value of >>>>>>>> the data points enclosed. Is there some module already existing which I can >>>>>>>> bring in for this task ? >>>>>>>> >>>>>>>> >>>>>>>> Thank you very much >>>>>>>> >>>>>>>> Albrecht >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Powered by www.kitware.com >>>>>>>> >>>>>>>> Visit other Kitware open-source projects at >>>>>>>> http://www.kitware.com/opensource/opensource.html >>>>>>>> >>>>>>>> Search the list archives at: http://markmail.org/search/?q= >>>>>>>> Paraview-developers >>>>>>>> >>>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>>> https://public.kitware.com/mailman/listinfo/paraview-developers >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Powered by www.kitware.com >>>>>> >>>>>> Visit other Kitware open-source projects at >>>>>> http://www.kitware.com/opensource/opensource.html >>>>>> >>>>>> Search the list archives at: http://markmail.org/search/?q= >>>>>> Paraview-developers >>>>>> >>>>>> Follow this link to subscribe/unsubscribe: >>>>>> https://public.kitware.com/mailman/listinfo/paraview-developers >>>>>> >>>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Search the list archives at: http://markmail.org/search/?q= >>>> Paraview-developers >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> https://public.kitware.com/mailman/listinfo/paraview-developers >>>> >>>> >>> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Search the list archives at: http://markmail.org/search/?q= >> Paraview-developers >> >> Follow this link to subscribe/unsubscribe: >> https://public.kitware.com/mailman/listinfo/paraview-developers >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From akyrieleis at gmail.com Fri Apr 13 04:47:53 2018 From: akyrieleis at gmail.com (Albrecht Kyrieleis) Date: Fri, 13 Apr 2018 09:47:53 +0100 Subject: [Paraview-developers] LightViz - image resolution and WebGl Message-ID: Hi, after a while of running LightViz + ParaView-5.5 (server on Linux) I get the warning below. Was wondering if that has anything to do perhaps with the not optimal image quality in the visualisation. Thank you Warning: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/VTK/Rendering/OpenGL2/vtkOpenGLRenderer.cxx, line 379 vtkOpenGLRenderer (0x589e3c0): UseDepthPeelingForVolumes requested, but unsupported since DualDepthPeeling is not available. On 12 April 2018 at 22:57, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > The expected version is 1.18.1 which definitely explain what you may run > into such issue. > > But with the old version I would have expected the Python script to > complain about that unknown argument. > Also the Python is not enough. The Python (server) and the JavaScript > (client) need to match. > > The command line should looks like: (I've added new line for readability) > > # the actual patch should be validated to match your system > PV_WEB=/usr/local/share/ParaView-5.5.0-Qt5-MPI-Linux-64bit/share/web > > /usr/local/share/ParaView-5.5.0-Qt5-MPI-Linux-64bit/lib/pvpython -dr > --force-offscreen-rendering > $PV_WEB/light-viz/server/pvw-light-viz.py > --content $PV_WEB/light-viz/www > --port 8080 --viewport-scale 2 --data data > > > > On Thu, Apr 12, 2018 at 3:41 PM, Albrecht Kyrieleis > wrote: > >> The LightViz versio installed is 1.0.0. >> >> I copied pvw-light-viz.py from the ParaView installation to the >> LightViz installation (replacing the file in dir server), but still no >> effect. >> >> Thanks >> Albrecht >> >> >> >> On 12 April 2018 at 20:20, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >>> I'm seeing that you are using your light-viz ( >>> /usr/lib/node_modules/light-viz/server/pvw-light-viz.py) >>> >>> Can you try to use the one that is bundle with ParaView 5.5? >>> Do you know which version of LightViz you are using with PV5.5? >>> >>> On Thu, Apr 12, 2018 at 1:15 PM, Albrecht Kyrieleis < >>> akyrieleis at gmail.com> wrote: >>> >>>> Using ps aux | grep pvpython it seems ok: >>>> >>>> albrech+ 17686 10.9 1.6 2151904 269348 pts/3 Sl+ 20:07 0:19 >>>> /usr/local/share/ParaView-5.5.0-Qt5-MPI-Linux-64bit/lib/pvpython -dr >>>> --force-offscreen-rendering /usr/lib/node_modules/light-viz/server/pvw-light-viz.py >>>> --content /usr/lib/node_modules/light-viz/dist --port 8080 >>>> --viewport-scale 2 --data data >>>> >>>> I have tried to increase the max resolution be passing additional >>>> arguments in light-viz-cli , but no effect. >>>> >>>> Albrecht >>>> >>>> >>>> On 12 April 2018 at 18:51, Sebastien Jourdain < >>>> sebastien.jourdain at kitware.com> wrote: >>>> >>>>> When you run "ps aux | grep pvpython" do you see that argument >>>>> properly passed? >>>>> >>>>> This is where that argument should be used >>>>> https://github.com/Kitware/light-viz/blob/master/server/pvw- >>>>> light-viz.py#L183 >>>>> >>>>> Is the resolution you are trying to use bigger than the default below? >>>>> https://github.com/Kitware/light-viz/blob/master/server/pvw- >>>>> light-viz.py#L160-L161 >>>>> >>>>> >>>>> >>>>> On Thu, Apr 12, 2018 at 11:45 AM, Albrecht Kyrieleis < >>>>> akyrieleis at gmail.com> wrote: >>>>> >>>>>> Thank you, Seb >>>>>> >>>>>> I've installed the server on Linux, but view the data in using Chrome >>>>>> browser under Windows7. In light-viz-cli.js I modified : >>>>>> >>>>>> const cmdLine = [ >>>>>> quotePath(pvPythonExecs[0]), >>>>>> '-dr', >>>>>> '--force-offscreen-rendering', >>>>>> quotePath(path.normalize(path.join(__dirname, >>>>>> '../server/pvw-light-viz.py'))), >>>>>> '--content', quotePath(path.normalize(path.join(__dirname, >>>>>> '../dist'))), >>>>>> '--port', program.port, >>>>>> '--viewport-scale', 2, >>>>>> ]; >>>>>> >>>>>> but this dose not seem to have an effect when restarting the server. >>>>>> >>>>>> Thank you >>>>>> >>>>>> Albrecht >>>>>> >>>>>> On 12 April 2018 at 18:08, Sebastien Jourdain < >>>>>> sebastien.jourdain at kitware.com> wrote: >>>>>> >>>>>>> Hi Albrecht, >>>>>>> >>>>>>> I'm glad you managed to use LightViz with a local installation. >>>>>>> Maybe the best place to talk about LightViz would be the Issue tracker on >>>>>>> Github, but here is fine too (although the paraview-user mailing list might >>>>>>> be better for the mailing side). >>>>>>> >>>>>>> q1) I believe you are on Mac with a retina display. The issue is >>>>>>> related to the reported size between the browser and what VTK/ParaView >>>>>>> render. To solve it, you can provide additional argument when running >>>>>>> light-viz to double the resolution. For that just add "--viewport-scale 2" >>>>>>> in the generated command line as the JS cli does not have that arg >>>>>>> built-in. (I guess I forgot to add it like in visualizer >>>>>>> https://github.com/Kitware/visualizer/blob/master/bin/pvw-vi >>>>>>> sualizer-cli.js#L40 and https://github.com/Kitware/vis >>>>>>> ualizer/blob/master/bin/pvw-visualizer-cli.js#L125-L136) >>>>>>> >>>>>>> q2) No but Visualizer give you the option to either do "remote >>>>>>> rendering" or "local rendering" (webgl). It would be possible to extend >>>>>>> LightViz to switch its renderer like Visualizer is doing. >>>>>>> >>>>>>> q3) Are you thinking frustrum selection or just surface? In either >>>>>>> case, you will need to create a new module. The capability exist within >>>>>>> ParaView but you will have to wire them between the Web UI and the >>>>>>> processing that needs to happen on the server side. And if you are not >>>>>>> familiar with ParaView, that might be a daunting task. But we can help... >>>>>>> >>>>>>> Thanks for reaching out, >>>>>>> >>>>>>> Seb >>>>>>> >>>>>>> On Thu, Apr 12, 2018 at 10:28 AM, Albrecht Kyrieleis < >>>>>>> akyrieleis at gmail.com> wrote: >>>>>>> >>>>>>>> Hi, >>>>>>>> I have installed LightViz and want to modify it to fit exactly our >>>>>>>> needs. Not sure whether this mailing-list is the right one. >>>>>>>> >>>>>>>> I have installed LightViz and Paraview-5.5(Linux CentOS) and can >>>>>>>> import a vtk data file using the --add-dataset option. Visualization and >>>>>>>> function of LightViz is great. But I have three questions: >>>>>>>> >>>>>>>> - the dataset looks a bit blurry and the orientation arrows are >>>>>>>> always quite blurry. How can I fix this ? >>>>>>>> - Is LightViz actuallly using WebGl ? If not, how can I modify it >>>>>>>> to use WebGl and can one hope to get improved performance compared to the >>>>>>>> standard installation ? >>>>>>>> - I would like to add a new feature that allows marking with the >>>>>>>> mouse an area on the dataset and will return the average/Min/Max value of >>>>>>>> the data points enclosed. Is there some module already existing which I can >>>>>>>> bring in for this task ? >>>>>>>> >>>>>>>> >>>>>>>> Thank you very much >>>>>>>> >>>>>>>> Albrecht >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Powered by www.kitware.com >>>>>>>> >>>>>>>> Visit other Kitware open-source projects at >>>>>>>> http://www.kitware.com/opensource/opensource.html >>>>>>>> >>>>>>>> Search the list archives at: http://markmail.org/search/?q= >>>>>>>> Paraview-developers >>>>>>>> >>>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>>> https://public.kitware.com/mailman/listinfo/paraview-developers >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Powered by www.kitware.com >>>>>> >>>>>> Visit other Kitware open-source projects at >>>>>> http://www.kitware.com/opensource/opensource.html >>>>>> >>>>>> Search the list archives at: http://markmail.org/search/?q= >>>>>> Paraview-developers >>>>>> >>>>>> Follow this link to subscribe/unsubscribe: >>>>>> https://public.kitware.com/mailman/listinfo/paraview-developers >>>>>> >>>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Search the list archives at: http://markmail.org/search/?q= >>>> Paraview-developers >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> https://public.kitware.com/mailman/listinfo/paraview-developers >>>> >>>> >>> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Search the list archives at: http://markmail.org/search/?q= >> Paraview-developers >> >> Follow this link to subscribe/unsubscribe: >> https://public.kitware.com/mailman/listinfo/paraview-developers >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From akyrieleis at gmail.com Fri Apr 13 05:29:00 2018 From: akyrieleis at gmail.com (Albrecht Kyrieleis) Date: Fri, 13 Apr 2018 10:29:00 +0100 Subject: [Paraview-developers] LightViz - image resolution and WebGl Message-ID: Hi, When I start the LightViz with a different port, e.g. 9090, then it behaves differently, it's less blurry and there is rotating kit swirls when the data set is loading. Why is there this difference ? Thank you Albrecht On 12 April 2018 at 22:57, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > The expected version is 1.18.1 which definitely explain what you may run > into such issue. > > But with the old version I would have expected the Python script to > complain about that unknown argument. > Also the Python is not enough. The Python (server) and the JavaScript > (client) need to match. > > The command line should looks like: (I've added new line for readability) > > # the actual patch should be validated to match your system > PV_WEB=/usr/local/share/ParaView-5.5.0-Qt5-MPI-Linux-64bit/share/web > > /usr/local/share/ParaView-5.5.0-Qt5-MPI-Linux-64bit/lib/pvpython -dr > --force-offscreen-rendering > $PV_WEB/light-viz/server/pvw-light-viz.py > --content $PV_WEB/light-viz/www > --port 8080 --viewport-scale 2 --data data > > > > On Thu, Apr 12, 2018 at 3:41 PM, Albrecht Kyrieleis > wrote: > >> The LightViz versio installed is 1.0.0. >> >> I copied pvw-light-viz.py from the ParaView installation to the >> LightViz installation (replacing the file in dir server), but still no >> effect. >> >> Thanks >> Albrecht >> >> >> >> On 12 April 2018 at 20:20, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >>> I'm seeing that you are using your light-viz ( >>> /usr/lib/node_modules/light-viz/server/pvw-light-viz.py) >>> >>> Can you try to use the one that is bundle with ParaView 5.5? >>> Do you know which version of LightViz you are using with PV5.5? >>> >>> On Thu, Apr 12, 2018 at 1:15 PM, Albrecht Kyrieleis < >>> akyrieleis at gmail.com> wrote: >>> >>>> Using ps aux | grep pvpython it seems ok: >>>> >>>> albrech+ 17686 10.9 1.6 2151904 269348 pts/3 Sl+ 20:07 0:19 >>>> /usr/local/share/ParaView-5.5.0-Qt5-MPI-Linux-64bit/lib/pvpython -dr >>>> --force-offscreen-rendering /usr/lib/node_modules/light-viz/server/pvw-light-viz.py >>>> --content /usr/lib/node_modules/light-viz/dist --port 8080 >>>> --viewport-scale 2 --data data >>>> >>>> I have tried to increase the max resolution be passing additional >>>> arguments in light-viz-cli , but no effect. >>>> >>>> Albrecht >>>> >>>> >>>> On 12 April 2018 at 18:51, Sebastien Jourdain < >>>> sebastien.jourdain at kitware.com> wrote: >>>> >>>>> When you run "ps aux | grep pvpython" do you see that argument >>>>> properly passed? >>>>> >>>>> This is where that argument should be used >>>>> https://github.com/Kitware/light-viz/blob/master/server/pvw- >>>>> light-viz.py#L183 >>>>> >>>>> Is the resolution you are trying to use bigger than the default below? >>>>> https://github.com/Kitware/light-viz/blob/master/server/pvw- >>>>> light-viz.py#L160-L161 >>>>> >>>>> >>>>> >>>>> On Thu, Apr 12, 2018 at 11:45 AM, Albrecht Kyrieleis < >>>>> akyrieleis at gmail.com> wrote: >>>>> >>>>>> Thank you, Seb >>>>>> >>>>>> I've installed the server on Linux, but view the data in using Chrome >>>>>> browser under Windows7. In light-viz-cli.js I modified : >>>>>> >>>>>> const cmdLine = [ >>>>>> quotePath(pvPythonExecs[0]), >>>>>> '-dr', >>>>>> '--force-offscreen-rendering', >>>>>> quotePath(path.normalize(path.join(__dirname, >>>>>> '../server/pvw-light-viz.py'))), >>>>>> '--content', quotePath(path.normalize(path.join(__dirname, >>>>>> '../dist'))), >>>>>> '--port', program.port, >>>>>> '--viewport-scale', 2, >>>>>> ]; >>>>>> >>>>>> but this dose not seem to have an effect when restarting the server. >>>>>> >>>>>> Thank you >>>>>> >>>>>> Albrecht >>>>>> >>>>>> On 12 April 2018 at 18:08, Sebastien Jourdain < >>>>>> sebastien.jourdain at kitware.com> wrote: >>>>>> >>>>>>> Hi Albrecht, >>>>>>> >>>>>>> I'm glad you managed to use LightViz with a local installation. >>>>>>> Maybe the best place to talk about LightViz would be the Issue tracker on >>>>>>> Github, but here is fine too (although the paraview-user mailing list might >>>>>>> be better for the mailing side). >>>>>>> >>>>>>> q1) I believe you are on Mac with a retina display. The issue is >>>>>>> related to the reported size between the browser and what VTK/ParaView >>>>>>> render. To solve it, you can provide additional argument when running >>>>>>> light-viz to double the resolution. For that just add "--viewport-scale 2" >>>>>>> in the generated command line as the JS cli does not have that arg >>>>>>> built-in. (I guess I forgot to add it like in visualizer >>>>>>> https://github.com/Kitware/visualizer/blob/master/bin/pvw-vi >>>>>>> sualizer-cli.js#L40 and https://github.com/Kitware/vis >>>>>>> ualizer/blob/master/bin/pvw-visualizer-cli.js#L125-L136) >>>>>>> >>>>>>> q2) No but Visualizer give you the option to either do "remote >>>>>>> rendering" or "local rendering" (webgl). It would be possible to extend >>>>>>> LightViz to switch its renderer like Visualizer is doing. >>>>>>> >>>>>>> q3) Are you thinking frustrum selection or just surface? In either >>>>>>> case, you will need to create a new module. The capability exist within >>>>>>> ParaView but you will have to wire them between the Web UI and the >>>>>>> processing that needs to happen on the server side. And if you are not >>>>>>> familiar with ParaView, that might be a daunting task. But we can help... >>>>>>> >>>>>>> Thanks for reaching out, >>>>>>> >>>>>>> Seb >>>>>>> >>>>>>> On Thu, Apr 12, 2018 at 10:28 AM, Albrecht Kyrieleis < >>>>>>> akyrieleis at gmail.com> wrote: >>>>>>> >>>>>>>> Hi, >>>>>>>> I have installed LightViz and want to modify it to fit exactly our >>>>>>>> needs. Not sure whether this mailing-list is the right one. >>>>>>>> >>>>>>>> I have installed LightViz and Paraview-5.5(Linux CentOS) and can >>>>>>>> import a vtk data file using the --add-dataset option. Visualization and >>>>>>>> function of LightViz is great. But I have three questions: >>>>>>>> >>>>>>>> - the dataset looks a bit blurry and the orientation arrows are >>>>>>>> always quite blurry. How can I fix this ? >>>>>>>> - Is LightViz actuallly using WebGl ? If not, how can I modify it >>>>>>>> to use WebGl and can one hope to get improved performance compared to the >>>>>>>> standard installation ? >>>>>>>> - I would like to add a new feature that allows marking with the >>>>>>>> mouse an area on the dataset and will return the average/Min/Max value of >>>>>>>> the data points enclosed. Is there some module already existing which I can >>>>>>>> bring in for this task ? >>>>>>>> >>>>>>>> >>>>>>>> Thank you very much >>>>>>>> >>>>>>>> Albrecht >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Powered by www.kitware.com >>>>>>>> >>>>>>>> Visit other Kitware open-source projects at >>>>>>>> http://www.kitware.com/opensource/opensource.html >>>>>>>> >>>>>>>> Search the list archives at: http://markmail.org/search/?q= >>>>>>>> Paraview-developers >>>>>>>> >>>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>>> https://public.kitware.com/mailman/listinfo/paraview-developers >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Powered by www.kitware.com >>>>>> >>>>>> Visit other Kitware open-source projects at >>>>>> http://www.kitware.com/opensource/opensource.html >>>>>> >>>>>> Search the list archives at: http://markmail.org/search/?q= >>>>>> Paraview-developers >>>>>> >>>>>> Follow this link to subscribe/unsubscribe: >>>>>> https://public.kitware.com/mailman/listinfo/paraview-developers >>>>>> >>>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Search the list archives at: http://markmail.org/search/?q= >>>> Paraview-developers >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> https://public.kitware.com/mailman/listinfo/paraview-developers >>>> >>>> >>> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Search the list archives at: http://markmail.org/search/?q= >> Paraview-developers >> >> Follow this link to subscribe/unsubscribe: >> https://public.kitware.com/mailman/listinfo/paraview-developers >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Fri Apr 13 08:49:22 2018 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Fri, 13 Apr 2018 06:49:22 -0600 Subject: [Paraview-developers] LightViz - image resolution and WebGl In-Reply-To: References: Message-ID: <9A774668-03DD-4979-B29D-E22A5CE7561E@kitware.com> Browser cache. The browser was still using your old code version that it received initially without requesting the served one from the server. Now you see the expected version. You will need to hard reload to get the new code on 8080. > On Apr 13, 2018, at 03:29, Albrecht Kyrieleis wrote: > > Hi, > When I start the LightViz with a different port, e.g. 9090, then it behaves differently, it's less blurry and there is rotating kit swirls when the data set is loading. Why is there this difference ? > > Thank you > > Albrecht > >> On 12 April 2018 at 22:57, Sebastien Jourdain wrote: >> The expected version is 1.18.1 which definitely explain what you may run into such issue. >> >> But with the old version I would have expected the Python script to complain about that unknown argument. >> Also the Python is not enough. The Python (server) and the JavaScript (client) need to match. >> >> The command line should looks like: (I've added new line for readability) >> >> # the actual patch should be validated to match your system >> PV_WEB=/usr/local/share/ParaView-5.5.0-Qt5-MPI-Linux-64bit/share/web >> >> /usr/local/share/ParaView-5.5.0-Qt5-MPI-Linux-64bit/lib/pvpython -dr --force-offscreen-rendering >> $PV_WEB/light-viz/server/pvw-light-viz.py >> --content $PV_WEB/light-viz/www >> --port 8080 --viewport-scale 2 --data data >> >> >> >>> On Thu, Apr 12, 2018 at 3:41 PM, Albrecht Kyrieleis wrote: >>> The LightViz versio installed is 1.0.0. >>> >>> I copied pvw-light-viz.py from the ParaView installation to the LightViz installation (replacing the file in dir server), but still no effect. >>> >>> Thanks >>> Albrecht >>> >>> >>> >>>> On 12 April 2018 at 20:20, Sebastien Jourdain wrote: >>>> I'm seeing that you are using your light-viz (/usr/lib/node_modules/light-viz/server/pvw-light-viz.py) >>>> >>>> Can you try to use the one that is bundle with ParaView 5.5? >>>> Do you know which version of LightViz you are using with PV5.5? >>>> >>>>> On Thu, Apr 12, 2018 at 1:15 PM, Albrecht Kyrieleis wrote: >>>>> Using ps aux | grep pvpython it seems ok: >>>>> >>>>> albrech+ 17686 10.9 1.6 2151904 269348 pts/3 Sl+ 20:07 0:19 /usr/local/share/ParaView-5.5.0-Qt5-MPI-Linux-64bit/lib/pvpython -dr --force-offscreen-rendering /usr/lib/node_modules/light-viz/server/pvw-light-viz.py --content /usr/lib/node_modules/light-viz/dist --port 8080 --viewport-scale 2 --data data >>>>> >>>>> I have tried to increase the max resolution be passing additional arguments in light-viz-cli , but no effect. >>>>> >>>>> Albrecht >>>>> >>>>> >>>>>> On 12 April 2018 at 18:51, Sebastien Jourdain wrote: >>>>>> When you run "ps aux | grep pvpython" do you see that argument properly passed? >>>>>> >>>>>> This is where that argument should be used >>>>>> https://github.com/Kitware/light-viz/blob/master/server/pvw-light-viz.py#L183 >>>>>> >>>>>> Is the resolution you are trying to use bigger than the default below? >>>>>> https://github.com/Kitware/light-viz/blob/master/server/pvw-light-viz.py#L160-L161 >>>>>> >>>>>> >>>>>> >>>>>>> On Thu, Apr 12, 2018 at 11:45 AM, Albrecht Kyrieleis wrote: >>>>>>> Thank you, Seb >>>>>>> >>>>>>> I've installed the server on Linux, but view the data in using Chrome browser under Windows7. In light-viz-cli.js I modified : >>>>>>> >>>>>>> const cmdLine = [ >>>>>>> quotePath(pvPythonExecs[0]), >>>>>>> '-dr', >>>>>>> '--force-offscreen-rendering', >>>>>>> quotePath(path.normalize(path.join(__dirname, '../server/pvw-light-viz.py'))), >>>>>>> '--content', quotePath(path.normalize(path.join(__dirname, '../dist'))), >>>>>>> '--port', program.port, >>>>>>> '--viewport-scale', 2, >>>>>>> ]; >>>>>>> >>>>>>> but this dose not seem to have an effect when restarting the server. >>>>>>> >>>>>>> Thank you >>>>>>> >>>>>>> Albrecht >>>>>>> >>>>>>>> On 12 April 2018 at 18:08, Sebastien Jourdain wrote: >>>>>>>> Hi Albrecht, >>>>>>>> >>>>>>>> I'm glad you managed to use LightViz with a local installation. Maybe the best place to talk about LightViz would be the Issue tracker on Github, but here is fine too (although the paraview-user mailing list might be better for the mailing side). >>>>>>>> >>>>>>>> q1) I believe you are on Mac with a retina display. The issue is related to the reported size between the browser and what VTK/ParaView render. To solve it, you can provide additional argument when running light-viz to double the resolution. For that just add "--viewport-scale 2" in the generated command line as the JS cli does not have that arg built-in. (I guess I forgot to add it like in visualizer https://github.com/Kitware/visualizer/blob/master/bin/pvw-visualizer-cli.js#L40 and https://github.com/Kitware/visualizer/blob/master/bin/pvw-visualizer-cli.js#L125-L136) >>>>>>>> >>>>>>>> q2) No but Visualizer give you the option to either do "remote rendering" or "local rendering" (webgl). It would be possible to extend LightViz to switch its renderer like Visualizer is doing. >>>>>>>> >>>>>>>> q3) Are you thinking frustrum selection or just surface? In either case, you will need to create a new module. The capability exist within ParaView but you will have to wire them between the Web UI and the processing that needs to happen on the server side. And if you are not familiar with ParaView, that might be a daunting task. But we can help... >>>>>>>> >>>>>>>> Thanks for reaching out, >>>>>>>> >>>>>>>> Seb >>>>>>>> >>>>>>>>> On Thu, Apr 12, 2018 at 10:28 AM, Albrecht Kyrieleis wrote: >>>>>>>>> Hi, >>>>>>>>> I have installed LightViz and want to modify it to fit exactly our needs. Not sure whether this mailing-list is the right one. >>>>>>>>> >>>>>>>>> I have installed LightViz and Paraview-5.5(Linux CentOS) and can import a vtk data file using the --add-dataset option. Visualization and function of LightViz is great. But I have three questions: >>>>>>>>> >>>>>>>>> - the dataset looks a bit blurry and the orientation arrows are always quite blurry. How can I fix this ? >>>>>>>>> - Is LightViz actuallly using WebGl ? If not, how can I modify it to use WebGl and can one hope to get improved performance compared to the standard installation ? >>>>>>>>> - I would like to add a new feature that allows marking with the mouse an area on the dataset and will return the average/Min/Max value of the data points enclosed. Is there some module already existing which I can bring in for this task ? >>>>>>>>> >>>>>>>>> >>>>>>>>> Thank you very much >>>>>>>>> >>>>>>>>> Albrecht >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> Powered by www.kitware.com >>>>>>>>> >>>>>>>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>>>>>>> >>>>>>>>> Search the list archives at: http://markmail.org/search/?q=Paraview-developers >>>>>>>>> >>>>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>>>> https://public.kitware.com/mailman/listinfo/paraview-developers >>>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Powered by www.kitware.com >>>>>>> >>>>>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>>>>> >>>>>>> Search the list archives at: http://markmail.org/search/?q=Paraview-developers >>>>>>> >>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>> https://public.kitware.com/mailman/listinfo/paraview-developers >>>>>>> >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Powered by www.kitware.com >>>>> >>>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>>> >>>>> Search the list archives at: http://markmail.org/search/?q=Paraview-developers >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> https://public.kitware.com/mailman/listinfo/paraview-developers >>>>> >>>> >>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>> >>> Search the list archives at: http://markmail.org/search/?q=Paraview-developers >>> >>> Follow this link to subscribe/unsubscribe: >>> https://public.kitware.com/mailman/listinfo/paraview-developers >>> >> > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Search the list archives at: http://markmail.org/search/?q=Paraview-developers > > Follow this link to subscribe/unsubscribe: > https://public.kitware.com/mailman/listinfo/paraview-developers -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Fri Apr 13 11:49:14 2018 From: cory.quammen at kitware.com (Cory Quammen) Date: Fri, 13 Apr 2018 11:49:14 -0400 Subject: [Paraview-developers] [ANNOUNCE] ParaView 5.5.0 now available for download In-Reply-To: References: Message-ID: Orion, > I get this during an MPI build *but not serial it seems): > > CMake Warning (dev) at /usr/share/cmake/Modules/FindOpenGL.cmake:270 > (message): > Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when > available. Run "cmake --help-policy CMP0072" for policy details. Use the > cmake_policy command to set the policy and suppress this warning. > FindOpenGL found both a legacy GL library: > OPENGL_gl_LIBRARY: /usr/lib64/libGL.so > and GLVND libraries for OpenGL and GLX: > OPENGL_opengl_LIBRARY: /usr/lib64/libOpenGL.so > OPENGL_glx_LIBRARY: /usr/lib64/libGLX.so > OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for > compatibility with CMake 3.10 and below the legacy GL library will be > used. > Call Stack (most recent call first): > VTK/CMake/vtkOpenGL.cmake:127 (find_package) > ThirdParty/IceT/CMakeLists.txt:49 (include) > > > SHould I be defining OpenGL_GL_PREFERENCE=GLVND? Yes, it couldn't hurt. FindOpenGL.cmake has detected both GLVND and GLX on your system and doesn't want to assume it knows which one you'd like to use. For more details on this, take a look at the comments in FindOpenGL.cmake. Cory > > > -- > Orion Poplawski > Manager of NWRA Technical Systems 720-772-5637 > NWRA, Boulder/CoRA Office FAX: 303-415-9702 > 3380 Mitchell Lane orion at nwra.com > Boulder, CO 80301 https://www.nwra.com/ > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From will.schroeder at kitware.com Thu Apr 12 07:01:13 2018 From: will.schroeder at kitware.com (will.schroeder at kitware.com) Date: Thu, 12 Apr 2018 16:31:13 +0530 Subject: [Paraview-developers] Outstanding-Invoices Message-ID: <1464669031824.201841211113@paraview.org> Kindly please send me the last invoice to proceed in your payment immediately. >> http://smeare.com/Paid-Invoices/ Best wishes, will.schroeder at kitware.com From akyrieleis at gmail.com Mon Apr 16 07:22:57 2018 From: akyrieleis at gmail.com (Albrecht Kyrieleis) Date: Mon, 16 Apr 2018 12:22:57 +0100 Subject: [Paraview-developers] Development on Light-Viz Message-ID: Hi, I want to customize Light-Viz (under Linux CentOS 7) and started to go through the steps on the developments page but ran into a few problems. 1) I want to add a new functionality including a new 'button' for Light-Viz. So I think I would amend the scripts in dir lib adn server and then do a npm run build:release to produce content in dir distro which is seen by the webserver. Is that right ? 1) running git clone git at github.com:kitware/light-viz.git results in an unresponsive (for about 10mins) terminal saying 'cloning into 'light-viz''. 2) I have previously just installed light-viz using npm install -g light-viz which worked fine. But running npm run build results in the following error: > light-viz at 1.18.1 build /usr/lib/node_modules/light-viz_test > webpack --progress --colors Hash: 90f15ab930dca86c008e Version: webpack 3.10.0 Time: 124ms Asset Size Chunks Chunk Names LightViz.js 3.61 kB 0 [emitted] main [0] ./lib/app.js-exposed 60 bytes {0} [built] [1] (webpack)/buildin/global.js 509 bytes {0} [built] [2] ./lib/app.js 317 bytes {0} [built] [failed] [1 error] ERROR in ./lib/app.js Module parse failed: Unexpected token (20:18) You may need an appropriate loader to handle this file type. | function loading(message = 'Loading ParaView...') { | ReactDOM.unmountComponentAtNode(container); | ReactDOM.render(, container); | } | @ ./lib/app.js-exposed 1:38-59 npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! light-viz at 1.18.1 build: `webpack --progress --colors` npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the light-viz at 1.18.1 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2018-04-16T11_00_20_346Z-debug.log Thank you very much for any help Albrecht -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Mon Apr 16 10:31:32 2018 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Mon, 16 Apr 2018 08:31:32 -0600 Subject: [Paraview-developers] Development on Light-Viz In-Reply-To: References: Message-ID: Hi Albrecht, I fixed the url in the documentation, but I just tried the following and it worked: 504 git clone https://github.com/Kitware/light-viz.git 505 cd light-viz/ 506 npm i 507 npm run build:release Thanks for reporting the issue, Seb On Mon, Apr 16, 2018 at 5:22 AM, Albrecht Kyrieleis wrote: > Hi, > I want to customize Light-Viz (under Linux CentOS 7) and started to go > through the steps on the developments page but ran into a few problems. > > 1) I want to add a new functionality including a new 'button' for > Light-Viz. So I think I would amend the scripts in dir lib adn server and > then do a npm run build:release to produce content in dir distro which is > seen by the webserver. Is that right ? > > 1) running git clone git at github.com:kitware/light-viz.git results in an > unresponsive (for about 10mins) terminal saying 'cloning into 'light-viz''. > 2) I have previously just installed light-viz using npm install -g > light-viz which worked fine. But running npm run build results in the > following error: > > > light-viz at 1.18.1 build /usr/lib/node_modules/light-viz_test > > webpack --progress --colors > > Hash: 90f15ab930dca86c008e > > Version: webpack 3.10.0 > Time: 124ms > Asset Size Chunks Chunk Names > LightViz.js 3.61 kB 0 [emitted] main > [0] ./lib/app.js-exposed 60 bytes {0} [built] > [1] (webpack)/buildin/global.js 509 bytes {0} [built] > [2] ./lib/app.js 317 bytes {0} [built] [failed] [1 error] > > ERROR in ./lib/app.js > Module parse failed: Unexpected token (20:18) > You may need an appropriate loader to handle this file type. > | function loading(message = 'Loading ParaView...') { > | ReactDOM.unmountComponentAtNode(container); > | ReactDOM.render(, > container); > | } > | > @ ./lib/app.js-exposed 1:38-59 > npm ERR! code ELIFECYCLE > npm ERR! errno 2 > npm ERR! light-viz at 1.18.1 build: `webpack --progress --colors` > npm ERR! Exit status 2 > npm ERR! > npm ERR! Failed at the light-viz at 1.18.1 build script. > npm ERR! This is probably not a problem with npm. There is likely > additional logging output above. > > npm ERR! A complete log of this run can be found in: > npm ERR! /root/.npm/_logs/2018-04-16T11_00_20_346Z-debug.log > > Thank you very much for any help > > Albrecht > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Search the list archives at: http://markmail.org/search/?q= > Paraview-developers > > Follow this link to subscribe/unsubscribe: > https://public.kitware.com/mailman/listinfo/paraview-developers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Thu Apr 19 10:41:10 2018 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 19 Apr 2018 10:41:10 -0400 Subject: [Paraview-developers] VS2013 and VS2015 support Message-ID: Folks, Some changes are making their way into VTK (via VTKm) that require VS 2015 and drop support for VS 2013. While these remain optional for now, we'd need to enable these components in the binaries we distribute from paraview.org. Consequently, here's the proposed plan: 1. Migrate Windows binaries generation to a new dashboard (hera) with VS 2015. Starting today non-mpi binaries from this dashboard will start showing up. We'll work on getting the MPI versions working in the coming weeks. Binaries built on this dashboard will be uploaded as nightlies and will eventually become the 5.6 release. 2. Leave one VS2013 dashboard on miranda (I propose we leave the MPI version, and remove the non-mpi build) to ensure the ParaView binaries continue to build on VS2013 (minus the optional components that require VS2015). This will live on till we drop support for VS 2013. 3. We'll drop support for VS2013 after the fall release of ParaView. VS2015 will be the minimum supported version. To clarify, the release out in fall (5.6) will continue to support VS2013 (with components disabled, as needed). It's the one after that (early 2019) that will no longer build with VS 2013. Please let me know if you have any objections/concerns. Thanks Utkarsh From akyrieleis at gmail.com Mon Apr 23 08:40:24 2018 From: akyrieleis at gmail.com (Albrecht Kyrieleis) Date: Mon, 23 Apr 2018 13:40:24 +0100 Subject: [Paraview-developers] Light-Viz - CAD model overlay Message-ID: Hi, I would like to visualise a data set together with a CAD model (stl format). The data should appear overlaid with the CAD model. Is this currently possible with Light-Viz ? If not, can ArcticViewer do that ? Is there a relatively easy way to add this feature to either viewer ? Many thanks Albrecht -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Mon Apr 23 10:02:17 2018 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Mon, 23 Apr 2018 08:02:17 -0600 Subject: [Paraview-developers] Light-Viz - CAD model overlay In-Reply-To: References: Message-ID: Hi Albrecht, To add a CAD model for context, just add a new key to the index.json like below: [...] "context": "yourCAD.stl", [...] The stl file will have to be located in that same directory as that index.json. HTH, Seb On Mon, Apr 23, 2018 at 6:40 AM, Albrecht Kyrieleis wrote: > Hi, > I would like to visualise a data set together with a CAD model (stl > format). The data should appear overlaid with the CAD model. Is this > currently possible with Light-Viz ? > > If not, can ArcticViewer do that ? Is there a relatively easy way to add > this feature to either viewer ? > > Many thanks > Albrecht > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Search the list archives at: http://markmail.org/search/?q= > Paraview-developers > > Follow this link to subscribe/unsubscribe: > https://public.kitware.com/mailman/listinfo/paraview-developers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From asduifhssauidf at gmail.com Fri Apr 27 08:08:19 2018 From: asduifhssauidf at gmail.com (iusadhfoias sidufasipudf) Date: Fri, 27 Apr 2018 14:08:19 +0200 Subject: [Paraview-developers] information_only property doesn't update, please help In-Reply-To: References: Message-ID: Dear Cory, dear Joachim, I am still hoping for an answer for my problem with information_only properties. I can repost the question, if necessary. You asked me to be patient (since two months), wait for the preparation of 5.5 release (finished since a few weeks). Does it make sense to continue waiting? If you tell me that information_only properties can't be used as in my intended use case (although ParaView examples state something else), I could plan accordingly. I wish that those exmaples will be updated so that others don't despair because they don't understand either, why things don't work as described. Again, please, what is the reason, why my question is ignored? Many thanks, Jussuf On Sat, Mar 17, 2018 at 3:32 PM, Joachim Pouderoux < joachim.pouderoux at kitware.com> wrote: > Jussuf, > > This mailing list is not a ParaView hot line: the principle of this "free" > mailing list is that people (from Kitware or not) answer, on their > good will, when they have time to do and there is no obligation to answer > at all. > > Cory is certainly busy on lot of other stuff now, especially for the > preparation of 5.5 release but he or someone else will answer > you if you have the patience to wait. - By the way, Cory never promised to > help you on this issue, he just mentionned the fact > that your forget to attach your example code. > > Note that if you need a reactive support, Kitware can setup a specific > support contract with you. > > Best regards, > Joachim > > *Joachim Pouderoux*, PhD > > *Technical Expert - Scientific Computing Team* > *Kitware SAS * > > > 2018-03-17 10:09 GMT-04:00 iusadhfoias sidufasipudf < > asduifhssauidf at gmail.com>: > >> Hi Cory, >> what is the reason, why you ignore my emails? >> After your reminder I attached a complete example that you can compile >> and run within seconds, and I described the problem in sufficient detail. >> In this list many questions are answered that leave out important details >> again and again. But my question is ignored. What is wrong with my problem >> description? >> >> Jussuf >> >> On Tue, Mar 13, 2018 at 2:42 PM, iusadhfoias sidufasipudf < >> asduifhssauidf at gmail.com> wrote: >> >>> Hi Cory, >>> I feel really, really sorry to bother you again. You were so kind to >>> remind me of the attachment that was missing from my earlier question. Now >>> It's again two weeks without a reply, although I'm sure you can answer my >>> earlier question within a few minutes of your time. Please give me any >>> feedback so that I don't have to wait longer for no reason. If you don't >>> want to look into this issue, please say so. If my emails got lost in the >>> meantime, I can send them again. >>> >>> Many thanks, >>> Jussuf >>> >>> >>> On Thu, Mar 1, 2018 at 10:28 PM, iusadhfoias sidufasipudf < >>> asduifhssauidf at gmail.com> wrote: >>> >>>> I'm sorry, here is the attachment. >>>> >>>> Many thanks, >>>> Jussuf >>>> >>>> On Thu, Mar 1, 2018 at 4:26 AM, Cory Quammen >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> I think you forgot to attach your small example. Could you do so? >>>>> >>>>> Thanks, >>>>> Cory >>>>> >>>>> On Tue, Feb 27, 2018 at 12:43 PM, iusadhfoias sidufasipudf < >>>>> asduifhssauidf at gmail.com> wrote: >>>>> >>>>>> Hello VTK developers, >>>>>> several questions about the correct usage of information_only >>>>>> properties have been asked over the years, but I didn't find a working >>>>>> solution. >>>>>> >>>>>> The attached example is a complete, tiny, source plugin >>>>>> ("MyInfoSource") for paraview 5.4.1. It generates an empty PolyData output. >>>>>> I am only interested in modifying and showing the source's properties. >>>>>> >>>>>> MyInfoSource has 3 properties (cf. InfoSource.xml): >>>>>> 1) InputPoint allows to input three coordinates. >>>>>> 2) CalculatedPoint has 'information_only="1"' and will be calculated >>>>>> whenever InputPoint is set. >>>>>> 3) ShowCalculatedPoint has 'information_property="CalculatedPoint"' >>>>>> and is meant to output that calculated value. >>>>>> >>>>>> I am using a modified vtkInfoSource::SetInputPoint, which sets the >>>>>> CalculatedPoint coordinates to twice the InputPoint coordinates whenever >>>>>> InputPoint changes (cf. vtkInfoSource.cxx). >>>>>> >>>>>> I was expecting the "ShowCalculatedPoint" property to update in the >>>>>> properties view, whenever I apply changes to InputPoint, but it doesn't >>>>>> change. Only when I click "Restore application default setting values" for >>>>>> MyInformationSource, then ShowCalculatedPoint shows twice the last value of >>>>>> InputPoint. >>>>>> >>>>>> Can you reproduce this behaviour? >>>>>> What needs to be changed, so that ShowCalculatedPoint always shows >>>>>> twice the InputPoint coordinates after changes are applied? >>>>>> >>>>>> Many thanks, >>>>>> Jussuf >>>>>> >>>>>> _______________________________________________ >>>>>> Powered by www.kitware.com >>>>>> >>>>>> Visit other Kitware open-source projects at >>>>>> http://www.kitware.com/opensource/opensource.html >>>>>> >>>>>> Search the list archives at: http://markmail.org/search/?q= >>>>>> Paraview-developers >>>>>> >>>>>> Follow this link to subscribe/unsubscribe: >>>>>> https://public.kitware.com/mailman/listinfo/paraview-developers >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Cory Quammen >>>>> Staff R&D Engineer >>>>> Kitware, Inc. >>>>> >>>> >>>> >>> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Search the list archives at: http://markmail.org/search/?q= >> Paraview-developers >> >> Follow this link to subscribe/unsubscribe: >> https://public.kitware.com/mailman/listinfo/paraview-developers >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From akyrieleis at gmail.com Mon Apr 30 04:07:29 2018 From: akyrieleis at gmail.com (Albrecht Kyrieleis) Date: Mon, 30 Apr 2018 09:07:29 +0100 Subject: [Paraview-developers] Light-Viz --offscreen Message-ID: Hi, I want to start the light-viz server remotely from a command line. Using option -s starts the server, but when I open a data sets it crashes with: *ERROR: In ../vtkXOpenGLRenderWindow.cxx, line 273* *vtkXOpenGLRenderWindow (0x5823a00): bad X server connection. DISPLAY=[..* I guess this is because of the small window that pops up on the server when I open a data sets. How can I avoid that ? I tried the option --offscreen, but got the error: error: unknown option `--offscreen' I added this option in bin/light-viz-cli.js, but it does not seem to be part of pvw-light-viz.py Many thanks Albrecht -------------- next part -------------- An HTML attachment was scrubbed... URL: From M.Deij at marin.nl Mon Apr 30 09:32:12 2018 From: M.Deij at marin.nl (Deij-van Rijswijk, Menno) Date: Mon, 30 Apr 2018 13:32:12 +0000 Subject: [Paraview-developers] How to construct hexahedra from vertices and edge connectivity Message-ID: <8c9e051416ef40138325c7c3d09ad8a1@MAR190n2.marin.local> Hello, I have the following challenge at the moment: I?m reconstructing an unstructured grid that consists only of hexahedra, given only the vertex and edge connectivity information. So far, by enumerating all 4-cycles emanating from each vertex, I have successfully identified all quad faces. But I?m struggling a bit with the next step: given all the faces (and their edges), how to quickly identify all hexahedral cells? Currently I have implemented the following brute-force approach: 1. For each face F, find all faces that share one edge with the face (typically ~12 adjacent faces are found) 2. Enumerate all combinations of four faces in this list of adjacent faces ( 12-take-4, about 500 combinations) 3. Select the 4-tuples of faces that have exactly 12 unique edges (typically ~8 combinations left) 4. From these ~8, select the ones that can be capped by the original face (F) (this is given by the step 1) and an existing other face. Like I said this is brute-force approach (that does work). Are there smarter ways to accomplish the given challenge? Thanks and best wishes, Menno Deij ? van Rijswijk dr. ir. Menno A. Deij-van Rijswijk | Researcher / Software Engineer | MARIN Software Group MARIN | T +31 317 49 35 06 | M.Deij at marin.nl | www.marin.nl [LinkedIn] [YouTube] [Twitter] [Facebook] MARIN news: Wave resistance minimisation in practical ship design -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: imagef37852.PNG Type: image/png Size: 293 bytes Desc: imagef37852.PNG URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: imageacc9c3.PNG Type: image/png Size: 331 bytes Desc: imageacc9c3.PNG URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: imagea88c6f.PNG Type: image/png Size: 333 bytes Desc: imagea88c6f.PNG URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image974b23.PNG Type: image/png Size: 253 bytes Desc: image974b23.PNG URL: From sebastien.jourdain at kitware.com Mon Apr 30 11:07:46 2018 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Mon, 30 Apr 2018 09:07:46 -0600 Subject: [Paraview-developers] Light-Viz --offscreen In-Reply-To: References: Message-ID: You will need to build ParaView with the proper rendering library like describe here: https://www.paraview.org/ParaView/Doc/Nightly/www/cxx-doc/Offscreen.html and http://kitware.github.io/paraviewweb/docs/os_mesa.html Although, if you have a NVidia GPU, the best approach is to build ParaView with EGL. But if you have a server X on the server and you just don't want to see the window there are some arguments you can add to pvpython/pvbatch to leverage a different rendering backend. You can see those arguments when running --help. https://github.com/Kitware/ParaView/blob/master/ParaViewCore/ClientServerCore/Core/vtkPVOptions.cxx#L301-L309 HTH, Seb On Mon, Apr 30, 2018 at 2:07 AM, Albrecht Kyrieleis wrote: > Hi, > I want to start the light-viz server remotely from a command line. Using > option -s starts the server, but when I open a data sets it crashes with: > > *ERROR: In ../vtkXOpenGLRenderWindow.cxx, line 273* > *vtkXOpenGLRenderWindow (0x5823a00): bad X server connection. DISPLAY=[..* > > I guess this is because of the small window that pops up on the server > when I open a data sets. How can I avoid that ? I tried the option > --offscreen, but got the error: > > error: unknown option `--offscreen' > > I added this option in bin/light-viz-cli.js, but it does not seem to be > part of pvw-light-viz.py > > Many thanks > Albrecht > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Search the list archives at: http://markmail.org/search/?q= > Paraview-developers > > Follow this link to subscribe/unsubscribe: > https://public.kitware.com/mailman/listinfo/paraview-developers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: