Re: [Paraview] headless configuration and intel ospray

2018-05-16 Thread David E DeMarle
Unfortunately no you still need a GL (osmesa or EGL for headless).

File a feature request on the gitlab issue tracker if you want to attract
attention to that capability. It probably isn't that hard to do and it
would be a good use case.


David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Wed, May 16, 2018 at 4:44 PM, Andrew Nicholson <
andrew.stormtroo...@gmail.com> wrote:

> Do I still need to build paraview against osmesa or can I solely use
> ospray?
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/paraview
>
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/paraview


[Paraview] headless configuration and intel ospray

2018-05-16 Thread Andrew Nicholson
Do I still need to build paraview against osmesa or can I solely use ospray?
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] Re: Screenshots to movies

2018-05-16 Thread Scott, W Alan via ParaView
The VLC player will also play .avi's created from 5.4.1, on all platforms.

Alan

> -Original Message-
> From: Michael Jackson [mailto:mike.jack...@bluequartz.net]
> Sent: Wednesday, May 16, 2018 5:46 AM
> To: Scott, W Alan ; Francesco Poli
> ; Ayachit, Utkarsh (External Contacts)
> 
> Cc: ParaView 
> Subject: Re: [Paraview] [EXTERNAL] Re: Screenshots to movies
> 
> If you happen to be on macOS AND you happen to still have a license for
> Quicktime 7 Pro, that will also create a movie from the images. You can export
> in whatever format that Quicktime supports.
> 
> --
> Michael Jackson | Owner, President
>   BlueQuartz Software
> [e] mike.jack...@bluequartz.net
> [w] www.bluequartz.net 
> 
> 
> -Original Message-
> From: ParaView  on behalf of "Scott,
> W Alan via ParaView" 
> Reply-To: "Scott, W Alan" 
> Date: Tuesday, May 15, 2018 at 9:51 PM
> To: Francesco Poli , "Ayachit, Utkarsh (External
> Contacts)" 
> Cc: ParaView 
> Subject: Re: [Paraview] [EXTERNAL] Re:  Screenshots to movies
> 
> Francesco,
> 
> There was a known bug/feature in the .avi writer in ParaView 5.4.1, where 
> it
> wrote a version of .avi that was not compatible with the OS X Quicktime player
> (the OS X default) and the Windows Media player.  This has been corrected in
> ParaView 5.5.0.  (I just tested them on my MacBook.)
> 
> Alan
> 
> 
> On 5/15/18, 4:42 PM, "Francesco Poli"  wrote:
> 
> On Tue, 15 May 2018 13:11:59 -0400 Utkarsh Ayachit wrote:
> 
> > ffmeg is your friend on linux. It needs a little figuring things 
> out, but
> > both resizing images and then converting them to videos is possible.
> 
> ParaView used to also be able to save animations as MJPEG AVI
> (.avi) files.
> 
> Unfortunately, the version currently in Debian GNU/Linux (unstable and
> testing) seems to have a regression and is unable to save .avi files.
> See my [bug report](https://bugs.debian.org/892293) on the Debian 
> BTS...
> 
> My current workaround is:
> 
>  → save animations as PNG images
> 
>  → convert them with
> 
>$ ffmpeg -f image2 -framerate 5 -i input.%04d.png \
> -vcodec mjpeg -pix_fmt yuv420p -q:v 3 output.avi
> 
> 
> Please note that ParaView used to save .avi files with pixel format
> yuvj422p (until it stopped doing so, because of the above mentioned
> regression), but I started to use pixel format yuv420p, to work around
> a [bug](https://bugs.debian.org/863663) in GStreamer.
> With this pixel format the animation may be correctly played by
> GStreamer on GNU/Linux and hence, when embedded in a PDF page, by
> pdf-presenter-console on GNU/Linux, as well as by Acrobat Reader DC on
> Windows...
> 
> If anyone knows any better strategy, comments are welcome!
> 
> 
> --
>  http://www.inventati.org/frx/
>  There's not a second to spare! To the laboratory!
> . Francesco Poli .
>  GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE
> 
> 
> ___
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
> 
> Search the list archives at: http://markmail.org/search/?q=ParaView
> 
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/paraview
> 
> 

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] Re: Screenshots to movies

2018-05-16 Thread Michael Jackson
If you happen to be on macOS AND you happen to still have a license for 
Quicktime 7 Pro, that will also create a movie from the images. You can export 
in whatever format that Quicktime supports.

--
Michael Jackson | Owner, President
  BlueQuartz Software
[e] mike.jack...@bluequartz.net
[w] www.bluequartz.net 
 

-Original Message-
From: ParaView  on behalf of "Scott, W 
Alan via ParaView" 
Reply-To: "Scott, W Alan" 
Date: Tuesday, May 15, 2018 at 9:51 PM
To: Francesco Poli , "Ayachit, Utkarsh (External 
Contacts)" 
Cc: ParaView 
Subject: Re: [Paraview] [EXTERNAL] Re:  Screenshots to movies

Francesco,

There was a known bug/feature in the .avi writer in ParaView 5.4.1, where 
it wrote a version of .avi that was not compatible with the OS X Quicktime 
player (the OS X default) and the Windows Media player.  This has been 
corrected in ParaView 5.5.0.  (I just tested them on my MacBook.)

Alan


On 5/15/18, 4:42 PM, "Francesco Poli"  wrote:

On Tue, 15 May 2018 13:11:59 -0400 Utkarsh Ayachit wrote:

> ffmeg is your friend on linux. It needs a little figuring things out, 
but
> both resizing images and then converting them to videos is possible.

ParaView used to also be able to save animations as MJPEG AVI
(.avi) files.

Unfortunately, the version currently in Debian GNU/Linux (unstable and
testing) seems to have a regression and is unable to save .avi files.
See my [bug report](https://bugs.debian.org/892293) on the Debian BTS...

My current workaround is:

 → save animations as PNG images

 → convert them with

   $ ffmpeg -f image2 -framerate 5 -i input.%04d.png \
-vcodec mjpeg -pix_fmt yuv420p -q:v 3 output.avi


Please note that ParaView used to save .avi files with pixel format
yuvj422p (until it stopped doing so, because of the above mentioned
regression), but I started to use pixel format yuv420p, to work around
a [bug](https://bugs.debian.org/863663) in GStreamer.
With this pixel format the animation may be correctly played by
GStreamer on GNU/Linux and hence, when embedded in a PDF page, by
pdf-presenter-console on GNU/Linux, as well as by Acrobat Reader DC on
Windows...

If anyone knows any better strategy, comments are welcome!


-- 
 http://www.inventati.org/frx/
 There's not a second to spare! To the laboratory!
. Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/paraview



___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] Re: pvtm file format

2018-05-16 Thread Andy Bauer
No problem. We got where we needed to be eventually -- it would  have gone
faster if I didn't "remember" that the .pvtm isn't a proper VTK file
extension :)

On Tue, May 15, 2018 at 10:58 PM Scott, W Alan  wrote:

> OK, although dense and slow, I finally got it.  Thanks, good explanation
> to both of you.  I will close the bug I wrote.
>
>
>
> Thanks guys,
>
>
>
> Alan
>
>
>
> *From: *Shawn Waldon 
> *Date: *Tuesday, May 15, 2018 at 3:09 PM
> *To: *Andy Bauer 
> *Cc: *W Scott , "parav...@paraview.org" <
> parav...@paraview.org>
> *Subject: *Re: [Paraview] [EXTERNAL] Re: pvtm file format
>
>
>
> An example: If I make a PNG writer in the code and set the filename it is
> supposed to write to "foo.pgn" it will write a file named "foo.pgn" because
> that is what it was programmed to do.  The data in the file will still be
> in the PNG format, the filename will just have the wrong extension.  It is
> still a PNG file and if I rename it to foo.png, most programs will read it
> correctly.  But while the extension is misspelled very few programs (if
> any) will read it.
>
> HTH,
>
> Shawn
>
>
>
> On Tue, May 15, 2018 at 4:53 PM, Andy Bauer 
> wrote:
>
> If the user did that, then he/she explicitly set the file extension to be
> .pvtm instead of the default .vtm when creating the Catalyst multiblock
> dataset writer for the Catalyst script. There is only one XML multiblock
> data reader and writer.
>
> When a user adds a writer when making a Catalyst Python script by default
> it will have the proper file extension but they are allowed to change that
> file extension. The file extension that the user gives the filename doesn't
> affect the file format itself (i.e. what writer is used).
>
> Does that make sense?
>
>
>
> On Tue, May 15, 2018 at 4:12 PM Scott, W Alan  wrote:
>
> Again, does this then mean we should delete pvtm file formats Catalyst
> writers?  I have a user that created a pvtm file recently, I believe using
> Catalyst…
>
>
>
> *From: *Andy Bauer 
> *Date: *Tuesday, May 15, 2018 at 1:00 PM
> *To: *W Scott 
> *Cc: *Utkarsh Ayachit , "
> parav...@paraview.org" 
> *Subject: *Re: [Paraview] [EXTERNAL] Re: pvtm file format
>
>
>
>
>
> From my investigation and not being able to find any pvtm in either
> today's ParaView or several of the 3.* versions (what Ken's old bug report
> referred to) I'd say that .pvtm was never officially or even unofficially a
> VTK file format extension used by the XML multiblock reader or writer. I'd
> say that .vtm is the one and only XML multiblock data extension and close
> the issue.
>
>
>
> On Tue, May 15, 2018 at 11:48 AM Scott, W Alan  wrote:
>
> Trying to wrap my head around what you said.  Really basic question – is
> .pvtm files a viable file format?  Either it should be supported in
> ParaView readers, or it should be removed from Catalyst and VTK – correct?
>
>
>
> I wrote up a bug here:
> https://gitlab.kitware.com/paraview/paraview/issues/18172
>
>
>
> Alan
>
>
>
> *From: *Andy Bauer 
> *Date: *Tuesday, May 15, 2018 at 8:33 AM
> *To: *W Scott 
> *Cc: *Utkarsh Ayachit , "
> parav...@paraview.org" 
> *Subject: *Re: [Paraview] [EXTERNAL] Re: pvtm file format
>
>
>
> Hi Alan,
>
>
>
> I wouldn't describe it as a redundant file format, just a redundant file
> extension (like ExodusII with .e, .ex2, etc.). Actually, looking through
> the PV and VTK source code, like Utkarsh did before, there doesn't look to
> be anything that refers to .pvtm so maybe I'm just remembering things wrong
> here. Looking back though (https://www.vtk.org/Bug/view.php?id=10498) it
> does seem like at one time we used the .pvtm file extension but maybe that
> was by accident though.
>
>
>
> As for writing out files from Catalyst, or even from ParaView, a user can
> select the writer and specify whatever they want for the file extension.
> Maybe that's where the issue arose.
>
>
>
> Best,
>
> Andy
>
>
>
> On Mon, May 14, 2018 at 9:37 PM Scott, W Alan  wrote:
>
> Thanks Andy.  I’m hearing of numerous issues like thus, trying to wrap my
> head around same.
>
>
>
> Let’s start with a few questions.  Where is the .pvtm file format
> documented?  Google doesn’t know...  Next, why have two redundant file
> formats?  One should be deprecated.  Why can Catalyst write this file
> format?  And last, of course, why can’t ParaView read it?
>
>
>
> Alan
>
>
>
> *From:* Andy Bauer [mailto:andy.ba...@kitware.com]
> *Sent:* Monday, May 14, 2018 7:31 PM
> *To:* Scott, W Alan 
> *Cc:* Ayachit, Utkarsh (External Contacts) ;
> Paraview (parav...@paraview.org) 
> *Subject:* Re: