Kitware / light-viz

Scientific Visualization application for tailored post-processing relying on a ParaViewWeb backend.
https://kitware.github.io/light-viz/
BSD 3-Clause "New" or "Revised" License
20 stars 7 forks source link

Light viz on windows #77

Closed EmmanuelMadarassou closed 3 years ago

EmmanuelMadarassou commented 4 years ago

Is it possible to run light viz on windows ? I've got this error when I use light viz command line:

Capture

jourdain commented 4 years ago

I think the issue is that you need to provide the path to the ParaView to use --paraview "C:\...\paraview\".

But in general LightViz was meant to show that custom web application could be made on top of ParaView. It is not supported anymore.

EmmanuelMadarassou commented 4 years ago

Thanks for your answer. I came back on paraview 5.2 to minimize errors due to new paraview versions but now I've got this:

Capture

It pops up a window and close it immediately without doing anything else.

jourdain commented 4 years ago

Can you rerun the same command line provided without the --force-offscreen-rendering argument?

EmmanuelMadarassou commented 4 years ago

I've got this:

Capture

jourdain commented 4 years ago

ParaView 5.2 is really old and might be too old for the version of LightViz. When looking at the compatibility you can see that 5.5 is the minimum requirement. Ideally I would even go with 5.6.

EmmanuelMadarassou commented 4 years ago

Oh right I didn't look that page. I manage to make it launch but my dataset doesn't appear on the browser screen. I have already set up my dataset as the importing data section and I provide my data directory with the --data option:

Capture

Capture

On screenshots you can see that I'm using 5.5 but I did try with 5.6 and I get the same result.

jourdain commented 4 years ago

Did you try to provide the data directory up to \...\datadir\ without the geometry part?

EmmanuelMadarassou commented 4 years ago

I can select my dataset and indeed it gives me a view of my vtu with some modules on the left. But when I try basic camera interaction like hold left click to turn my geometry, it shut down the server and return this to the browser:

Capture

jourdain commented 4 years ago

What is the server log/output? Did you remove --force-offscreen-rendering like I asked you to?

EmmanuelMadarassou commented 3 years ago

Sorry I thought that now I could run the lightviz command line. It works now thanks you !