Are there any tutorials on how to get started with Paraview Web? I have some files/projects created with Paraview Desktop that I would like to convert to Paraview Web but don’t know where or how to get started. I have downloaded vtk-js-master, visualiser-master, arctic-view-master, light-viz-master, and paraviewweb-master zip files. Ideally I would like to be able to view/visualize my results in a web format for portability (with some functionality) without having to open up Paraview Desktop.
The documentation of each project is available on their respective website.
- https://kitware.github.io/vtk-js/
- https://kitware.github.io/paraviewweb/
- https://kitware.github.io/visualizer/
- https://kitware.github.io/light-viz/
But base on your comment, you are looking at a way to export your data in a format that will allow your browser to open them. If that’s the case, you can look at that example in vtk.js which offer a ParaView macro.
Or if you export a *.vtp or *.vti file, you can load them with the Geometry viewer or Volume viewer.
The ParaViewWeb framework is more an infrastructure to drive ParaView remotely via a web interface (Visualizer/LightViz) where the server is actually running ParaView and rendering your data remotely.
HTH,
Seb
Thanks for the quick response. Is it possible drive Paraview via a web interface all on the same machine (like a laptop for instance)? The reason why I am asking is because I often pass my work on to others who present the results but are not necessarily software savy enough to use Paraview Desktop. I would like them to be able to visualize the results with a few commonly used filters (e.g. isovolume, slice). As for the Geometry / Volume viewer, do I copy the Source code and save it as a .py file and load it into Paraview as a macro? If it is .html, is it the complete source code for a webpage? I’m an EE so js and html are not my forte.
Yes it is possible to run a ParaViewWeb application directly on the same machine. You can play with Visualizer locally by running the command line described here
For the Geometry/Volume Viewers you can download a standalone html file that you can use from your desktop (no network needed) here/Geometry and here/Volume.
Then with those viewers, you can load vtp and vti files directly. Meaning you just need to export the dataset inside ParaView and use the proper file format (you may need to run an extract surface filter to have a polydata).
For the Scene Viewer, the Python file is indeed a macro that you just need to load inside ParaView. Then when you run that macro, it will generate a file capturing the current visualization so you can look at it into that other Web application.
Hi Sebastien, I’ve been playing with the idea of hosting a webpage for anyone to access that could hold the front end of ParaViewWeb and have a computer/server host the page. My idea would be to have a project dataset available and loaded anytime someone visits the website hosted on a sub-domain and then they would be able to apply a few filters to that dataset.
I’m hoping to do this a means of demoing readers and filters that I have developed for the PVGeo project using python algorithm plugins (brand new functionality in PV 5.6.0).
Do you think this would be possible? Could I create an interface for my custom python plugins for ParaViewWeb?
Definitely yes.