<div dir="ltr">Visualizer is another one <a href="https://github.com/kitware/visualizer">https://github.com/kitware/visualizer</a>.<div><br></div><div>Ok so the issue is that you are using the latest version of light-viz with an older version of ParaView.</div><div>So to use light-viz with your ParaView 5.4.1 you will need to use the version 1.16.5 instead of 1.17.+.</div><div><br></div><div>But the version of ParaView that you download from our web site already embed both Visualizer and LightViz that would work with it. Just at the package content.</div><div>=> <a href="https://kitware.github.io/paraviewweb/docs/architecture.html#Simplicity">https://kitware.github.io/paraviewweb/docs/architecture.html#Simplicity</a> </div><div><br></div><div>Regarding the offscreen part. If it is just for development you should skip that part or use a more recent ParaView to have that --force-offscreen-rendering.</div><div>The new infrastructure is so much better specially on Mac where before it was buggy.</div><div><br></div><div>You can download the latest ParaView with both light-viz and visualizer here: <a href="https://www.paraview.org/download/">https://www.paraview.org/download/</a></div><div>Then change the version to "Nightly".</div><div><br></div><div>Seb</div><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 25, 2018 at 6:40 AM, Sgouros, Thomas <span dir="ltr"><<a href="mailto:thomas_sgouros@brown.edu" target="_blank">thomas_sgouros@brown.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thank you, it would be lovely if you could check on that. From what I could read, the application I need to develop is probably only close to light-viz, but I figured that inspecting it and the infrastructure it sits on would be a good start. Please let me know how to get at a working version once you check it out. <div><br></div><div>Incidentally, my goal is to create a web application with only a handful of visualization options for a fairly specific class of data. Light-viz is probably overkill, even if its description seemed fairly simple. If there's a better example I could start with for working with paraviewweb, I'd love to know what it is.</div><div><div><br></div><div>Thank you!</div><div><br></div><div> -Tom</div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 24, 2018 at 10:57 PM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.<wbr>com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div></div><div>I saw you were trying to use light-viz which has some code to force the offscreen rendering. But with the latest version of Paraview the way offscreen rendering works has changed and I’m not sure (can’t remember), if we updated light-viz to properly enable offscreen with the latest paraview. It is easy to fix, but I guess, I’ll have to look and maybe push a new version. </div><div><br></div><div>Otherwise you should be able to use the binary distribution of ParaView without building it. </div><span><div><br></div><div>Seb</div><div><br>On Jan 24, 2018, at 19:53, Sgouros, Thomas <<a href="mailto:thomas_sgouros@brown.edu" target="_blank">thomas_sgouros@brown.edu</a>> wrote:<br><br></div></span><div><div class="m_-4809696061710078612h5"><blockquote type="cite"><div><div dir="ltr">Sure, I didn't mean to seem accusatory. I have to develop a paraviewweb application and want to see if I could set up a prototype paraview server on my (mac) laptop for the convenience of developing. If I can't, I can't, but the text seemed to imply there was a possibility so I soldiered on until I got stuck.<div><br></div><div>Thank you,</div><div><br></div><div> -Tom</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 24, 2018 at 4:47 PM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Tom,<br>
<br>
The page also says:<br>
<br>
"In this page, we limit ourselves to a Linux-based system. On Windows<br>
and macOS, offscreen support is available, but true headless operation<br>
is currently not widely used and hence left out of this discussion."<br>
<br>
Thus, the page is mostly for Linux where people have options of using X or not.<br>
<br>
Utkarsh<br>
<br>
<br>
On Wed, Jan 24, 2018 at 4:23 PM, Sgouros, Thomas<br>
<div class="m_-4809696061710078612m_-5194643042424093162HOEnZb"><div class="m_-4809696061710078612m_-5194643042424093162h5"><<a href="mailto:thomas_sgouros@brown.edu" target="_blank">thomas_sgouros@brown.edu</a>> wrote:<br>
> On this page:<br>
> <a href="https://www.paraview.org/ParaView/Doc/Nightly/www/cxx-doc/Offscreen.html" rel="noreferrer" target="_blank">https://www.paraview.org/ParaV<wbr>iew/Doc/Nightly/www/cxx-doc/Of<wbr>fscreen.html</a><br>
><br>
> There is this note:<br>
><br>
> Currently, ParaView supports two distinct APIs that are available for<br>
> headless operation: EGL and OSMesa (also called Offscreen Mesa). It must be<br>
> noted that headless support is a rapidly evolving area and changes are<br>
> expected in coming months. Modern H/W OpenGL implementations support EGL<br>
> while S/W (or Mesa) supports OSMesa. One has to build ParaView with specific<br>
> CMake flags changed to enable either of these APIs. Which headless API you<br>
> choose in your build depends on which OpenGL implementation you plan to use.<br>
><br>
> I thought this meant I should try to build Paraview from source. My original<br>
> question had a second part about why my build wasn't working, but I'd also<br>
> add that it's not clear how to find the OSMesa option through the superbuild<br>
> process, either.<br>
><br>
> Thank you,<br>
><br>
>  -Tom<br>
><br>
><br>
> On Wed, Jan 24, 2018 at 4:16 PM, Utkarsh Ayachit<br>
> <<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>> wrote:<br>
>><br>
>> Okay, I misspoke again :). pvpython should indeed have this command<br>
>> line option. Maybe someone with access to a mac can see why this isn't<br>
>> working. I can try out on my home mac later tonight and get back to<br>
>> you if no one responds before then.<br>
>><br>
>> On Wed, Jan 24, 2018 at 4:07 PM, Sgouros, Thomas<br>
>> <<a href="mailto:thomas_sgouros@brown.edu" target="_blank">thomas_sgouros@brown.edu</a>> wrote:<br>
>> > Thank you. I'm chasing this issue, actually. Perhaps I've misdiagnosed<br>
>> > it?<br>
>> ><br>
>> > $ LightViz --paraview /Applications/ParaView-5.4.1.a<wbr>pp --data<br>
>> > ../mat-viz-mofTFF-90L-9.1lpm-1<wbr>00rpm<br>
>> ><br>
>> ><br>
>> ><br>
>> > ==============================<wbr>==============================<wbr>===================<br>
>> ><br>
>> > | Execute:<br>
>> ><br>
>> > | $ "/Applications/ParaView-5.4.1.<wbr>app/Contents/bin/pvpython"<br>
>> ><br>
>> > | -dr<br>
>> ><br>
>> > | --force-offscreen-rendering<br>
>> ><br>
>> > | "/usr/local/lib/node_modules/l<wbr>ight-viz/server/pvw-light-viz.<wbr>py"<br>
>> ><br>
>> > | --content<br>
>> ><br>
>> > | "/usr/local/lib/node_modules/l<wbr>ight-viz/dist"<br>
>> ><br>
>> > | --port<br>
>> ><br>
>> > | 8080<br>
>> ><br>
>> > | --data<br>
>> ><br>
>> > | "../mat-viz-mofTFF-90L-9.1lpm-<wbr>100rpm"<br>
>> ><br>
>> ><br>
>> > ==============================<wbr>==============================<wbr>===================<br>
>> ><br>
>> ><br>
>> > Got unknown argument: --force-offscreen-rendering<br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > On Wed, Jan 24, 2018 at 4:02 PM, Utkarsh Ayachit<br>
>> > <<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>> wrote:<br>
>> >><br>
>> >> I misspoke. Not pvpython, the option is only available for pvserver,<br>
>> >> pvbatch and not pvpython.<br>
>> >><br>
>> >> No, XQuartz is not it. If you're logged in, you have access to the<br>
>> >> Cocoa<br>
>> >> server.<br>
>> >><br>
>> >> On Wed, Jan 24, 2018 at 3:58 PM, Sgouros, Thomas<br>
>> >> <<a href="mailto:thomas_sgouros@brown.edu" target="_blank">thomas_sgouros@brown.edu</a>> wrote:<br>
>> >> > $ /Applications/ParaView-5.4.1.a<wbr>pp/Contents/bin/pvpython<br>
>> >> > --force-offscreen-rendering<br>
>> >> > Got unknown argument: --force-offscreen-rendering<br>
>> >> ><br>
>> >> > What does "access to Cocoa" mean in this context? How would I go<br>
>> >> > about<br>
>> >> > giving it that access? All I could think of was to run the XQuartz<br>
>> >> > server at<br>
>> >> > the same time, but I don't see any way to tell pvpython to look<br>
>> >> > there.<br>
>> >> ><br>
>> >> > Thank you,<br>
>> >> ><br>
>> >> >  -Tom<br>
>> >> ><br>
>> >> > On Wed, Jan 24, 2018 at 3:36 PM, Utkarsh Ayachit<br>
>> >> > <<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>> wrote:<br>
>> >> >><br>
>> >> >> You can use `--force-offscreen-rendering` flag for standard ParaView<br>
>> >> >> builds on OsX when using pvpython/pvserver etc. It simply implies<br>
>> >> >> that<br>
>> >> >> there'll be no windows popped up for these command line executables.<br>
>> >> >> Note, ParaView still needs access to Cocoa to create OpenGL contexts<br>
>> >> >> for rendering.<br>
>> >> >><br>
>> >> >> Utkarsh<br>
>> >> >><br>
>> >> >> On Wed, Jan 24, 2018 at 3:02 PM, Sgouros, Thomas<br>
>> >> >> <<a href="mailto:thomas_sgouros@brown.edu" target="_blank">thomas_sgouros@brown.edu</a>> wrote:<br>
>> >> >> > Hello:<br>
>> >> >> ><br>
>> >> >> > The documentation seems ambiguous on the point, can anyone confirm<br>
>> >> >> > for<br>
>> >> >> > me<br>
>> >> >> > how to get a version of pvpython that runs on OS X and supports<br>
>> >> >> > the<br>
>> >> >> > --force-offscreen-rendering option?<br>
>> >> >> ><br>
>> >> >> > My reading seems to imply that I will have to compile from the<br>
>> >> >> > source,<br>
>> >> >> > but<br>
>> >> >> > I've been trying and failing to understand how to make the<br>
>> >> >> > super-build<br>
>> >> >> > process work. If someone can confirm for me that this is the way<br>
>> >> >> > forward,<br>
>> >> >> > I'd appreciate it.<br>
>> >> >> ><br>
>> >> >> > Also, when using the paraview-superbuild, when I try to install, I<br>
>> >> >> > get<br>
>> >> >> > this:<br>
>> >> >> ><br>
>> >> >> > CMake Error at<br>
>> >> >> > /../paraview-superbuild/projec<wbr>ts/apple/paraview.bundle.cmake<wbr>:8<br>
>> >> >> > (message):<br>
>> >> >> ><br>
>> >> >> >   Creating the Apple package without the GUI is not supported.<br>
>> >> >> ><br>
>> >> >> > To which superbuild option does this refer?<br>
>> >> >> ><br>
>> >> >> > Thank you,<br>
>> >> >> ><br>
>> >> >> >  -Tom<br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> > ______________________________<wbr>_________________<br>
>> >> >> > Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
>> >> >> ><br>
>> >> >> > Visit other Kitware open-source projects at<br>
>> >> >> > <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
>> >> >> ><br>
>> >> >> > Search the list archives at:<br>
>> >> >> > <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>Paraview-developers</a><br>
>> >> >> ><br>
>> >> >> > Follow this link to subscribe/unsubscribe:<br>
>> >> >> > <a href="https://paraview.org/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">https://paraview.org/mailman/l<wbr>istinfo/paraview-developers</a><br>
>> >> >> ><br>
>> >> ><br>
>> >> ><br>
>> ><br>
>> ><br>
><br>
><br>
</div></div></blockquote></div><br></div>
</div></blockquote></div></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>