paraviewweb icon indicating copy to clipboard operation
paraviewweb copied to clipboard

ParaViewWeb based on pvdataserver only

Open CapLek opened this issue 4 years ago • 4 comments

Is it possible to create a ParaViewWeb server deployment based on pvdataserver only? I need to have it just as a postprocessor to transform data for custom client-side rendering. Or the pvrenderingserver is a mandatory part of ParaViewWeb and the only option is to build binaries with Mesa dependency?

CapLek avatar Mar 18 '20 19:03 CapLek

So technically the pvrenderingserver is not mandatory and you can use a pre-built version of ParaView with OSMesa to do the work. Basically, you don't need to create a view and perform rendering operations. I have several pvw applications that are designed that way, where I only use the server side for data processing and the communication infrastructure to deliver either geometry or other types of data for local rendering using vtk.js or something else like a chart library.

But it is true that we can not easily create a ParaView process without each service (client, data, rendering).

jourdain avatar Mar 19 '20 09:03 jourdain

@jourdain thank you for clarification. Could you please give some guidelines on how to implement ParaViewWeb server basing on pvdataserver? I could not find any in the documentation.

CapLek avatar Mar 19 '20 16:03 CapLek

You can not run only that part. Just use pvpython from a OSMesa build that you can get for linux here

jourdain avatar Mar 19 '20 16:03 jourdain

As long you don't call simple.Show() or simple.Render(), no view will be created and no rendering will happen.

jourdain avatar Mar 19 '20 16:03 jourdain