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

Use paraview's offscreen rendering so the renderwindow doesn't pop up #44

Closed mathturtle closed 7 years ago

mathturtle commented 8 years ago

I can change it so that the renderwindow is empty by setting UseOffscreenRendering=1 when I create the view, but I don't know how to prevent the window from popping up altogether.

@TristanWright @scottwittenburg: @jourdain said you had done something like this for ERS? What am I missing?

mathturtle commented 8 years ago

@patrickoleary So the change I mentioned above is merged. It seems that the only way to remove that empty window is to compile paraview with EGL or OSMesa, which isn't really a LightViz issue anymore.

patrickoleary commented 8 years ago

This seems fine.

On Fri, Jun 24, 2016 at 11:04 AM, Shawn Waldon notifications@github.com wrote:

@patrickoleary https://github.com/patrickoleary So the change I mentioned above is merged. It seems that the only way to remove that empty window is to compile paraview with EGL or OSMesa, which isn't really a LightViz issue anymore.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Kitware/light-viz/issues/44#issuecomment-228417539, or mute the thread https://github.com/notifications/unsubscribe/ADBhsWd3NuPIdVIJh9Ch4iWCMfQAT12Tks5qPBwngaJpZM4Ipx7a .

mathturtle commented 7 years ago

So @jourdain redid this so that it uses onscreen rendering by default, but you can pass the --offscreen flag to LightViz when you start it to enable offscreen rendering. Apparently there are some cases where offscreen doesn't work that we want to support. But it is still done, so I'm closing this.