[Paraview] announce: free VTK, ParaView and CMake training at Kitware New York next month

2018-02-01 Thread David E DeMarle
Hi folks,

Kitware is going to present three free, one day training courses next month
at our Albany NY headquarters. The outline for each day follows.

March 13'th "Introductory and applied VTK"

morning:

Dave DeMarle / Lisa Avila - "A hands on introduction to VTK"

afternoon:

Aashish Chaudhary - "VTK and Geosciences"

Berk Geveci - "Flow Visualization"

Ken Martin - "Realistic Rendering"

Sankesh Jhaveri - “A workflow for Medical Visualization”

March 14'th "Introductory and applied ParaView"

morning:

Dan Lipsa / Utkarsh Ayachit - "A hands on introduction to ParaView"

afternoon:

Andy Bauer - "CFD analysis"

T.J. Corona - "Simulation Debugging"

Utkarsh Ayachit - "Quantitative Analysis"

Bob O'Bara - "Point Cloud Processing"

March 15'th "CMake and Friends"
all day: w/ Bill Hoffman

To reserve a seat for the course, please fill out this google form and
we'll get back to you to confirm your reservation.

https://goo.gl/forms/M3WmJcV9W6qKTK8x2

David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
___
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://paraview.org/mailman/listinfo/paraview


Re: [Paraview] Save Animation option in ParaView 5.4.0 vs 5.3.0

2018-01-26 Thread David E DeMarle
Hey Mark,

Looks like we took that out as part of the revamp described here:
https://gitlab.kitware.com/paraview/paraview/issues/15917

Specifically this merge request took out the "No. Frames" entry.
https://gitlab.kitware.com/paraview/paraview/merge_requests/896
because, at least at that time, apparently the control didn't do anything
at all.

A 1 commit merge request that restores the widget and hooks it up to do
what it apparently did at one time is
here. https://gitlab.kitware.com/paraview/paraview/merge_requests/2197

David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909 <(518)%20881-4909>

On Fri, Jan 26, 2018 at 10:17 AM, Van Moer, Mark W <mvanm...@illinois.edu>
wrote:

> Hello,
>
>
>
> In ParaView 5.3.0 and earlier, when Animation mode was Snap to TimeSteps,
> in the Save Animation dialog box there was an option for No. of Frames /
> timestep. This doesn’t show up in the 5.4.0 dialog box. Was this just moved
> or was it removed completely?
>
>
>
> My use case for this is a data set with 25 timesteps, each of which is on
> the order of either 5 minutes or 30 minutes apart in real world time. I’d
> render 30 frames / timestep to get a 25 second movie to show each discrete
> timestep for one second. The video should show those discrete jumps in time
> and not use interpolation.
>
>
>
> I can do the frame replication in BASH but it was handy to have that
> option.
>
>
>
> Thanks,
>
> Mark
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensou
> rce/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://paraview.org/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://paraview.org/mailman/listinfo/paraview


Re: [Paraview] OSPRay ignores transparency

2018-01-23 Thread David E DeMarle
It is a known bug in VTK's interface to OSPRay such that opacity is ignored
in some cases dependent on some of the other color controls.
https://gitlab.kitware.com/paraview/paraview/issues/17873


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

On Tue, Jan 23, 2018 at 12:00 PM, Nenad Vujicic <nena...@gmail.com> wrote:

> Hello everyone,
>
> I tried both ParaView v5.4 and current v5.5 binaries, Windows x64, but,
> when I set a surface object opacity to e.g. 0.5, then enable OSPRay,
> surfaces goes back to fully opaque. Is transparency currently ignored?
>
> Thanks,
> Nenad.
>
>
> ___
> 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://paraview.org/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://paraview.org/mailman/listinfo/paraview


Re: [Paraview] Segfault with 'Hover Cells' over 3d glyphs

2017-12-05 Thread David E DeMarle
Crashes for me.


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

On Tue, Dec 5, 2017 at 2:59 PM, Wyatt Spear <wsp...@cs.uoregon.edu> wrote:

> Nope, 5.4.1 seems to work correctly.
> =Wyatt
>
> On Tue, Dec 5, 2017 at 11:29 AM, David E DeMarle <dave.dema...@kitware.com
> > wrote:
>
>> The output warnings you are seeing are unrelated and fixed in master.
>>
>> Can reproduce the bug with 5.4.1 binary on linux.
>>
>>
>>
>>
>> David E DeMarle
>> Kitware, Inc.
>> Principal Engineer
>> 21 Corporate Drive
>> <https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065=gmail=g>
>> Clifton Park, NY 12065
>> <https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065=gmail=g>
>> -8662
>> Phone: 518-881-4909 <(518)%20881-4909>
>>
>> On Tue, Dec 5, 2017 at 2:10 PM, Wyatt Spear <wsp...@cs.uoregon.edu>
>> wrote:
>>
>>> Greetings,
>>>
>>> I'm using the SC17 preview of 5.5 of ParaView. I first noticed this
>>> error with my own dataset but it appears with the simple test.csv I've
>>> included. To reproduce the segfault:
>>>
>>> Load the attached (or presumably any) CSV points file.
>>> Run the TableToPoints filter.
>>> Assign the X/Y/Z column dropdowns to the x coord/y coord/z coord values.
>>> Hit Apply
>>> Hit the 'Hover Cells On' button in the 3d display and mouse over a point
>>> to confirm it works.
>>> In the 'Representation' drop down box select "3D Glyphs".
>>> In the 'Glyph Type' drop down box select "Box" (I wasn't able to
>>> reproduce the error with arrows)
>>> Hover over one of the resulting box glyphs for instant segfault.
>>>
>>> Command line output from this session was:
>>>
>>> Generic Warning: In /home/buildslave/dashboards/bu
>>> ildbot/paraview-pvbinsdash-linux-shared-release_superbuild/s
>>> ource-paraview/ParaViewCore/ServerManager/Core/vtkSMPropertyHelper.cxx,
>>> line 511
>>> Failed to locate property: OSPRayMaterialLibrary
>>>
>>> Generic Warning: In /home/buildslave/dashboards/bu
>>> ildbot/paraview-pvbinsdash-linux-shared-release_superbuild/s
>>> ource-paraview/ParaViewCore/ServerManager/Core/vtkSMPropertyHelper.cxx,
>>> line 831
>>> Call not supported for the current property type.
>>>
>>> Segmentation fault (core dumped)
>>>
>>> Regards,
>>> Wyatt Spear
>>>
>>>
>>>
>>> ___
>>> 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:
>>> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Segfault with 'Hover Cells' over 3d glyphs

2017-12-05 Thread David E DeMarle
The output warnings you are seeing are unrelated and fixed in master.

Can reproduce the bug with 5.4.1 binary on linux.




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

On Tue, Dec 5, 2017 at 2:10 PM, Wyatt Spear <wsp...@cs.uoregon.edu> wrote:

> Greetings,
>
> I'm using the SC17 preview of 5.5 of ParaView. I first noticed this error
> with my own dataset but it appears with the simple test.csv I've included.
> To reproduce the segfault:
>
> Load the attached (or presumably any) CSV points file.
> Run the TableToPoints filter.
> Assign the X/Y/Z column dropdowns to the x coord/y coord/z coord values.
> Hit Apply
> Hit the 'Hover Cells On' button in the 3d display and mouse over a point
> to confirm it works.
> In the 'Representation' drop down box select "3D Glyphs".
> In the 'Glyph Type' drop down box select "Box" (I wasn't able to reproduce
> the error with arrows)
> Hover over one of the resulting box glyphs for instant segfault.
>
> Command line output from this session was:
>
> Generic Warning: In /home/buildslave/dashboards/
> buildbot/paraview-pvbinsdash-linux-shared-release_
> superbuild/source-paraview/ParaViewCore/ServerManager/Core/vtkSMPropertyHelper.cxx,
> line 511
> Failed to locate property: OSPRayMaterialLibrary
>
> Generic Warning: In /home/buildslave/dashboards/
> buildbot/paraview-pvbinsdash-linux-shared-release_
> superbuild/source-paraview/ParaViewCore/ServerManager/Core/vtkSMPropertyHelper.cxx,
> line 831
> Call not supported for the current property type.
>
> Segmentation fault (core dumped)
>
> Regards,
> Wyatt Spear
>
>
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Writing XML VTK Binary files from C++

2017-12-01 Thread David E DeMarle
Another approach is to use VTK itself to write the files.

Since VTK 6 it is straightforward to configure a VTK build consisting
of only the IO/ParallelXML module and its required dependencies. To do
so, in cmake, turn of testing, all groups and turn on
Module_vtkIOParallelXML, and you should be set.

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


On Fri, Dec 1, 2017 at 2:34 AM, Mark Olesen <mark.ole...@esi-group.com> wrote:
> When you say "writing binary", you need to distinguish between three
> possibilities.
> 1) writing binary "inline" (actually base64 encoded)
> 2) writing binary "append" (actually base64 encoded)
> 3) writing raw binary "append" (really raw binary)
>
> Since you already have ASCII writing working and its content is "inline", it
> won't take much more to get binary inline working.
> By "inline", I mean when the output is placed between the  
> markers. Eg,
> 
> content
> 
>
> For the binary case, the content is written as base64-encoded data, which
> means that your output writer for these sections needs to pass the content
> through a base64 layer to do the encoding for you.
>
> If it helps as reference, we have the same thing in OpenFOAM, except that we
> only write vtu and vtp files (we don't have rectilinear meshes).
>
> In the repo https://develop.openfoam.com/Development/OpenFOAM-plus
> we have a foamVtkBase64Formatter and a foamVtkBase64Layer (both under
> src/fileFormats/vtk/format/) that add a base64Layer to encode and output as
> base64 (src/OpenFOAM/db/IOstreams/hashes/base64Layer.[CH]).
>
> You'll see that the foamVtkBase64Layer and base64Layer are quite low level
> means of adding an tiny encoding buffer (3 chars size) to intercept output
> prior to sending through to a std::ostream. It take very little effort to
> adopt for your output and thus quite easy to drop in instead of your current
> ASCII outputter.  For it too work easily, however, you should make sure that
> you need to generate your output content with a write() method instead of
> using '<<'. This allows somewhat easy switching between something like a
> foamVtkAsciiFormatter and the binary version, but more importantly it makes
> it easier to track the output state.
>
> When browsing through the code, you may also notice that we have support for
> writing in appended format (raw and base64). However, I would not advise you
> to tackle that immediately. There are a few more things to watch out for
> here, but more importantly it will change many more things on the calling
> side.
>
> I hope this information helps you.
> /mark
>
> --
> Dr Mark OLESEN
> Principal Engineer, ESI-OpenCFD
> ESI GmbH | Einsteinring 24 | 85609 Munich | GERMANY
> www.openfoam.com | www.esi-group.com | mark.ole...@esi-group.com
>
>
> On 11/30/17 18:00, Stegmeier, Nicholas wrote:
>>
>> Hello,
>>
>> I am new to Paraview and C++ coming from a mostly mathematics background.
>> I am emailing to get resources or help on writing binary XML VTK files from
>> C++.
>>
>> I have finally succeeded in using the ASCII XML VTK format for a 2D
>> rectilinear CFD application. My ".pvtr" file is shown below.
>>
>> How can I write this file and my other XML VTK files in binary from C++?
>> Do I need a special C++ library?
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] SWKey: Way to Enlarge Upper Left Display Panel Icons for Picking Points and Cells?

2017-11-27 Thread David E DeMarle
Please file a feature request via gitlab issue tracker. Those icons
are really small to begin with and my eyes are not what they used to
be too.
David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Sat, Nov 25, 2017 at 3:10 PM, Samuel Key <samuel...@bresnan.net> wrote:
> Hi,
>
> I am using PV V5.4.1 64bit on MS Windows 7 Pro.
>
> My display has a resolution 2560 x 1440. I have located the
> Edit>Settings...>Tab:General and selected the 'Override Font option.' I
> moved it from 8 to 9. Nice! For my eyes, it is a big improvement.
>
> However, when it comes to the Upper-Left display panel icons for Picking
> Points and Cells, I either need to use the pop-up hint for the buttons or
> get at least within 12 inches of the screen with my bi-focal eyeglasses to
> see clearly the icon representing the button's function. (By the way, the
> icons are excellent representations of the button function.)
>
> Is there a way to enlarge this particular button bar to obtain slightly
> larger icons?
>
> Thanks in advance for the bother,
>
> Samuel W Key
> Fma Development
> 1005 39th Ave NE
> Great Falls, Montana 59404
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] XDMF file with multiple temporal collections

2017-11-20 Thread David E DeMarle
Try dropping your standalone external geometry and topology and just place
them in the first timestep's grid. It might make the reader happier.
Like so...

http://www.w3.org/2001/XInclude; Version="3.3">
  

  


  0 0 0 1 0 0 0 1 0 1 1 0 0 0 1 1 0 1 0 1 1 1 1 1


  9 0 1 3 2 4 5 7 6


  0 0 0 0 0 0 0 0

...
  
  

 
 

    ...


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

On Thu, Nov 16, 2017 at 9:49 AM, Nicolas Cedilnik <nicolas.cedil...@inria.fr
> wrote:

> Hello all,
>
> I'm trying to generate a valid (at least, well-read by paraview) XDMF
> file. It represents a single topology/geometry, with multiple scalars,
> varying over time.
>
> I've attached the file I'm trying to read with paraview. It behaves almost
> as I want, but oddly enough, only with scalars tagged as "partial" by
> paraview.
>
> One of the scalars "animation", the first one in the XDMF file, is
> completely buggy, possibly with values from other scalars.
>
> Is there something wrong with my XDMF file or is this a bug in paraview?
>
> Thanks for your help,
>
> -- Nicolas
>
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Error reading timeseries with spatial grid collection with XDMF

2017-11-20 Thread David E DeMarle
It might be that the reader doesn't like or want that both of your times
are 0.0.
...

...

...
but your third case doesn't fit that hypothesis.

Otherwise your file looks ok at first glance. I'ld have to debug the reader
on your data to figure out what is going wrong.

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

On Sun, Nov 12, 2017 at 11:15 PM, Joachim Pouderoux <
joachim.pouder...@kitware.com> wrote:

> Nikos,
>
> It looks like you are using the Xdmf2 based reader.
> Did you give a chance to the one based on Xdmf3?
> What version of ParaView are you using?
> Can you provide a full dataset we could use to reproduce the issue?
>
> Best,
>
>
> *Joachim Pouderoux*, PhD
>
> *Technical Expert - Scientific Computing Team*
> *Kitware SAS <http://www.kitware.fr>*
>
>
> 2017-11-11 19:31 GMT+01:00 Nikolaos Beratlis <nikos.berat...@gmail.com>:
>
>> Hi,
>>
>> I have a cartesian structured grid made of two sub-domains and a two snap
>> shots in a time that I would like to read in Paraview. The data and grid
>> files are stored in HDF5 file and I use a XDMF file to read them in a
>> Paraview. The XDMF files looks like this:
>>
>> 
>> 
>> 
>> 
>> 
>>
>> 
>> 
>>
>> 
>> 
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/XC-zone0001
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/YC
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/ZC-zone0001
>> 
>> 
>> 
>> > Format="HDF">
>> ../Q_VPreg.h5sp.0001:/zone0001
>> 
>> 
>> 
>>
>> 
>> 
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/XC-zone0002
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/YC
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/ZC-zone0002
>> 
>> 
>> 
>> > Format="HDF">
>> ../Q_VPreg.h5sp.0001:/zone0002
>> 
>> 
>> 
>> 
>>
>> 
>> 
>>
>> 
>> 
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/XC-zone0001
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/YC
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/ZC-zone0001
>> 
>> 
>> 
>> > Format="HDF">
>> ../Q_VPreg.h5sp.0001:/zone0001
>> 
>> 
>> 
>>
>> 
>> 
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/XC-zone0002
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/YC
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/ZC-zone0002
>> 
>> 
>> 
>> > Format="HDF">
>> ../Q_VPreg.h5sp.0002:/zone0002
>> 
>> 
>> 
>>
>> 
>>
>> 
>> 
>> 
>>
>> The file is read in Paraview. When I advance in to the second instant in
>> time I get the following error:
>>
>> Failed to read attribute data.
>>
>> Paraview shows data from the first subset (zone0001), it can't read the
>> data from the second subset (zone0002).
>>
>>
>> When I read only on instant in time like this:
>>
>> 
>> 
>> 
>> 
>> 
>>
>> 
>> 
>>
>> 
>> 
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/XC-zone0001
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/YC
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/ZC-zone0001
>> 
>> 
>> 
>> > Format="HDF">
>> ../Q_VPreg.h5sp.0001:/zone0001
>> 
>> 
>> 
>>
>> 
>> 
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/XC-zone0002
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/YC
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/ZC-zone0002
>> 
>> 
>> 
>> > Format="HDF">
>> ../Q_VPreg.h5sp.0001:/zone0002
>> 
>> 
>> 
>> 
>>
>> 
>> 
>> 
>>
>> the file is read successfully and no errors show up.
>>
>> Also when I read two time instants but with only one subset (zone0001)
>> Paraview doesn't throw any errors.
>>
>>

Re: [Paraview] SWKey: File extension for PV Readers?

2017-11-20 Thread David E DeMarle
Not yet.

You could add one by editing the appropriate "ReaderFactory extensions"...
line of ParaviewCore/ServerManager/SMApplication/Resource/proxies_xdmf3.xml
in your builds.


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

On Tue, Nov 14, 2017 at 5:32 PM, Samuel Key <samuel...@bresnan.net> wrote:

> Hi,
>
> I have an xyz.xmf file that loads just fine. By renaming the file to
> xyz.xmf3 I was able to get directly to Xdmf3 reader.
>
> Is there a file extension that can be used to get directly to the Xdmf3
> 'Top Level Partition' option?
>
> Thanks in advance for the bother.
>
> Samuel Key
> FMA Development
> 1005 39th Ave NE
> Great Falls, MT
> USA
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensou
> rce/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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] paraview osmesa render on supercomputer nodes

2017-11-20 Thread David E DeMarle
---

This syntax isn't clear to me:
> srun -n 24 pvserver -sp=15801 --mesa --use-offscreen-rendering
--disable-xdisplay-test
---ssh -N -f -L15801:localhost:15801 though internal connection-->
Where are you trying to run ssh on to open up this second (between login
and compute) tunnel?

---
ERROR: In /HOME/pp569/soft/ParaView-v5.4.1/VTK/Common/System/vtkSocket.cxx,
line 206
vtkServerSocket (0x20e9c20): Socket error in call to bind. Address already
in use.

Indicates that pvserver is trying to grab a socket that some other process
owns. You might be competing with one of your other pvserver processes
(from an earlier run or perhaps a misconfigured non-mpi pvserver task
running on the same node from this srun invocation) or possibly your ssh
tunnel process.

---

Forward connections from desktop to login to compute are harder to setup in
most cases because in general you don't know what compute node (and
sometimes login node) you will get.

---

I recommend using something simple like netcat to send and receive messages
across each tunnel. If you can type on one side and see the text on the
other, then paraview should be able to use the connection.

---

Please let us know how it goes. We would love to see ParaView running on
Tianhe-2!

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

On Mon, Nov 20, 2017 at 11:23 AM, Utkarsh Ayachit <
utkarsh.ayac...@kitware.com> wrote:

> Di,
>
> While it's not entirely obvious to me what could be going wrong, you
> may to check these docs out instead:
> https://www.paraview.org/Wiki/Reverse_connection_and_port_
> forwarding#A_Forward_Connection_Over_an_ssh_Tunnel
>
> Utkarsh
>
> On Sat, Nov 18, 2017 at 7:04 AM, 程迪 <chengdi123...@gmail.com> wrote:
> > Hi everyone,
> >
> > I just compiled the OSMesa version of paraview 5.4.1 on Tianhe-2
> > supercomputer. My trouble is to connect the pvserver running on computing
> > nodes while I am on login node with ssh tunnelling (-L).
> >
> > Here is what I did
> >
> > My computer (win7 64 bit)
> > ---ssh -L15801:localhost:15801 through VPN--->
> > LN31 (login node, RHEL maybe, using slurm)
> >> srun -n 24 pvserver -sp=15801 --mesa --use-offscreen-rendering
> >> --disable-xdisplay-test
> > ---ssh -N -f -L15801:localhost:15801 though internal connection-->
> > CN (computing node)
> >
> > And here is the error:
> >
> > ```
> > Waiting for client...
> > Connection URL: cs://cn10687:15801
> > ERROR: In /HOME/pp569/soft/ParaView-v5.4.1/VTK/Common/System/
> vtkSocket.cxx,
> > line 206
> > vtkServerSocket (0x20e9c20): Socket error in call to bind. Address
> already
> > in use.
> >
> > ERROR: In
> > /HOME/pp569/soft/ParaView-v5.4.1/ParaViewCore/ClientServerCore/Core/
> vtkTCPNetworkAccessManager.cxx,
> > line 349
> > vtkTCPNetworkAccessManager (0x14ad080): Failed to set up server socket.
> >
> > Exiting...
> > ```
> >
> > It seems not working. I am pretty sure that the PC -- ssh -L through VPN
> -->
> > LN works well. What happend in LN -- ssh -L --> CNxxx link?
> >
> > I have searched the internet for something, I found that LLNL did some
> work
> > on it
> > [https://hpc.llnl.gov/data-vis/vis-software/paraview/
> running-paraview-in-client-server-mode].
> >
> > They used `ssh -R` to map from LN to CN, rather than `ssh -L` and run
> > paraview in RC mode, does it make any sense?
> >
> > However, in Tianhe-2, the `ssh -R` is forbidden. So I cannot use this
> > method.
> >
> > Di Cheng
> > Visting scholar at UConn ME Combustion Diagnostic Lab
> > Engineer of Research Center of China Academy of Aerospace Aerodynamics
> > Phone: +86-l58Ol5949ll
> >
> > Address: No.17, YunGang West Road, Fengtai District, Beijing, China
> >
> > Zip Code:100074
> >
> >
> > ___
> > 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:
> > http://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 P

[Paraview] About the SC17.5.5.preview binaries...

2017-11-08 Thread David E DeMarle
Hey folks,

As Utkarsh pointed out on Oct 23'rd "ParaView Release Roadmap", we decided
to push the 5.5 ParaView release from just before IEEE SC17 out to the
Spring of 2018.
Still there are a lot of good things already in master that we want to show
off at SC that we'd like to draw your attention to. So we decided to put
these current master binaries up on the download page as a technology
preview of what's coming in 5.5.

* The OSPRay path tracing capability and the accompanying Light Inspector
panel are pretty nice if I do say so myself.
* The separate color maps option that makes it easy to have multiple color
lookup tables for the same named array (on different representations of
views for example) is quite handy in certain situations and frequently
requested by users.
* We moved Tools->Python Shell to View->Python Shell and made it a dockable
widget.
* The nvpipe image compressor option does a great job at speeding up server
to client image delivery from nvpipe enabled servers.
* The Cell Size filter is another very handy little addition as are the new
Gradient Filter options.
* The revamped zoom to box camera interaction is much more predictable than
before.

There is a lot more that I am omitting for brevity but the point is that
there are a lot of good things to look forward to when 5.5 comes out in the
Spring. So please do give the 5.5 technology preview binaries a whirl and
let us know what you think of them via the mailing list and or issue
tracker. That will help a lot as we finish up even more features and work
to make the current ones even better.

thanks,

David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] OSPRay, scaled spheres

2017-10-26 Thread David E DeMarle
A patch to factor in point size control can be found here:
https://gitlab.kitware.com/vtk/vtk/merge_requests/3499

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

On Thu, Oct 26, 2017 at 9:04 AM, David E DeMarle <dave.dema...@kitware.com>
wrote:

> Looks like:
>
> 1) I was wrong, you don't need to scale and bias the input array into
> 0..1. The transfer function editor widget's piecewise range controls let
> you specify what the input domain extent.
>
> 2) You are correct that there isn't currently a way to get the radii to be
> > 1.0 when applying the transfer function. Without the transfer function,
> the point size control sets the radii for all points. With it the transfer
> function's output (which is defined to be 0..1) controls the radii of each
> point. Please file a bug report.
>
> Notes: With Point Gaussian representation there is an extra "point
> gaussian radius" control that gets factored in. We could do that with
> ospray, or factor in the existing point size, or possible extend the
> transfer function editor widget to change the range extent to something
> other than 0..1.
>
>
> David E DeMarle
> Kitware, Inc.
> Principal Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909 <(518)%20881-4909>
>
> On Thu, Oct 26, 2017 at 6:16 AM, Heiland, Randy <heil...@iu.edu> wrote:
>
>> Recapping, hopefully the relevant bits:
>>
>> Pipeline: PgmableSource -> Glyph (only show Glyph)
>>
>> Glyph Properties:
>>  Source: 2D Glyph
>>  Type: Vertex
>>  Active Attrs: Scalars: cell_radius
>>  Scaling:  Mode: scalar
>>Factor: 1
>>
>> OSPRay Use Scale Array - yes
>>Scale Array: cell_radius
>> Enable OSPRay - yes
>>
>> Let’s say my cell_radius has a range [5,10]
>>
>> I cannot figure out how to scale up my cells to be large enough. I’ve
>> dabbled with the OSPRay Scale Function editor, with no success.
>>
>> The Scaling Factor above seems to have no effect. Is there a global
>> scaling factor I’m missing?
>>
>> (irrelevant bit, I think… I’m Masking: Every Nth Point)
>>
>> I’ll experiment with my simple 2 cell example later…
>>
>>
>> On Oct 25, 2017, at 5:19 PM, Heiland, Randy <heil...@iu.edu> wrote:
>>
>> Beauty. Thanks!! (I really need to take time to read the entire PV Guide)
>>
>> On Oct 25, 2017, at 5:14 PM, David E DeMarle <dave.dema...@kitware.com>
>> wrote:
>>
>> click the gear to show advanced properties, or use search field for glyph
>> type.
>>
>>
>>
>> David E DeMarle
>> Kitware, Inc.
>> Principal Engineer
>> 21 Corporate Drive
>> <https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065=gmail=g>
>> Clifton Park, NY 12065
>> <https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065=gmail=g>
>> -8662
>> Phone: 518-881-4909 <(518)%20881-4909>
>>
>> On Wed, Oct 25, 2017 at 5:11 PM, Heiland, Randy <heil...@iu.edu> wrote:
>>
>>> You lost me - in the Glyph Source block,I select Glyph Type = 2D Glyph.
>>> Then where is VERTEX? In the Display block, I choose Representation =
>>> Points which produces a blobby mess. But a very *smooth* blobby mess :)
>>>
>>> On Oct 25, 2017, at 4:46 PM, David E DeMarle <dave.dema...@kitware.com>
>>> wrote:
>>>
>>> That control is only available if the representation type is surface,
>>> this could explain why you don't see it on the ProgrammableSource.
>>>
>>> In the glyph filter, use 2D glyph, VERTEX.
>>>
>>>
>>>
>>>
>>>
>>> David E DeMarle
>>> Kitware, Inc.
>>> Principal Engineer
>>> 21 Corporate Drive
>>> <https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065=gmail=g>
>>> Clifton Park, NY 12065
>>> <https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065=gmail=g>
>>> -8662
>>> Phone: 518-881-4909 <(518)%20881-4909>
>>>
>>> On Wed, Oct 25, 2017 at 4:29 PM, Heiland, Randy <heil...@iu.edu> wrote:
>>>
>>>> I only see the “OSPRay Use Scale Array” on the Properties for Glyph,
>>>> not the Props for the ProgrammableSource. Expected? And so, OSPRay is
>>>> rendering the chunky polygonalized spherical glyphs (Representation =
>>>> Surface).
>>>>
>>>> If I could independently scale the implic

Re: [Paraview] OSPRay, scaled spheres

2017-10-26 Thread David E DeMarle
Looks like:

1) I was wrong, you don't need to scale and bias the input array into 0..1.
The transfer function editor widget's piecewise range controls let you
specify what the input domain extent.

2) You are correct that there isn't currently a way to get the radii to be
> 1.0 when applying the transfer function. Without the transfer function,
the point size control sets the radii for all points. With it the transfer
function's output (which is defined to be 0..1) controls the radii of each
point. Please file a bug report.

Notes: With Point Gaussian representation there is an extra "point gaussian
radius" control that gets factored in. We could do that with ospray, or
factor in the existing point size, or possible extend the transfer function
editor widget to change the range extent to something other than 0..1.


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

On Thu, Oct 26, 2017 at 6:16 AM, Heiland, Randy <heil...@iu.edu> wrote:

> Recapping, hopefully the relevant bits:
>
> Pipeline: PgmableSource -> Glyph (only show Glyph)
>
> Glyph Properties:
>  Source: 2D Glyph
>  Type: Vertex
>  Active Attrs: Scalars: cell_radius
>  Scaling:  Mode: scalar
>Factor: 1
>
> OSPRay Use Scale Array - yes
>Scale Array: cell_radius
> Enable OSPRay - yes
>
> Let’s say my cell_radius has a range [5,10]
>
> I cannot figure out how to scale up my cells to be large enough. I’ve
> dabbled with the OSPRay Scale Function editor, with no success.
>
> The Scaling Factor above seems to have no effect. Is there a global
> scaling factor I’m missing?
>
> (irrelevant bit, I think… I’m Masking: Every Nth Point)
>
> I’ll experiment with my simple 2 cell example later…
>
>
> On Oct 25, 2017, at 5:19 PM, Heiland, Randy <heil...@iu.edu> wrote:
>
> Beauty. Thanks!! (I really need to take time to read the entire PV Guide)
>
> On Oct 25, 2017, at 5:14 PM, David E DeMarle <dave.dema...@kitware.com>
> wrote:
>
> click the gear to show advanced properties, or use search field for glyph
> type.
>
>
>
> David E DeMarle
> Kitware, Inc.
> Principal Engineer
> 21 Corporate Drive
> <https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065=gmail=g>
> Clifton Park, NY 12065
> <https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065=gmail=g>
> -8662
> Phone: 518-881-4909 <(518)%20881-4909>
>
> On Wed, Oct 25, 2017 at 5:11 PM, Heiland, Randy <heil...@iu.edu> wrote:
>
>> You lost me - in the Glyph Source block,I select Glyph Type = 2D Glyph.
>> Then where is VERTEX? In the Display block, I choose Representation =
>> Points which produces a blobby mess. But a very *smooth* blobby mess :)
>>
>> On Oct 25, 2017, at 4:46 PM, David E DeMarle <dave.dema...@kitware.com>
>> wrote:
>>
>> That control is only available if the representation type is surface,
>> this could explain why you don't see it on the ProgrammableSource.
>>
>> In the glyph filter, use 2D glyph, VERTEX.
>>
>>
>>
>>
>>
>> David E DeMarle
>> Kitware, Inc.
>> Principal Engineer
>> 21 Corporate Drive
>> <https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065=gmail=g>
>> Clifton Park, NY 12065
>> <https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065=gmail=g>
>> -8662
>> Phone: 518-881-4909 <(518)%20881-4909>
>>
>> On Wed, Oct 25, 2017 at 4:29 PM, Heiland, Randy <heil...@iu.edu> wrote:
>>
>>> I only see the “OSPRay Use Scale Array” on the Properties for Glyph, not
>>> the Props for the ProgrammableSource. Expected? And so, OSPRay is rendering
>>> the chunky polygonalized spherical glyphs (Representation = Surface).
>>>
>>> If I could independently scale the implicit spheres and use OSPRay, I’d
>>> prefer that until I do the vtkCutter. (thanks for confirming, Note 2)
>>>
>>>
>>>
>>> On Oct 25, 2017, at 3:35 PM, David E DeMarle <dave.dema...@kitware.com>
>>> wrote:
>>>
>>> To change the size based on values:
>>> check "OSPRay Use Scale Array" on "Display" section or "Properties" Tab
>>> Choose the array name you want to scale by with "OSPRay Scale Array"
>>> pulldown.
>>> Define your value to radius transfer function via the "OSPRay Scale
>>> Function" popup editor.
>>>
>>> Note 1: the transfer function is defined to map between 0.0 and 1.0 and
>>> clamp outside of that range. Use a calculator to scale

Re: [Paraview] OSPRay, scaled spheres

2017-10-25 Thread David E DeMarle
click the gear to show advanced properties, or use search field for glyph
type.



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

On Wed, Oct 25, 2017 at 5:11 PM, Heiland, Randy <heil...@iu.edu> wrote:

> You lost me - in the Glyph Source block,I select Glyph Type = 2D Glyph.
> Then where is VERTEX? In the Display block, I choose Representation =
> Points which produces a blobby mess. But a very *smooth* blobby mess :)
>
> On Oct 25, 2017, at 4:46 PM, David E DeMarle <dave.dema...@kitware.com>
> wrote:
>
> That control is only available if the representation type is surface, this
> could explain why you don't see it on the ProgrammableSource.
>
> In the glyph filter, use 2D glyph, VERTEX.
>
>
>
>
>
> David E DeMarle
> Kitware, Inc.
> Principal Engineer
> 21 Corporate Drive
> <https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065=gmail=g>
> Clifton Park, NY 12065
> <https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065=gmail=g>
> -8662
> Phone: 518-881-4909 <(518)%20881-4909>
>
> On Wed, Oct 25, 2017 at 4:29 PM, Heiland, Randy <heil...@iu.edu> wrote:
>
>> I only see the “OSPRay Use Scale Array” on the Properties for Glyph, not
>> the Props for the ProgrammableSource. Expected? And so, OSPRay is rendering
>> the chunky polygonalized spherical glyphs (Representation = Surface).
>>
>> If I could independently scale the implicit spheres and use OSPRay, I’d
>> prefer that until I do the vtkCutter. (thanks for confirming, Note 2)
>>
>>
>>
>> On Oct 25, 2017, at 3:35 PM, David E DeMarle <dave.dema...@kitware.com>
>> wrote:
>>
>> To change the size based on values:
>> check "OSPRay Use Scale Array" on "Display" section or "Properties" Tab
>> Choose the array name you want to scale by with "OSPRay Scale Array"
>> pulldown.
>> Define your value to radius transfer function via the "OSPRay Scale
>> Function" popup editor.
>>
>> Note 1: the transfer function is defined to map between 0.0 and 1.0 and
>> clamp outside of that range. Use a calculator to scale and bias into that
>> range. If you don't like having to do this, file a feature request to
>> remind the developers to implement it one of these days such that min is
>> defined to be array min and max.
>>
>> Note 2:Cutter will not cut through the implicit spheres.
>>
>> Note 3: Point Gaussian representation's Use Scalar Array, Guassian Scale
>> Array and Scale Transfer Function (which I riffed off of) are similar. I'm
>> not sure about scale and bias and cut with this GL shader based side.
>>
>>
>> David E DeMarle
>> Kitware, Inc.
>> Principal Engineer
>> 21 Corporate Drive
>> <https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065=gmail=g>
>> Clifton Park, NY 12065
>> <https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065=gmail=g>
>> -8662
>> Phone: 518-881-4909 <(518)%20881-4909>
>>
>> On Wed, Oct 25, 2017 at 3:16 PM, Heiland, Randy <heil...@iu.edu> wrote:
>>
>>> Just want to make sure I’m not missing something. In my Pgmable Source
>>> PolyData, I render Points and love the OSPRay-rendered spheres. However, is
>>> there any mechanism for (independently) scaling these, i.e., other than the
>>> fixed Point Size? Or is the only way to get scalar-value scaled spheres via
>>> the Glyph filter? If so, is it possible to control the
>>> resolution/triangulation of that glyph? Basically, I’m looking for ways of
>>> getting high-res spheres, but will also want to use vtkCutter on them later.
>>>
>>> thanks, Randy
>>> ___
>>> 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:
>>> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] OSPRay, scaled spheres

2017-10-25 Thread David E DeMarle
That control is only available if the representation type is surface, this
could explain why you don't see it on the ProgrammableSource.

In the glyph filter, use 2D glyph, VERTEX.





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

On Wed, Oct 25, 2017 at 4:29 PM, Heiland, Randy <heil...@iu.edu> wrote:

> I only see the “OSPRay Use Scale Array” on the Properties for Glyph, not
> the Props for the ProgrammableSource. Expected? And so, OSPRay is rendering
> the chunky polygonalized spherical glyphs (Representation = Surface).
>
> If I could independently scale the implicit spheres and use OSPRay, I’d
> prefer that until I do the vtkCutter. (thanks for confirming, Note 2)
>
>
>
> On Oct 25, 2017, at 3:35 PM, David E DeMarle <dave.dema...@kitware.com>
> wrote:
>
> To change the size based on values:
> check "OSPRay Use Scale Array" on "Display" section or "Properties" Tab
> Choose the array name you want to scale by with "OSPRay Scale Array"
> pulldown.
> Define your value to radius transfer function via the "OSPRay Scale
> Function" popup editor.
>
> Note 1: the transfer function is defined to map between 0.0 and 1.0 and
> clamp outside of that range. Use a calculator to scale and bias into that
> range. If you don't like having to do this, file a feature request to
> remind the developers to implement it one of these days such that min is
> defined to be array min and max.
>
> Note 2:Cutter will not cut through the implicit spheres.
>
> Note 3: Point Gaussian representation's Use Scalar Array, Guassian Scale
> Array and Scale Transfer Function (which I riffed off of) are similar. I'm
> not sure about scale and bias and cut with this GL shader based side.
>
>
> David E DeMarle
> Kitware, Inc.
> Principal Engineer
> 21 Corporate Drive
> <https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065=gmail=g>
> Clifton Park, NY 12065
> <https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065=gmail=g>
> -8662
> Phone: 518-881-4909 <(518)%20881-4909>
>
> On Wed, Oct 25, 2017 at 3:16 PM, Heiland, Randy <heil...@iu.edu> wrote:
>
>> Just want to make sure I’m not missing something. In my Pgmable Source
>> PolyData, I render Points and love the OSPRay-rendered spheres. However, is
>> there any mechanism for (independently) scaling these, i.e., other than the
>> fixed Point Size? Or is the only way to get scalar-value scaled spheres via
>> the Glyph filter? If so, is it possible to control the
>> resolution/triangulation of that glyph? Basically, I’m looking for ways of
>> getting high-res spheres, but will also want to use vtkCutter on them later.
>>
>> thanks, Randy
>> ___
>> 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:
>> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] OSPRay, scaled spheres

2017-10-25 Thread David E DeMarle
To change the size based on values:
check "OSPRay Use Scale Array" on "Display" section or "Properties" Tab
Choose the array name you want to scale by with "OSPRay Scale Array"
pulldown.
Define your value to radius transfer function via the "OSPRay Scale
Function" popup editor.

Note 1: the transfer function is defined to map between 0.0 and 1.0 and
clamp outside of that range. Use a calculator to scale and bias into that
range. If you don't like having to do this, file a feature request to
remind the developers to implement it one of these days such that min is
defined to be array min and max.

Note 2:Cutter will not cut through the implicit spheres.

Note 3: Point Gaussian representation's Use Scalar Array, Guassian Scale
Array and Scale Transfer Function (which I riffed off of) are similar. I'm
not sure about scale and bias and cut with this GL shader based side.


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

On Wed, Oct 25, 2017 at 3:16 PM, Heiland, Randy <heil...@iu.edu> wrote:

> Just want to make sure I’m not missing something. In my Pgmable Source
> PolyData, I render Points and love the OSPRay-rendered spheres. However, is
> there any mechanism for (independently) scaling these, i.e., other than the
> fixed Point Size? Or is the only way to get scalar-value scaled spheres via
> the Glyph filter? If so, is it possible to control the
> resolution/triangulation of that glyph? Basically, I’m looking for ways of
> getting high-res spheres, but will also want to use vtkCutter on them later.
>
> thanks, Randy
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] multiple scalar fields

2017-10-25 Thread David E DeMarle
Give each array a name (vtkDataArray::SetName()) and use AddArray
(vtkFieldData:AddArray()) instead of using the atttibutes based API
(vtkDataSetAttributes::Set{Scalars/Tensors/Vectors})

ParaView uses named array access almost exclusively anyway.



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

On Wed, Oct 25, 2017 at 12:32 PM, Heiland, Randy <heil...@iu.edu> wrote:

> How does one use 2 (or more) scalar fields in a dataset, e.g. one for a
> colormap, one to scale glyphs?  E.g., Pgmable Source:
>
> pdo = self.GetPolyDataOutput()
>
> num_pts = 2
> newPts = vtk.vtkPoints()
> cell_color_ID = vtk.vtkFloatArray()
> cell_radius = vtk.vtkFloatArray()
>
> cell_color_ID.SetName('cell_color_ID')
> cell_radius.SetName('cell_radius')
>
> newPts.InsertPoint(0, -1,0,0)
> cell_color_ID.InsertNextValue(1)
> cell_radius.InsertNextValue(0.2)
>
> newPts.InsertPoint(1, 1,0,0)
> cell_color_ID.InsertNextValue(2)
> cell_radius.InsertNextValue(0.3)
>
> pdo.SetPoints(newPts)
> pdo.GetPointData().SetScalars(cell_color_ID)
> pdo.GetPointData().SetScalars(cell_radius)   # overrides the 1st
>
> verts = vtk.vtkCellArray()
> for idx in range(0, num_pts):
>   verts.InsertNextCell(1)
>   verts.InsertCellPoint(idx)
> pdo.SetVerts(verts)
>
>
> thanks, Randy
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] anyone using vtkHyperOctree?

2017-10-24 Thread David E DeMarle
I would like to deprecate and remove this class. I believe vtkHyperOctree
was the forerunner to vtkHyperTreeGrid.

David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
___
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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Show us what you can do with VTK and ParaView!

2017-10-10 Thread David E DeMarle
Have you made cool visualizations with VTK or ParaView? Please submit them
to be featured on our websites!

Leading up to SC17, we will select visualizations to add to the homepage of
kitware.com. As a thank you, each person who submits a selected
visualization will receive a Kitware polo shirt.

In addition to the visualizations featured on kitware.com, we will add
various submissions to the galleries on vtk.org and paraview.org.

Ready to submit? Here are some guidelines:

   -

   Please email submissions to c...@kitware.com, and indicate whether they
   were made with VTK or ParaView. Alternatively, share them with us on
   Twitter by tagging @Kitware and adding #RenderedInVTK or
   #RenderedInParaView.
   -

   Visualizations should be high resolution (at least 2000x2000 pixels and
   72 dpi).
   -

   Please include the acknowledgement that you would like to accompany each
   visualization online.
   -

   Please also include descriptive information for each visualization
   (e.g., the science behind the pretty picture, dataset specifications, the
   application of the visualization to HPC, etc.).


We look forward to your visualizations!

For inspiration, check out these results from a few years back:

https://blog.kitware.com/videos-contributed-by-collaborators-for-sc14/.

David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Creating clips for multiple data sets

2017-10-06 Thread David E DeMarle
With approach 1, you might use the multiblock inspector panel to turn
on/off the visibility of and of the objects.

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

On Fri, Oct 6, 2017 at 8:38 AM, Lev Karatun <lev.kara...@gmail.com> wrote:

> Hi David,
>
> I actually already saw this advice on the mailing list. The first approach
> doesn't work in my case because I want to be able to see the results of
> each individual data sets clipped, which seems to be impossible which this
> approach (unless I'm doing something wrong).
>
> Approach 2 is not much faster or easier than creating the clips manually.
>
> Best regards,
> Lev Karatun.
>
> 2017-10-06 7:53 GMT-04:00 David E DeMarle <dave.dema...@kitware.com>:
>
>> Howdy,
>>
>> Two ideas for you to try. 1) group the data into a multiblock and then
>> clip the merged result with one clip filter. 2) under the tools menu create
>> property links between the many clip filters so that whenever one changes
>> the rest do too.
>>
>> On Oct 6, 2017 12:28 AM, "Lev Karatun" <lev.kara...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I'm trying to apply 5 clips to a number of different data sets. I tried
>>> selecting them, right-clicking, pressing Copy, then selecting a different
>>> data set and pressing Paste, but nothing happens. Am I doing something
>>> wrong?
>>>
>>> I then tried to record a trace and modify it, but I couldn't figure out
>>> how to create a clip for the currently selected dataset. I see that I
>>> need to specify the clip input like this:
>>>
>>>> clip = Clip(Input=)
>>>
>>> but I would like to create a clip for the currently selected dataset,
>>> without hard-coding its name in the script. Is it possible to do so?
>>>
>>> Sorry about the beginner questions, I didn't find the answers in the
>>> manual.
>>> Thanks in advance!
>>>
>>> Best regards,
>>> Lev Karatun.
>>>
>>> ___
>>> 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:
>>> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Creating clips for multiple data sets

2017-10-06 Thread David E DeMarle
Howdy,

Two ideas for you to try. 1) group the data into a multiblock and then clip
the merged result with one clip filter. 2) under the tools menu create
property links between the many clip filters so that whenever one changes
the rest do too.

On Oct 6, 2017 12:28 AM, "Lev Karatun"  wrote:

> Hi,
>
> I'm trying to apply 5 clips to a number of different data sets. I tried
> selecting them, right-clicking, pressing Copy, then selecting a different
> data set and pressing Paste, but nothing happens. Am I doing something
> wrong?
>
> I then tried to record a trace and modify it, but I couldn't figure out
> how to create a clip for the currently selected dataset. I see that I
> need to specify the clip input like this:
>
>> clip = Clip(Input=)
>
> but I would like to create a clip for the currently selected dataset,
> without hard-coding its name in the script. Is it possible to do so?
>
> Sorry about the beginner questions, I didn't find the answers in the
> manual.
> Thanks in advance!
>
> Best regards,
> Lev Karatun.
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] XDMF Version 2 and 3 Differences

2017-10-02 Thread David E DeMarle
Oops I forgot,

+3 xdmf3 has support for DMP parallel writes in master (will appear in PV
5.5.)



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

On Mon, Oct 2, 2017 at 1:58 PM, David E DeMarle <dave.dema...@kitware.com>
wrote:

> Hi Mike.
>
> You mean select the XDMF "Reader", not "Writer" when you open the file
> correct?
>
> In theory XDMF3 should read almost anything XDMF2 could. The main
> practical differences in my recollection are:
>
> + xdmf3 doesn't leak memory and is faster and less of a memory hog,
> especially with time varying data, in my experience.
> + xdmf3's field data arrays work better and in particular support
> arbitrary width arrays
> + Thanks to Michal Habera's Google Summer of Code project xdmf3 master (in
> nightly binaries and will appear in PV 5.5) has support for "other"
> centered (more than 1 per cell) data in support of FEniCS higher order
> cells.
> + xdmf3 has a much better suite of tests and contribution path than xdmf2
> ever did
>
> = xdmf3 had a boost dependency up until about a week ago (will appear in
> PV 5.5).
>
> - xdmf3 tends to complain on files that use default/implied values in the
> xml entries.
> - xdmf3 doesn't automatically parallelize structured datasets when read in
> parallel
> - xdmf3 doesn't support strides for structured datasets
> - xdfm3 doesn't support "hyperslab, list or range" temporal specifications
> - xdmf3 lacks support for function specifications
> - xdmf3's notion of subset is slightly different than xdmf2 (2's were
> relative to cell, 3's are relative to face/edge or something to that effect)
>
> If you can share one of your files I'll take a look.
>
> thanks
>
>
>
> David E DeMarle
> Kitware, Inc.
> Principal Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909 <(518)%20881-4909>
>
> On Thu, Sep 28, 2017 at 8:57 AM, Michael Jackson <
> mike.jack...@bluequartz.net> wrote:
>
>> Where might I find the differences between XDMF version 2 and 3? Our
>> project writes a .xdmf file along side our HDF5 file so that ParaView can
>> visualize the data. Ever since ParaView version 5.x was released with the
>> XDMF 3 included we always have to select the "XDMF Writer" when opening the
>> file. If we select the either of the XDMF 3 writers no data is loaded. I
>> was wanting to figure out if there is something we need to adjust in our
>> XDMF files so that the XDMF 3 readers work correctly with our data/files.
>>
>> Thanks
>> --
>> Michael Jackson | Owner, President
>>   BlueQuartz Software
>> [e] mike.jack...@bluequartz.net
>> [w] www.bluequartz.net
>>
>>
>> ___
>> 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:
>> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] XDMF Version 2 and 3 Differences

2017-10-02 Thread David E DeMarle
Hi Mike.

You mean select the XDMF "Reader", not "Writer" when you open the file
correct?

In theory XDMF3 should read almost anything XDMF2 could. The main practical
differences in my recollection are:

+ xdmf3 doesn't leak memory and is faster and less of a memory hog,
especially with time varying data, in my experience.
+ xdmf3's field data arrays work better and in particular support arbitrary
width arrays
+ Thanks to Michal Habera's Google Summer of Code project xdmf3 master (in
nightly binaries and will appear in PV 5.5) has support for "other"
centered (more than 1 per cell) data in support of FEniCS higher order
cells.
+ xdmf3 has a much better suite of tests and contribution path than xdmf2
ever did

= xdmf3 had a boost dependency up until about a week ago (will appear in PV
5.5).

- xdmf3 tends to complain on files that use default/implied values in the
xml entries.
- xdmf3 doesn't automatically parallelize structured datasets when read in
parallel
- xdmf3 doesn't support strides for structured datasets
- xdfm3 doesn't support "hyperslab, list or range" temporal specifications
- xdmf3 lacks support for function specifications
- xdmf3's notion of subset is slightly different than xdmf2 (2's were
relative to cell, 3's are relative to face/edge or something to that effect)

If you can share one of your files I'll take a look.

thanks



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

On Thu, Sep 28, 2017 at 8:57 AM, Michael Jackson <
mike.jack...@bluequartz.net> wrote:

> Where might I find the differences between XDMF version 2 and 3? Our
> project writes a .xdmf file along side our HDF5 file so that ParaView can
> visualize the data. Ever since ParaView version 5.x was released with the
> XDMF 3 included we always have to select the "XDMF Writer" when opening the
> file. If we select the either of the XDMF 3 writers no data is loaded. I
> was wanting to figure out if there is something we need to adjust in our
> XDMF files so that the XDMF 3 readers work correctly with our data/files.
>
> Thanks
> --
> Michael Jackson | Owner, President
>   BlueQuartz Software
> [e] mike.jack...@bluequartz.net
> [w] www.bluequartz.net
>
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Windows MPI capable Paraview binary install package question

2017-09-29 Thread David E DeMarle
Hey Giovanni,

We publish two windows binaries for ParaView. The one without mpi in the
name doesn't need anything special to run. The other one depends on
microsofts mpi, which do not provide, but is available from microsoft for
free and is easy to install if you have the need.

Your suggested path of deploying the non-mpi one sounds best to me.

cheers!





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

On Fri, Sep 29, 2017 at 5:46 PM, Cone, Giovanni Antonio <con...@lanl.gov>
wrote:

> Hello gang,
>
>   We're attempting to deploy the PV-5.4.1 Windows client via the SCCM
> utility on our systems here at LANL. Our SCCM team deployed the MPI-
> enabled version for user installation. Early testers are encountering
> an error message regarding a missing "msmpi.dll" library.  I'm
> suspecting that this particular build of PV is making use of
> Microsoft's MPI library/SDK?
>
> If so, I'll simply have our SCCM team deploy the non-MPI capable PV.
> Given that the common use case will be to use the PV GUI for a client-
> server connection to our HPC platforms, having a locally MPI-capable
> ParaView is likely overkill.
>
> Polite feedback is appreciated :-)
>
> Thanks!
>
>
> --
> !   Giovanni "Vann" Cone
> !   LANL HPC Consultant
> !   TA-3, BLDG 2327, RM 1128
> !   Schedule B
> !   (505) 665- option 3
> !...
> !   I fight for the users!
> END OF LINE
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Please vote for ParaView in the 2017 HPC Reader's choice awards!

2017-09-12 Thread David E DeMarle
We would like to thank everyone who has used and contributed to version 5.4
of ParaView this year.

To acknowledge the growth of ParaView, please join us in nominating the
fruit of our combined efforts for a 2017 HPCwire Readers’ Award in the
“Best HPC Visualization Product or Technology” category.

Nominations can be made at
https://www.hpcwire.com/2017-annual-hpcwire-readers-choice-awards/.

Thank you for your support!

For reference, the best of the new features in 5.4 are described here:
https://blog.kitware.com/paraview-5-4-0-release-notes/

David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [vtkusers] Do you have data that I might show off OSPRay rendering with?

2017-09-07 Thread David E DeMarle
Thanks for the references Bill.

My backup plan is to find a suitably licensed model of a car from one of
the sites like free3d, but I'm hoping for something more "real world" from
someone's day to day work out there.




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

On Thu, Sep 7, 2017 at 12:22 PM, Bill Lorensen <bill.loren...@gmail.com>
wrote:

> How about these insects. Here is an example:
> https://lorensen.github.io/VTKExamples/site/Cxx/IO/VRMLImporterDemo/
>
> There is a link on the example page.
>
> Also, https://free3d.com/ has lots of free models in various formats.
> I got the model shown in this example from that site:
> https://lorensen.github.io/VTKExamples/site/Cxx/IO/OBJImporter/
> The data is here:
> https://github.com/lorensen/VTKExamples/tree/master/src/
> Testing/Data/doorman
>
> Also, lots of interesting biological stuff at:
> https://3dprint.nih.gov/discover
>
> On Thu, Sep 7, 2017 at 12:02 PM, David E DeMarle
> <dave.dema...@kitware.com> wrote:
> > Hi lists,
> >
> > We've been working lately to expose OSPRay's path traced lights and
> > materials inside VTK and ParaView. I'd like to make some snazzy
> > photorealistic images and movies now and post them on the website, at
> > conferences  and in press releases.
> >
> > Unsurprisingly the images I can make out of vtkSphereSource and the like,
> > are not all that compelling. That's why I'm reaching out to see if anyone
> > has some great looking, real world, data that I might work with.
> >
> > I am thinking something like a car with lots of glass and metal and
> rubber
> > would be ideal - especially if the data also had some interesting
> attribute
> > data on it that I could colormap at the same time. I'm more than happy to
> > attribute the data however you like.
> >
> > Feel free to contact me off-list if you like.
> >
> > thanks
> >
> > David E DeMarle
> > Kitware, Inc.
> > Principal Engineer
> > 21 Corporate Drive
> > Clifton Park, NY 12065-8662
> > Phone: 518-881-4909
> >
> > ___
> > 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 VTK FAQ at:
> > http://www.vtk.org/Wiki/VTK_FAQ
> >
> > Search the list archives at: http://markmail.org/search/?q=vtkusers
> >
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/vtkusers
> >
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
>
___
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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Do you have data that I might show off OSPRay rendering with?

2017-09-07 Thread David E DeMarle
Hi lists,

We've been working lately to expose OSPRay's path traced lights and
materials inside VTK and ParaView. I'd like to make some snazzy
photorealistic images and movies now and post them on the website, at
conferences  and in press releases.

Unsurprisingly the images I can make out of vtkSphereSource and the like,
are not all that compelling. That's why I'm reaching out to see if anyone
has some great looking, real world, data that I might work with.

I am thinking something like a car with lots of glass and metal and rubber
would be ideal - especially if the data also had some interesting attribute
data on it that I could colormap at the same time. I'm more than happy to
attribute the data however you like.

Feel free to contact me off-list if you like.

thanks

David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] OSPRay Surface Opacity

2017-09-07 Thread David E DeMarle
A couple of observations:

1) for surface rendering with color mapped array, vtk's OSPRay interface we
does not yet respect transparency (either at the actor level or in the
alpha channel of the colormap). If you use a solid color for the entire
actor (PV GUI color choice is "Solid Color" instead of one of the arrays in
the data) then we do respect opacity.

2) we turn on aoTransparencyEnabled whenever there are volumes in the scene
https://gitlab.kitware.com/vtk/vtk/blob/master/Rendering/OSPRay/vtkOSPRayRendererNode.cxx#L870
If your scene doesn't have volumes in it, then you'll need to compile from
source and enable that generally (remove the if conditon).

Feel free to submit patches or bug reports to for either of those things to
help us remember to improve them.






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

On Thu, Sep 7, 2017 at 2:57 AM, Stefano Capra <steve.ca...@gmail.com> wrote:

> Good morning,
> I am running ParaView 5.4.1-Qt5-OpenGL2-Windows-64bit and I was wondering
> if there is a way to activate the opacity rendering while using OSPRay
> ambient occlusion
>
> In the OSPRay website I have found this:
> "New SciVis renderer parameter aoTransparencyEnabled, controlling whether
> object transparency is respected when computing ambient occlusion (disabled
> by default, as it is considerable slower)"
>
> However I am not sure how to change that parameter in ParaView
>
> Thanks
> SC
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] XDMF Reader

2017-09-06 Thread David E DeMarle
On Wed, Sep 6, 2017 at 12:47 PM, D Haley  wrote:
...

> Does paraview support CollectionType="Temporal"? [1]. If it is

important, I am using paraview 5.4.0
>
>
Yes.

Try putting the spatial collection inside the temporal one. Promote 

Re: [Paraview] XDMF Reader

2017-09-06 Thread David E DeMarle
Please reply-all to keep the mailing list on the thread so everyone can
contribute to the discussion and benefit from it.

To make a multiblock from xdmf, enclose your grid inside of an
xdmfgridcollection like so:

  
 

 
  



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

On Wed, Sep 6, 2017 at 9:05 AM, D Haley <my...@gmx.com> wrote:

> Hello,
>
> Thanks very much for the pointer. I'm looking around for multiblock file
> specifications - does such a thing exist, particularly for an XDMF+HDF5
> wrapper?
>
> I've found an example for .vtp [1], but I can't seem to find any
> specifications on what constitutes a .vtmb file. Subsequently I'm having
> trouble fully understanding what is and is not permitted.
>
>
> Thanks!
>
> [1] https://public.kitware.com/pipermail/paraview/2009-April/011847.html
>
> On 06/09/17 10:44, David E DeMarle wrote:
> > Put the co-rect-mesh (image data) inside a grid collection (multiblock).
> >
> > Paraview's pipeline doesn't deal well with image data that changes
> > dimensions over time. This is not limited to xdmf. When inside a
> > multiblock, a different pipeline layer takes over and it works out.
> >
> > On Sep 6, 2017 5:09 AM, "D Haley" <my...@gmx.com> wrote:
> >
> >>
> >> Dear Paraview List,
> >>
> >> I'm trying to read some HDF files, which contain dense voxel data. In my
> >> calculations, I write out the HDF and wrapper XDMF data to store
> >> timestep and other metadata.
> >>
> >> This all works fine, until I want to have 2 different voxel sizes at 2
> >> different timesteps (different number of voxels in each dimension).
> >>
> >> When loading up the data as a series of time-steps, everything works
> >> until I reach the first set of data from the new size. When loading the
> >> data, the values in the voxels seem to become invalid, and the bounding
> >> box around the data starts moving in the direction of (1,1,1).
> >>
> >> I can load each timestep individually correctly, it is just when I try
> >> to load the entire timeseries that it fails.
> >>
> >> Does anyone know a solution for this? I have raw voxel grids in the
> >> program that generates the data, so I need to wrap them in something to
> >> provide a timestep. I'd rather avoid having to interface with VTK, as
> >> the code I am working on does not have a VTK dependency - I'm just
> >> post-processing with paraview.
> >>
> >> I'm opening the series via:
> >> File->Open, then select the tree item data-..xmdf
> >>
> >> each file is written as:
> >>
> >> data-1.hdf.xmdf
> >> data-2.hdf.xmdf
> >> 
> >>
> >> The XMDF files contain something like this
> >>
> >> Before problem timestep:
> >> ==
> >> 
> >> 
> >> http://www.w3.org/2003/XInclude; Version="2.2">
> >> 
> >> 
> >> 
> >> 
> >>  >> Format="XML">-1.26667 -1.26667 -1.26667
> >>  >> Format="XML">0.067 0.067 0.067
> >> 
> >> 
> >> data-59.hdf:/voxels
> >> 
> >> 
> >> 
> >> ==
> >>
> >> After problem timestep:
> >> ==
> >> 
> >> 
> >> http://www.w3.org/2003/XInclude; Version="2.2">
> >> 
> >> 
> >> 
> >> 
> >>  >> Format="XML">-1 -1 -1
> >>  >> Format="XML">0.067 0.067 0.067
> >> 
> >> 
> >> data-60.hdf:/voxels
> >> 
> >> 
> >> 
> >> ==
> >>
> >>
> >> Thanks!
> >> ___
> >> 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:
> >> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] XDMF Reader

2017-09-06 Thread David E DeMarle
Put the co-rect-mesh (image data) inside a grid collection (multiblock).

Paraview's pipeline doesn't deal well with image data that changes
dimensions over time. This is not limited to xdmf. When inside a
multiblock, a different pipeline layer takes over and it works out.

On Sep 6, 2017 5:09 AM, "D Haley"  wrote:

>
> Dear Paraview List,
>
> I'm trying to read some HDF files, which contain dense voxel data. In my
> calculations, I write out the HDF and wrapper XDMF data to store
> timestep and other metadata.
>
> This all works fine, until I want to have 2 different voxel sizes at 2
> different timesteps (different number of voxels in each dimension).
>
> When loading up the data as a series of time-steps, everything works
> until I reach the first set of data from the new size. When loading the
> data, the values in the voxels seem to become invalid, and the bounding
> box around the data starts moving in the direction of (1,1,1).
>
> I can load each timestep individually correctly, it is just when I try
> to load the entire timeseries that it fails.
>
> Does anyone know a solution for this? I have raw voxel grids in the
> program that generates the data, so I need to wrap them in something to
> provide a timestep. I'd rather avoid having to interface with VTK, as
> the code I am working on does not have a VTK dependency - I'm just
> post-processing with paraview.
>
> I'm opening the series via:
> File->Open, then select the tree item data-..xmdf
>
> each file is written as:
>
> data-1.hdf.xmdf
> data-2.hdf.xmdf
> 
>
> The XMDF files contain something like this
>
> Before problem timestep:
> ==
> 
> 
> http://www.w3.org/2003/XInclude; Version="2.2">
> 
> 
> 
> 
>  Format="XML">-1.26667 -1.26667 -1.26667
>  Format="XML">0.067 0.067 0.067
> 
> 
> data-59.hdf:/voxels
> 
> 
> 
> ==
>
> After problem timestep:
> ==
> 
> 
> http://www.w3.org/2003/XInclude; Version="2.2">
> 
> 
> 
> 
>  Format="XML">-1 -1 -1
>  Format="XML">0.067 0.067 0.067
> 
> 
> data-60.hdf:/voxels
> 
> 
> 
> ==
>
>
> Thanks!
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] Is anyone using the Extra Headlight in ParaView?

2017-08-17 Thread David E DeMarle
The only reason to "get rid of it" is because something new is coming that
is a superset of its functionality. From a user perspective it would be
instead of "turn on the extra headlight" it would be "add light and select
headlight as its type". Afterward they would behave exactly the same.




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

On Thu, Aug 17, 2017 at 1:51 PM, Moreland, Kenneth <kmo...@sandia.gov>
wrote:

> The use case Alan brings up is captured in bug 17236:
> https://gitlab.kitware.com/paraview/paraview/issues/17236. Until that bug
> is fixed, I would argue strenuously against disabling the headlight. The
> implementation of the bug fix may or may not require the headlight to stick
> around (depending on how it is implemented).
>
>
>
> I don’t personally have any other use case for the headlight, but it is a
> convenient way to get a bright light shining directly on the view. It’s
> valuable to quickly illuminate an object where the shading has made the
> colors murky. Is there a compelling reason to get rid of it? It’s tucked
> away in an innocuous corner of the GUI.
>
>
>
> -Ken
>
>
>
> *From:* ParaView [mailto:paraview-boun...@paraview.org] *On Behalf Of *Scott,
> W Alan
> *Sent:* Thursday, August 17, 2017 11:16 AM
> *To:* DeMarle, David E. (External Contacts) <dave.dema...@kitware.com>;
> paraview@paraview.org
> *Subject:* Re: [Paraview] [EXTERNAL] Is anyone using the Extra Headlight
> in ParaView?
>
>
>
> No objection here.  Only thought I have is that the lights may be setup by
> default slightly differently for 2d and 3d.  We may want a “headlight” for
> 2d.
>
>
>
>
>
> Alan
>
>
>
> *From:* ParaView [mailto:paraview-boun...@paraview.org
> <paraview-boun...@paraview.org>] *On Behalf Of *David E DeMarle
> *Sent:* Thursday, August 17, 2017 7:35 AM
> *To:* paraview@paraview.org
> *Subject:* [EXTERNAL] [Paraview] Is anyone using the Extra Headlight in
> ParaView?
>
>
>
> By default, Paraview illuminates the scene with a vtkLightKit
> <http://www.vtk.org/doc/release/5.0/html/a01682.html>. You can however
> add an extra headlight. I am about to add a more general capability which
> lets you add any number and any kind of light, including the headlight.
> When I do that, the semi-hardcoded extra headlight becomes redundant. I
> would like to remove it to streamline both the code and the UI.
>
> Are there any objections to me doing that?
>
> David E DeMarle
> Kitware, Inc.
> Principal Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909 <(518)%20881-4909>
>
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] Is anyone using the Extra Headlight in ParaView?

2017-08-17 Thread David E DeMarle
I wasn't aware of that bug. Thanks Alan we will try steer towards that as
well.




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

On Thu, Aug 17, 2017 at 1:40 PM, Scott, W Alan <wasc...@sandia.gov> wrote:

> I believe this is the bug Dave is working on: https://gitlab.kitware.com/
> paraview/paraview/issues/13963.  Dave – am I correct?
>
>
>
> Alan
>
>
>
> *From:* Timothy Dwight Dunn [mailto:timothy.d...@colorado.edu]
> *Sent:* Thursday, August 17, 2017 11:34 AM
> *To:* Scott, W Alan <wasc...@sandia.gov>
> *Cc:* DeMarle, David E. (External Contacts) <dave.dema...@kitware.com>;
> paraview@paraview.org
> *Subject:* Re: [Paraview] [EXTERNAL] Is anyone using the Extra Headlight
> in ParaView?
>
>
>
> Actually I was just talking about this in a Paraview tutorial I gave this
> morning at a conference. I would prefer to kill the hard coded light
> allowing the ability to add in general lights that the user can design and
> setup. In addition to save a conf out for the setup to be used as a
> default. I normally set things up in Paraview export what I need pop them
> in a CG app so that I can light them with so much more control but this is
> often difficult at best to impossible as the norm due to complexity of the
> scene. If we could get more and better light control, especially with
> Osprey then I'd be a very happy camper.
>
>
> Just to make really difficult make sure the lights interact with
> objects/layers as desired by the user, including volumeterics. This is a
> common thing to do in CG apps. Light objects A,B,C with light rig1, object
> D,E with light rig2 and object F with light rig3  The easiest way to do
> this is to have a panel for each light, or for paraview the gui controls
> with a check box list for each available layer which can
> activate/deactivate each light per layer. OK this makes sense in my head
> but I don't think I'm explaining it well do to conference exhaustion. If
> desired I can do a mock up gui layout image of what I'm trying to describe.
>
>
> Tim Dunn
> Scientific\Data Visualization & Visual Analytics for;
> CIRES - Earth Lab-Analytics Hub
> CU Research Computing (CURC)
>
> Center for Research Data and Digital Scholarship (CRDDS)
>
> td...@colorado.edu
>
>
>
> On Thu, Aug 17, 2017 at 11:16 AM, Scott, W Alan <wasc...@sandia.gov>
> wrote:
>
> No objection here.  Only thought I have is that the lights may be setup by
> default slightly differently for 2d and 3d.  We may want a “headlight” for
> 2d.
>
>
>
>
>
> Alan
>
>
>
> *From:* ParaView [mailto:paraview-boun...@paraview.org] *On Behalf Of *David
> E DeMarle
> *Sent:* Thursday, August 17, 2017 7:35 AM
> *To:* paraview@paraview.org
> *Subject:* [EXTERNAL] [Paraview] Is anyone using the Extra Headlight in
> ParaView?
>
>
>
> By default, Paraview illuminates the scene with a vtkLightKit
> <http://www.vtk.org/doc/release/5.0/html/a01682.html>. You can however
> add an extra headlight. I am about to add a more general capability which
> lets you add any number and any kind of light, including the headlight.
> When I do that, the semi-hardcoded extra headlight becomes redundant. I
> would like to remove it to streamline both the code and the UI.
>
> Are there any objections to me doing that?
>
> David E DeMarle
> Kitware, Inc.
> Principal Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909 <(518)%20881-4909>
>
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] Is anyone using the Extra Headlight in ParaView?

2017-08-17 Thread David E DeMarle
Yes please do provide a mockup when you get a chance. I think I see your
idea but a picture is worth a million lines of code.



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

On Thu, Aug 17, 2017 at 1:34 PM, Timothy Dwight Dunn <
timothy.d...@colorado.edu> wrote:

> Actually I was just talking about this in a Paraview tutorial I gave this
> morning at a conference. I would prefer to kill the hard coded light
> allowing the ability to add in general lights that the user can design and
> setup. In addition to save a conf out for the setup to be used as a
> default. I normally set things up in Paraview export what I need pop them
> in a CG app so that I can light them with so much more control but this is
> often difficult at best to impossible as the norm due to complexity of the
> scene. If we could get more and better light control, especially with
> Osprey then I'd be a very happy camper.
>
> Just to make really difficult make sure the lights interact with
> objects/layers as desired by the user, including volumeterics. This is a
> common thing to do in CG apps. Light objects A,B,C with light rig1, object
> D,E with light rig2 and object F with light rig3  The easiest way to do
> this is to have a panel for each light, or for paraview the gui controls
> with a check box list for each available layer which can
> activate/deactivate each light per layer. OK this makes sense in my head
> but I don't think I'm explaining it well do to conference exhaustion. If
> desired I can do a mock up gui layout image of what I'm trying to describe.
>
>
> Tim Dunn
> Scientific\Data Visualization & Visual Analytics for;
> CIRES - Earth Lab-Analytics Hub
> CU Research Computing (CURC)
> Center for Research Data and Digital Scholarship (CRDDS)
> td...@colorado.edu
>
> On Thu, Aug 17, 2017 at 11:16 AM, Scott, W Alan <wasc...@sandia.gov>
> wrote:
>
>> No objection here.  Only thought I have is that the lights may be setup
>> by default slightly differently for 2d and 3d.  We may want a “headlight”
>> for 2d.
>>
>>
>>
>>
>>
>> Alan
>>
>>
>>
>> *From:* ParaView [mailto:paraview-boun...@paraview.org] *On Behalf Of *David
>> E DeMarle
>> *Sent:* Thursday, August 17, 2017 7:35 AM
>> *To:* paraview@paraview.org
>> *Subject:* [EXTERNAL] [Paraview] Is anyone using the Extra Headlight in
>> ParaView?
>>
>>
>>
>> By default, Paraview illuminates the scene with a vtkLightKit
>> <http://www.vtk.org/doc/release/5.0/html/a01682.html>. You can however
>> add an extra headlight. I am about to add a more general capability which
>> lets you add any number and any kind of light, including the headlight.
>> When I do that, the semi-hardcoded extra headlight becomes redundant. I
>> would like to remove it to streamline both the code and the UI.
>>
>> Are there any objections to me doing that?
>>
>> David E DeMarle
>> Kitware, Inc.
>> Principal Engineer
>> 21 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-881-4909 <(518)%20881-4909>
>>
>> ___
>> 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:
>> http://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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Is anyone using the Extra Headlight in ParaView?

2017-08-17 Thread David E DeMarle
By default, Paraview illuminates the scene with a vtkLightKit
<http://www.vtk.org/doc/release/5.0/html/a01682.html>. You can however add
an extra headlight. I am about to add a more general capability which lets
you add any number and any kind of light, including the headlight. When I
do that, the semi-hardcoded extra headlight becomes redundant. I would like
to remove it to streamline both the code and the UI.

Are there any objections to me doing that?

David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Get value of a vtkintarray object by the filed name

2017-08-08 Thread David E DeMarle
Try:

inRArray = ids.GetPointData().GetArray("R")
inGArray = ids.GetPointData().GetArray("G")
inBArray = ids.GetPointData().GetArray("B")  for x in range(0,
ids.GetNumberOfPoints()):
  rF = inRArray.GetValue(x)
  gF = inGArray.GetValue(x)
  bF = inBArray.GetValue(x)


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

On Tue, Aug 8, 2017 at 7:08 AM, Shayan Nikoohemat <
shayan.nikoohe...@gmail.com> wrote:

> I have a Paraview programmable filter written in python, that I am
> running on a table of points to assign RGB colors as UnsignedCharArray.
> I'm just stuck in one part of the code to get the value of R, G, B fields
> in the range. Here is the table example:
>
> [image: Inline image 1]
>
> ids = self.GetInput()
> ods = self.GetOutput()
>
> ocolors = vtk.vtkUnsignedCharArray()
> ocolors.SetName("colors")
> ocolors.SetNumberOfComponents(3)
> ocolors.SetNumberOfTuples(ids.GetNumberOfPoints())
>
> inArray = ids.GetPointData().GetArray(0)for x in range(0, 
> ids.GetNumberOfPoints()):
>   rF = inArray.GetValue(x) # here I need something like GetValue(x, "R")
>   gF = inArray.GetValue(x) # here I need something like GetValue(x, "G")
>   bF = inArray.GetValue(x) # here I need something like GetValue(x, "B")
>
>   ocolors.SetTuple3(x, rF,gF,bF)
>
> ods.GetPointData().AddArray(ocolors)
>
> Can anyone help me to fix this.
>
> The code source is from an old post from 2012.
>
> Thanks.
>
> Shayan
>
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] How to properly visualize data in Paraview using HDF5?

2017-07-10 Thread David E DeMarle
cc'ing the list back in

xdmf has join for this purpose, but I typically use python filter in
paraview to join the scalars together into a vector instead. That route is
more widely traveled.





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

On Mon, Jul 10, 2017 at 3:53 PM, Jake Gerard <jake.a.ger...@gmail.com>
wrote:

> No, it shows the length properly down the z-axis when I have it as 91 19
> 19, but the data is not correct for either of these. I think that the data
> may actually be stored improperly in the HDF5 because I created dummy files
> and they worked fine.  However, if I were to add vectors in using 3
> seperate arrays (1 for x y and z) then how would I alter the current
> format?
>
> On Mon, Jul 10, 2017 at 1:58 PM, David E DeMarle <dave.dema...@kitware.com
> > wrote:
>
>> Does 19 19 91 work?
>>
>>
>> David E DeMarle
>> Kitware, Inc.
>> Principal Engineer
>> 21 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-881-4909 <(518)%20881-4909>
>>
>> On Mon, Jul 10, 2017 at 11:46 AM, Jake Gerard <jake.a.ger...@gmail.com>
>> wrote:
>>
>>> Good Morning,
>>>
>>> I am trying to update the visualization portion of an HPC fluid model.
>>> Used to use legacy VTK but its starting to reach its limits. I read that
>>> HDF5 was good for large data sets and that it could be viewed in Paraview
>>> with XDMF. However, it seems there are so few examples online. I got a long
>>> rectangular channel to show up but the pressure data in it is wrong.
>>> Hopefully if I can solve this, then it will help me update my code along
>>> with anybody else who might be struggling with the same problem.
>>>
>>> Is the formatting for this XDMF file incorrect, or is there some other
>>> problem I'm not considering?  I can attach the HDF5 file too if its
>>> necessary.
>>>
>>> 
>>>   
>>> 
>>>   
>>>   
>>>   
>>> 
>>>   0 0 0
>>> 
>>> 
>>>   1 1 1
>>> 
>>>   
>>>   
>>> 
>>>   output.h5:/pres_group/presmag
>>> 
>>>   
>>> 
>>>   
>>>
>>> Thanks
>>>
>>>
>>> ___
>>> 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:
>>> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] How to properly visualize data in Paraview using HDF5?

2017-07-10 Thread David E DeMarle
Does 19 19 91 work?


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

On Mon, Jul 10, 2017 at 11:46 AM, Jake Gerard <jake.a.ger...@gmail.com>
wrote:

> Good Morning,
>
> I am trying to update the visualization portion of an HPC fluid model.
> Used to use legacy VTK but its starting to reach its limits. I read that
> HDF5 was good for large data sets and that it could be viewed in Paraview
> with XDMF. However, it seems there are so few examples online. I got a long
> rectangular channel to show up but the pressure data in it is wrong.
> Hopefully if I can solve this, then it will help me update my code along
> with anybody else who might be struggling with the same problem.
>
> Is the formatting for this XDMF file incorrect, or is there some other
> problem I'm not considering?  I can attach the HDF5 file too if its
> necessary.
>
> 
>   
> 
>   
>   
>   
> 
>   0 0 0
> 
> 
>   1 1 1
> 
>   
>   
> 
>   output.h5:/pres_group/presmag
> 
>   
> 
>   
>
> Thanks
>
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [Camera Control] - Clipping Range

2017-07-07 Thread David E DeMarle
Try LockBounds.

For example:
view = GetActiveView()
view.MaxClipBounds = [x0,x1,y0,y1,z0,z1]
view.LockBounds = 1

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

On Fri, Jul 7, 2017 at 2:51 PM, Utkarsh Ayachit <utkarsh.ayac...@kitware.com
> wrote:

> Currently, you can't. ParaView doesn't let user change ClippingRange. It
> resets it internally before each render.
>
> On Fri, Jul 7, 2017 at 2:44 PM, Mariam <mbahame...@gmail.com> wrote:
>
>> Hi,
>>
>> I am trying to control the camera attributes from pvpython, I noticed
>> that if I modified Clipping Range & Thickness then called Render() the
>> values are reset to the original values. However, changes in camera
>> position, focal point, view up and viewing angle take effect after Render().
>>
>>
>>
>> Here is a snippet of the code:
>>
>> *from *paraview.simple *import **
>> paraview.simple._DisableFirstRenderCameraReset()
>>
>> sphere = Sphere()
>> Show()
>> Render()
>>
>> camera = GetActiveCamera()
>> camera.GetFocalPoint()
>> (0.0, 0.0, 0.0)
>>
>> camera.GetPosition()
>> (0.0, 0.0, 6.69)
>>
>> camera.GetClippingRange()
>> (5.6281001, 8.0428501)
>>
>> camera.SetPosition(0,0,3)
>> Render()
>>
>>
>> camera.GetPosition()
>> (0.0, 0.0, 3.0)
>>
>>
>> camera.GetClippingRange()
>> (1.975, 4.2975)
>>
>> camera.SetClippingRange(3,8)
>> camera.GetClippingRange()
>> (3.0, 8.0)
>>
>> Render()
>>
>>
>> *camera.GetClippingRange()(1.975, 4.2975)*
>>
>>
>>
>>
>>
>> How can I force changes on Clipping Range & Thickness values?
>>
>>
>>
>> Regards,
>>
>> ___
>> 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:
>> http://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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] superbuild: configure: error swr requires C++14 support

2017-07-04 Thread David E DeMarle
Hi Nabil,

That was a regression that snuck in just before the 5.4.0 tag. Apologies.

One commit beyond the tag fixes it by patching mesa 17.1.1 to remove the
c++14 dependency.
https://gitlab.kitware.com/paraview/paraview-superbuild/commit/aa8a66b270fb481e39b9919f9ea68017a3a1543b

The patch is also now in mesa 17.1.3. ParaView 5.4.1 will address this by
bumping mesa and removing the patch.

hth




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

On Tue, Jul 4, 2017 at 9:02 AM, Nabil Ghodbane <nabil.ghodb...@gmail.com>
wrote:

> dear experts
> I am trying to compile Paraview with the latest superbuild using gcc 4.8.5
> the compilation fails with the error message that C++14 is needed...
> *configure: error swr requires C++14 support*
>
> This raises two questions:
> 1/ Can one switch to c++11  and if yes, how ?
> 2/ what is the minimal configuration for gcc one needs to setup in order
> to be able to compile Paraview with superbuild.
> thanks
>
>
> Nabil Ghodbane (Ph. D. Habil*.*)
> Phone: +33 6 34 42 33 43 <+33%206%2034%2042%2033%2043>
> Mailto: nabil.ghodb...@gmail.com
>
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Windows build with PCL plugin?

2017-06-29 Thread David E DeMarle
99% certain that you have to build from source.
The paraview binaries from Kitware do not have it.


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

On Wed, Jun 28, 2017 at 8:47 PM, Ben Harrison <ben.harri...@arup.com> wrote:

> Please excuse the basic nature of this... I would like a Windows build of
> ParaView with the PCL plugin for point cloud processing. Do I need to
> compile from source to do this, or is there already a binary with this
> plugin included?
>
> Regards,
> Ben
>
> 
> Electronic mail messages entering and leaving Arup business
> systems are scanned for viruses and acceptability of content
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] FW: paraview error.

2017-06-23 Thread David E DeMarle
That is a Qt thing and not strongly related to ParaView. I found out about
on a non ParaView project (Cinema's qt viewer) a while ago.

It basically tells Qt apps not to rely on the availability of shared memory
in X something or other.




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

On Fri, Jun 23, 2017 at 4:35 PM, Scott, W Alan <wasc...@sandia.gov> wrote:

> Dave,
>
> What does this environment variable do?
>
>
>
> Is there a list of magic environment variables for ParaView?  Where is it?
>
>
>
> Thanks,
>
>
>
> Alan
>
>
>
> *From:* Rana, Raheel (Tek Connexion) [mailto:raheel.r...@arconic.com]
> *Sent:* Friday, June 23, 2017 1:41 PM
> *To:* DeMarle, David E. (External Contacts) <dave.dema...@kitware.com>
> *Cc:* Scott, W Alan <wasc...@sandia.gov>; paraview@paraview.org
> *Subject:* RE: Re: [Paraview] [EXTERNAL] FW: paraview error.
>
>
>
> Thank you it works!!
>
>
>
> *From:* David E DeMarle [mailto:dave.dema...@kitware.com
> <dave.dema...@kitware.com>]
> *Sent:* Friday, June 23, 2017 3:30 PM
> *To:* Rana, Raheel (Tek Connexion) <raheel.r...@arconic.com>
> *Cc:* Scott, W Alan <wasc...@sandia.gov>; paraview@paraview.org
> *Subject:* EXT: Re: [Paraview] [EXTERNAL] FW: paraview error.
>
>
>
>
>
> On Fri, Jun 23, 2017 at 3:19 PM, Rana, Raheel (Tek Connexion) <
> raheel.r...@arconic.com> wrote:
>
> "MIT-SHM" missing
>
>
> Try setting this environment variable before you start ParaView.
>
> QT_X11_NO_MITSHM=1
>
>
>
>
> David E DeMarle
> Kitware, Inc.
> Principal Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909 <(518)%20881-4909>
>
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] FW: paraview error.

2017-06-23 Thread David E DeMarle
On Fri, Jun 23, 2017 at 3:19 PM, Rana, Raheel (Tek Connexion) <
raheel.r...@arconic.com> wrote:

> "MIT-SHM" missing


Try setting this environment variable before you start ParaView.

QT_X11_NO_MITSHM=1



David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview Python best practise?

2017-06-23 Thread David E DeMarle
On Fri, Jun 23, 2017 at 12:44 PM, Shuhao Wu  wrote:

> Hello,
>
> I was wondering if there are any sort of general best practise when
> writing Python based Paraview scripts for visualizations. From the
> materials I've gathered, everything feels very much like mutating a global
> state machine, which might not be the best if you want to turn certain
> actions into a library/general utility executable. What are the best
> practises in this regard?
>
>
Others can provide better advice than I on this point.


> Furthermore, is there a way to specify ProgrammableFilter not as strings
> but in a file that you import and invoke? Judging from the source code it
> doesn't appear this is an ability that comes out of the box as it just
> spins up a python interpreter with that string. I've tried to create a
> function and them execute it, but this only works under pvpython, not with
> the python shell in the Paraview GUI. What are the best practises for this,
> as well?
>
>
I find Programmable Filter script string(s) that simply execfile(...) or
import ... are convenient for this.


> Thanks,
> Shuhao
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensou
> rce/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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Simple XDMF example

2017-06-22 Thread David E DeMarle
Try something like this:

http://www.w3.org/2001/XInclude; Version="3.0">
  

  
0 0 0
1 1 1
  
  
  
small_ds.hdf5:/myelin
  

  


If that doesn't work sent me the h5 offlist and I'll fix the above

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

On Thu, Jun 22, 2017 at 1:34 PM, Insley, Joseph A. <ins...@anl.gov> wrote:

> Hi all,
>
> I am trying to get a simple XDMF example working, but am having no
> success.  I must be doing something obvious wrong, but I’m not seeing it.
> Here’s what the data looks like:
>
> $ h5dump -H ./small_ds.hdf5
> HDF5 "./small_ds.hdf5" {
> GROUP "/" {
>DATASET "myelin" {
>   DATATYPE  H5T_STD_U8LE
>   DATASPACE  SIMPLE { ( 256, 256, 256 ) / ( 256, 256, 256 ) }
>}
> }
> }
>
> And here’s the xdmf file I’m trying to use:
>
> 
> 
> http://www.w3.org/2001/XInclude;>
> 
>Format="HDF"
>   NumberType="UInt"
>   Precision="1"
>   Dimensions="256 256 256">
> small_ds.hdf5:/myelin
> 
> 
> 
>
> Choosing the Xdmf3 Reader or Xdmf3 Reader (Top Level Partition) results in
> an empty data set, where there are no point or cell arrays, and everything
> on the Information tab is listed as NA.
> Choosing the Xdmf Reader results in a seg fault.
>
> Any suggestions would be appreciated.
>
> Thanks
> joe
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] lustre benchmark

2017-06-08 Thread David E DeMarle
On Thu, Jun 8, 2017 at 4:51 AM, Nigro, Francesco <
francesco.ni...@ferrari.com> wrote:

> Hi all,
>
> Does anyone benchmarked paraview on different filesystems?
>
>
I don't know the answer to that but would be interested in the results.


>
>
> Does a parallel fs, such as Lustre,  really boost performance?
>
>
Emphatically yes, with the caveat that the data has to be large, and the
format must be one that we have a parallel aware reader for. If the data is
small or every node has to read the same portions then performance will be
bad in parallel regardless and the PFS can make it worse.


>
>
> Any suggestions about best fs for paraview?
>
>
No opinion here. Lustre seems to be standard on most large machines.


>
>
> Many thanks,
>
> fn
>
> [image: Ferrari]
> --
>
> Questo messaggio è da intendersi esclusivamente ad uso del destinatario e
> può contenere informazioni che sono di natura privilegiata, confidenziale o
> non divulgabile secondo le leggi vigenti. Se il lettore del presente
> messaggio non è il destinatario designato, o il dipendente/agente
> responsabile per la consegna del messaggio al destinatario designato, si
> informa che ogni disseminazione, distribuzione o copiatura di questa
> comunicazione è strettamente proibita anche ai sensi del decreto
> legislativo 196/03 . Se avete ricevuto questo messaggio per errore, vi
> preghiamo di notificarcelo immediatamente a mezzo e-mail di risposta e
> successivamente di procedere alla cancellazione di questa e-mail e relativi
> allegati dal vostro sistema.
> --
>
> This message is intended only for the use of the addressee and may contain
> information that is privileged, confidential and exempt from disclosure
> under applicable law. If the reader of this message is not the intended
> recipient, or the employee or agent responsible for delivering the message
> to the intended recipient, you are hereby notified that any dissemination,
> distribution or copying of this communication is strictly prohibited. If
> you have received this e-mail in error, please notify us immediately by
> return e-mail and delete this e-mail and all attachments from your system.
> --
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] 3D Data Visualisation

2017-06-07 Thread David E DeMarle
I recommend Filters->PointVolumeInterpolator to make a mesh out of these
isolated points so that you have something to isocontour within.

On also recommend Enable OSPRay or to change Representation to Point
Gaussian to give these points some extent an local normals to make the
lighting look better on the point cloud.


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

On Wed, Jun 7, 2017 at 9:58 AM, Partridge, Ben D <
b.partridg...@imperial.ac.uk> wrote:

> Hi Cory
>
>
> Yes certainly,  I have attached an Image below. The image shows a section
> of the bone marrow in 3D. I wish to wrap an Isosurface around this.
>
>
> Thanks
>
> Ben
> --
> *From:* Cory Quammen <cory.quam...@kitware.com>
> *Sent:* 07 June 2017 14:01:36
> *To:* Partridge, Ben D
> *Cc:* paraview@paraview.org
> *Subject:* Re: [Paraview] 3D Data Visualisation
>
> Ben,
>
> I'm not sure that I entirely understand your problem. Could you attach
> a small image showing what you are seeing? That may give me a clue on
> how to guide you.
>
> Thanks,
> Cory
>
> On Wed, Jun 7, 2017 at 7:01 AM, Partridge, Ben D
> <b.partridg...@imperial.ac.uk> wrote:
> > Hi Guys
> >
> >
> > Probably a naive question - but I have the 3D pixel coordinates of a
> > microscopy image that I wish to reconstruct using paraview, I have loaded
> > the coordinates in fine and the image is displayed. However,the
> > re-constructed image looks more like 2D projection of a 3D image as
> opposed
> > to looking truly 3D. I was wondering what the easiest way is in which to
> > create a 3-D Isosurface with shadows/contours etc from my co-ordinate
> > positions?
> >
> >
> > Many thanks
> >
> > Ben
> >
> >
> > ___
> > 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:
> > http://public.kitware.com/mailman/listinfo/paraview
> >
>
>
>
> --
> Cory Quammen
> Staff R Engineer
> Kitware, Inc.
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [Paraview-developers] ParaView 5.4.0 Release Candidate 2 binaries are available for download

2017-05-17 Thread David E DeMarle
Cory can you summarize what changed between RC1 and RC2?

thanks

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

On Tue, May 16, 2017 at 4:14 PM, Cory Quammen <cory.quam...@kitware.com>
wrote:

> On behalf of the ParaView development community, I am pleased to
> announce that binaries and source code for ParaView 5.4.0-RC2 are
> available to download from
>
> http://www.paraview.org/download/
>
> There was a slight problem building the Linux binary and the
> AcuSolveReaderPlugin, so those are not yet available, but they will be
> uploaded as soon as possible. I will reply to this email when they are
> available for download.
>
> Please let us know if you run into any problems with this release
> candidate.
>
> Thank you,
> Cory
>
> --
> Cory Quammen
> Staff R Engineer
> Kitware, Inc.
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=
> Paraview-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] xdmf2 vs xdmf3 file type

2017-05-17 Thread David E DeMarle
We're planning to deprecate and remove xdmf2 this summer. So this will be
less of an issue in a release or two.
That said feel free to submit a merge request and I'll merge it.



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

On Wed, May 17, 2017 at 5:05 AM, Nico Schlömer <nico.schloe...@gmail.com>
wrote:

> Any chance of this landing upstream?
>
> Cheers,
> Nico
>
> On Tue, Apr 25, 2017 at 3:21 PM David E DeMarle <dave.dema...@kitware.com>
> wrote:
>
>> This should do it.
>> diff --git 
>> a/ParaViewCore/ServerManager/SMApplication/Resources/proxies_xdmf3.xml
>> b/ParaViewCore/ServerManager/SMApplication/Resources/proxies_xdmf3.xml
>> index 46bf7fb..9236ebd 100644
>> --- a/ParaViewCore/ServerManager/SMApplication/Resources/
>> proxies_xdmf3.xml
>> +++ b/ParaViewCore/ServerManager/SMApplication/Resources/
>> proxies_xdmf3.xml
>> @@ -95,7 +95,7 @@
>>
>>
>>
>> -> +> file_description="Xdmf3 Reader" />
>>
>>
>> @@ -128,7 +128,7 @@ type, otherwise it's a vtkMultiBlockDataSet.
>>
>>
>>
>> -> +> file_description="Xdmf3 Reader" />
>>
>>
>> @@ -158,7 +158,7 @@ type, otherwise it's a vtkMultiBlockDataSet.
>>
>>
>>
>> -> +> file_description="Xdmf3 Reader (Top Level
>> Partition)" />
>>
>>
>> diff --git a/ParaViewCore/ServerManager/SMApplication/Resources/readers.xml
>> b/ParaViewCore/ServerManager/SMApplication/Resources/readers.xml
>> index 0eb9ec0..22e0dc5 100644
>> --- a/ParaViewCore/ServerManager/SMApplication/Resources/readers.xml
>> +++ b/ParaViewCore/ServerManager/SMApplication/Resources/readers.xml
>> @@ -5550,7 +5550,7 @@
>>  Available timestep values.
>>
>>
>> -> +> file_description="Xdmf Reader" />
>>
>>
>>
>>
>> David E DeMarle
>> Kitware, Inc.
>> R Engineer
>> 21 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-881-4909 <(518)%20881-4909>
>>
>> On Tue, Apr 25, 2017 at 7:17 AM, Nico Schlömer <nico.schloe...@gmail.com>
>> wrote:
>>
>>> > If one had something like xmf2 and the other xmf3 it would do what
>>> you are asking for.
>>> > You could do that if you build from source for example.
>>>
>>> I don't have a problem with that. What do I need to patch?
>>>
>>> Cheers,
>>> Nico
>>>
>>>
>>> On Mon, Apr 24, 2017 at 11:07 PM David E DeMarle <
>>> dave.dema...@kitware.com> wrote:
>>>
>>>> They both claim ".xmf" and ".xdmf" via the ReaderFactor extensions line
>>>> you will find in readers.xml and proxies_xdmf3.xml. If one had something
>>>> like xmf2 and the other xmf3 it would do what you are asking for. You could
>>>> do that if you build from source for example.
>>>>
>>>> If not you should be able to force something like that by making a
>>>> dummy reader xml only plugin just to get the file extension association.
>>>> See http://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_a_Reader
>>>> for hints.
>>>>
>>>>
>>>>
>>>>
>>>> David E DeMarle
>>>> Kitware, Inc.
>>>> R Engineer
>>>> 21 Corporate Drive
>>>> Clifton Park, NY 12065-8662
>>>> Phone: 518-881-4909 <(518)%20881-4909>
>>>>
>>>> On Mon, Apr 24, 2017 at 4:58 PM, Nico Schlömer <
>>>> nico.schloe...@gmail.com> wrote:
>>>>
>>>>> Hi everyone,
>>>>>
>>>>> I have a simulation code that spits out XDMF2 data (something.xdmf),
>>>>> and I can visualize that with ParaView by opening the file, then selecting
>>>>> XDMF over XDMF3 in a menu.
>>>>> Since I have to repeat this process often, I'm asking myself if
>>>>> there's a specific XDMF2 (or XDMF3) file extension that would allow me to
>>>>> skip the dialog.
>>>>>
>>>>> Any hints?
>>>>>
>>>>> Cheers,
>>>>> Nico
>>>>>
>>>>> ___
>>>>> 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:
>>>>> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] pvpython vtkMPIController usage? rank is always 0

2017-05-16 Thread David E DeMarle
Run with --symmetric.

Without it, only root node reads the script and it tells the rest of the
nodes what to do via paraview's proxy mechanisms (which take effect only
for vtkSMProxy and subclasses).
With it, every node reads and executes the script and all nodes do their
own parts behind the proxies.



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

On Tue, May 16, 2017 at 3:14 PM, Ephraim Obermaier <
ephraimoberma...@gmail.com> wrote:

> Thank you all for suggesting "pvbatch --mpi".
> At least, this returns size=2 processes, but the updated test.py (below)
> hangs with the following output:
>
> $ mpirun -n 2 pvbatch --mpi test.py
> comm: 
> rank: 0
> size: 2
> Process 0
>
> Why is "Process 1" not printed, and why does the program hang instead of
> finishing?
> The file test.py was simplified to:
>
> import vtk
> c = vtk.vtkMultiProcessController.GetGlobalController()
> print "comm:",type(c)
> rank = c.GetLocalProcessId()
> print "rank:",rank
> size = c.GetNumberOfProcesses()
> print "size:",size
> if rank == 0:
>   print "Process 0"
> else:
>   print "Process 1"
> c.Finalize()
>
> Thank you!
> Ephraim
>
>
>
> 2017-05-16 19:11 GMT+02:00 David E DeMarle <dave.dema...@kitware.com>:
>
>> Try your script within pvbatch.
>>
>> pvpython is analogous to the Qt client application, it (usually) is not
>> part of an MPI execution environment. Either one can connect to an MPI
>> parallel pvserver.
>> pvbatch is a python interface that is meant to be run on the server. It
>> is directly connected to the pvserver.
>>
>>
>>
>>
>>
>>
>> David E DeMarle
>> Kitware, Inc.
>> Principal Engineer
>> 21 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-881-4909 <(518)%20881-4909>
>>
>> On Tue, May 16, 2017 at 1:07 PM, Ephraim Obermaier <
>> ephraimoberma...@gmail.com> wrote:
>>
>>> Hello,
>>> I am trying to use VTK's MPI communication from pvpython, running with
>>> OpenMPI's mpirun. It seems like ParaView hasn't enabled the MPI
>>> capabilities for VTK, although it was compiled from source with
>>> PARAVIEW_USE_MPI=ON and correctly found the system OpenMPI-2.0.0 libraries
>>> and includes.
>>>
>>> I am running the short example below with the command "mpirun -n 2
>>> pvpython test.py". The full output is also attached.
>>> In short, both MPI processes report rank=0 and size=1 and their
>>> controller is a vtkDummyController although I expected rank=0..1, size=2
>>> and a vtkMPIController.
>>>
>>> Is it possible to determine the problem with the given information? Do I
>>> need extra CMake settings besides "PARAVIEW_USE_MPI=ON" to enable MPI for
>>> VTK?
>>> ParaView by itself runs fine in parallel, and I can start several
>>> parallel pvservers using "mpirun -n 16 pvserver".
>>>
>>> --- test.py: ---
>>> import vtk
>>>
>>> c = vtk.vtkMultiProcessController.GetGlobalController()
>>>
>>> print "comm:",type(c)
>>> rank = c.GetLocalProcessId()
>>> print "rank:",rank
>>> size = c.GetNumberOfProcesses()
>>> print "size:",size
>>>
>>> if rank == 0:
>>> ssource = vtk.vtkSphereSource()
>>> ssource.Update()
>>> print " 0 sending."
>>> c.Send(ssource.GetOutput(), 1, 1234)
>>> else:
>>> sphere = vtk.vtkPolyData()
>>> print " 1 receiving."
>>> c.Receive(sphere, 0, 1234)
>>> print sphere
>>>
>>> --- Test run: ---
>>> $ mpirun -n 2 pvpython test.py
>>> comm: 
>>> rank: 0
>>> size: 1
>>>  0 sending.
>>> Warning: In /home/user/.local/easybuild/build/ParaView/5.3.0/foss-2016b-
>>> mpi/ParaView-v5.3.0/VTK/Parallel/Core/vtkDummyCommunicator.h, line 47
>>> vtkDummyCommunicator (0x1ff74e0): There is no one to send to.
>>> [... 7 more times the same Warning...]
>>>
>>> comm: 
>>> rank: 0
>>> size: 1
>>>  0 sending.
>>> Warning: In /home/user/.local/easybuild/build/ParaView/5.3.0/foss-2016b-
>>> mpi/ParaView-v5.3.0/VTK/Parallel/Core/vtkDummyCommunicator.h, line 47
>>> vtkDummyCommunicator (0x22c14e0): There is no one to send to.
>>> [... 7 more times the same Warning...]
>>> --- end of outpu

Re: [Paraview] pvpython vtkMPIController usage? rank is always 0

2017-05-16 Thread David E DeMarle
Try your script within pvbatch.

pvpython is analogous to the Qt client application, it (usually) is not
part of an MPI execution environment. Either one can connect to an MPI
parallel pvserver.
pvbatch is a python interface that is meant to be run on the server. It is
directly connected to the pvserver.






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

On Tue, May 16, 2017 at 1:07 PM, Ephraim Obermaier <
ephraimoberma...@gmail.com> wrote:

> Hello,
> I am trying to use VTK's MPI communication from pvpython, running with
> OpenMPI's mpirun. It seems like ParaView hasn't enabled the MPI
> capabilities for VTK, although it was compiled from source with
> PARAVIEW_USE_MPI=ON and correctly found the system OpenMPI-2.0.0 libraries
> and includes.
>
> I am running the short example below with the command "mpirun -n 2
> pvpython test.py". The full output is also attached.
> In short, both MPI processes report rank=0 and size=1 and their controller
> is a vtkDummyController although I expected rank=0..1, size=2 and a
> vtkMPIController.
>
> Is it possible to determine the problem with the given information? Do I
> need extra CMake settings besides "PARAVIEW_USE_MPI=ON" to enable MPI for
> VTK?
> ParaView by itself runs fine in parallel, and I can start several parallel
> pvservers using "mpirun -n 16 pvserver".
>
> --- test.py: ---
> import vtk
>
> c = vtk.vtkMultiProcessController.GetGlobalController()
>
> print "comm:",type(c)
> rank = c.GetLocalProcessId()
> print "rank:",rank
> size = c.GetNumberOfProcesses()
> print "size:",size
>
> if rank == 0:
> ssource = vtk.vtkSphereSource()
> ssource.Update()
> print " 0 sending."
> c.Send(ssource.GetOutput(), 1, 1234)
> else:
> sphere = vtk.vtkPolyData()
> print " 1 receiving."
> c.Receive(sphere, 0, 1234)
> print sphere
>
> --- Test run: ---
> $ mpirun -n 2 pvpython test.py
> comm: 
> rank: 0
> size: 1
>  0 sending.
> Warning: In /home/user/.local/easybuild/build/ParaView/5.3.0/foss-
> 2016b-mpi/ParaView-v5.3.0/VTK/Parallel/Core/vtkDummyCommunicator.h, line
> 47
> vtkDummyCommunicator (0x1ff74e0): There is no one to send to.
> [... 7 more times the same Warning...]
>
> comm: 
> rank: 0
> size: 1
>  0 sending.
> Warning: In /home/user/.local/easybuild/build/ParaView/5.3.0/foss-
> 2016b-mpi/ParaView-v5.3.0/VTK/Parallel/Core/vtkDummyCommunicator.h, line
> 47
> vtkDummyCommunicator (0x22c14e0): There is no one to send to.
> [... 7 more times the same Warning...]
> --- end of output ---
>
> Thank you!
> Ephraim
>
>
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>
>  Virenfrei.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>
> <#m_7351775176557461903_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Integration points visualization

2017-05-16 Thread David E DeMarle
Please reply all to keep the mailing list on the discussion so all can
participate in and benefit from the discussion.

Question 1: Why delete columns? All of the columns can be point aligned
attributes.
Question 2: Are you sure you want a Structured Grid?

Table To Points will give you a simple point cloud. Table to Structured
Grid has the extra requirement that the points in the text file are ordered
regularly to make up a toplogical grid. If that is the case, then in
addition to designating the X, Y and Z columns, you also have to specify
the whole extent so that the filter knows how many cells there are in the
i, j and k dimensions.

On May 15, 2017 11:03 PM, "Li, Teng" <teng...@illinois.edu> wrote:

> Hi David,
> After using Table to Points filter, I delete some columns and finally
> there are only four columns: x, y, z, d(which is the value in each
> position). Please see the attached picture which is the CSV file.
> I plan to convert this CSV file by using Table to Structured Grid. And
> then there is the error.
> So I wonder what is the next step to visualize all the values in this CSV
> file?
> Best wishes
> Teng Li
>
> Teng Li
>
> Master Candidate in Structures
>
> Department of Civil and Environmental Engineering
>
> University of Illinois at Urbana-Champaign
>
> 205 North Mathews Ave, Urbana, IL. 61801
>
> Phone:(217)8196210 <(217)%20819-6210>, Email: teng...@illinois.edu
>
>
>
> --
> *From:* David E DeMarle [dave.dema...@kitware.com]
> *Sent:* Monday, May 15, 2017 11:56 AM
> *To:* Li, Teng
> *Cc:* paraview@paraview.org
> *Subject:* Re: [Paraview] Integration points visualization
>
> Try Table to Points filter and use the "X Column" "Y Column" and "Z
> Column" properties to match up specific columns to the X, Y and Z point
> coordinates.
>
> David E DeMarle
> Kitware, Inc.
> Principal Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909 <(518)%20881-4909>
>
> On Sun, May 14, 2017 at 1:07 AM, Li, Teng <teng...@illinois.edu> wrote:
>
>> Hi,
>> I have a question about integration points visualization.
>> I have a vtk file which stores 3 components of each element in the
>> domain: Sigma_xx, Sigma_yy, Sigma_xy. However, I need to do some
>> complicated calculation by using these three components and then obtain a
>> new number. So I first save the three CSV. files for each component. Then I
>> finish the calculation in Matlab to obtain a new CSV file which is the same
>> format as each of the three component CSV file.
>>
>> By the way, I searched on the Internet and find the possible ways to
>> process:
>> 1. Use XML file to visualize integration points.
>> 2. Change CSV file by using filter ( table to structured grid). However,
>> there are no x,y,z columns in my csv file. It only contains row ID, vtk
>> original point ids and point0, point1 and point2.
>>
>> Best,
>> Teng
>>
>>
>> Teng Li
>>
>> Master Candidate in Structures
>>
>> Department of Civil and Environmental Engineering
>>
>> University of Illinois at Urbana-Champaign
>>
>> 205 North Mathews Ave, Urbana, IL. 61801
>>
>> Phone:(217)8196210 <(217)%20819-6210>, Email: teng...@illinois.edu
>>
>>
>>
>>
>> ___
>> 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:
>> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Integration points visualization

2017-05-15 Thread David E DeMarle
Try Table to Points filter and use the "X Column" "Y Column" and "Z Column"
properties to match up specific columns to the X, Y and Z point coordinates.

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

On Sun, May 14, 2017 at 1:07 AM, Li, Teng <teng...@illinois.edu> wrote:

> Hi,
> I have a question about integration points visualization.
> I have a vtk file which stores 3 components of each element in the domain:
> Sigma_xx, Sigma_yy, Sigma_xy. However, I need to do some complicated
> calculation by using these three components and then obtain a new number.
> So I first save the three CSV. files for each component. Then I finish the
> calculation in Matlab to obtain a new CSV file which is the same format as
> each of the three component CSV file.
>
> By the way, I searched on the Internet and find the possible ways to
> process:
> 1. Use XML file to visualize integration points.
> 2. Change CSV file by using filter ( table to structured grid). However,
> there are no x,y,z columns in my csv file. It only contains row ID, vtk
> original point ids and point0, point1 and point2.
>
> Best,
> Teng
>
>
> Teng Li
>
> Master Candidate in Structures
>
> Department of Civil and Environmental Engineering
>
> University of Illinois at Urbana-Champaign
>
> 205 North Mathews Ave, Urbana, IL. 61801
>
> Phone:(217)8196210 <(217)%20819-6210>, Email: teng...@illinois.edu
>
>
>
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Adding Blue Waters to the list of servers in Fetch Servers?

2017-05-05 Thread David E DeMarle
Mark,

Just tell me where to find your pvsc and I'll put it on kitware.com where
ParaView by default looks.

Thanks!


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

On Fri, May 5, 2017 at 9:42 AM, Vanmoer, Mark W <mvanm...@illinois.edu>
wrote:

> Hi,
>
>
>
> What is the process for getting Blue Waters at NCSA added to the list of
> servers that appear when clicking Fetch Servers in the Choose Server
> Configuration dialog?
>
>
>
> Thanks,
>
> Mark
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Change a property of multiple data objects simultaneously?

2017-05-05 Thread David E DeMarle
I suggest using the group filter to make a multi block and then changing
the display properties of the collection there.

Alternatively there is Tool->Manage Links which should let you set up links
among the properties to control the whole set simultaneously.




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

On Thu, May 4, 2017 at 10:53 AM, David Doria <daviddo...@gmail.com> wrote:

> Hi,
>
> Say I have opened 10 individual vtp files. Now I decide that I want to
> change a property for all of them (for example, the Point Size, the
> Opacity, etc.). Is there a way to do this without clicking on one, changing
> the property, clicking on the next, changing the property, etc. etc.? If I
> select multiple data objects and then change a property it seems to only
> get applied to the last one in the selection.
>
> Any ideas?
>
> Thanks!
>
> David
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Applying a texture to a sphere

2017-05-04 Thread David E DeMarle
On Wed, May 3, 2017 at 4:10 PM, Michael Jackson  wrote:

> I have an image that represents an sphere that was mapped to a 2D circle.


Unsure what you mean by this projection. Depending on what the layout it
might be hard or easy to assign U/V coordinates that pick the right pixel
for each location on the surface of the sphere.


> I have the image as a .png. Is it possible to load that image and texture
> map it back to a sphere in ParaView?
>
>
There is a texture map to sphere filter which creates U/V coordinates on a
data set. Once the data has U/V coordinates, you can load an ally a texture
from the Display section of the Properties panel.

-- 
> Michael A. Jackson
> BlueQuartz Software, LLC
> [e]: mike.jack...@bluequartz.net
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensou
> rce/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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Displaying frame rate?

2017-04-27 Thread David E DeMarle
Also take note of Tools->TimerLog (from GUI) and
Wrapping/Python/paraview/benchmarks (for scriptability).




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

On Thu, Apr 27, 2017 at 11:28 AM, Cory Quammen <cory.quam...@kitware.com>
wrote:

> Ah - it is an advanced property that won't show up unless you click
> the little gear icon. Text searching reveals all properties, normal or
> advanced.
>
> On Thu, Apr 27, 2017 at 11:25 AM, David Doria <daviddo...@gmail.com>
> wrote:
> > Awesome, thanks! It is strange that "Show Annotation" doesn't show up in
> the
> > list in the Render View tab - I had to search "annotation" to see it.
> >
> > David
> >
> > On Thu, Apr 27, 2017 at 10:19 AM, Cory Quammen <cory.quam...@kitware.com
> >
> > wrote:
> >>
> >> Yes. Settings -> Render View tab -> Show Annotation
> >>
> >> HTH,
> >> Cory
> >>
> >> On Thu, Apr 27, 2017 at 11:03 AM, David Doria <daviddo...@gmail.com>
> >> wrote:
> >> > Hello,
> >> >
> >> > Is it possible to display the framerate that Paraview is achieving?
> I'd
> >> > like
> >> > to profile a few hardware setups a little more quantitatively than "it
> >> > feels
> >> > smooth or not", but on the actual types of operations I will be doing
> >> > rather
> >> > than some arbitrary benchmark suite.
> >> >
> >> > Thanks!
> >> >
> >> > David
> >> >
> >> > ___
> >> > 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:
> >> > http://public.kitware.com/mailman/listinfo/paraview
> >> >
> >>
> >>
> >>
> >> --
> >> Cory Quammen
> >> Staff R Engineer
> >> Kitware, Inc.
> >
> >
>
>
>
> --
> Cory Quammen
> Staff R Engineer
> Kitware, Inc.
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] xdmf2 vs xdmf3 file type

2017-04-25 Thread David E DeMarle
This should do it.
diff --git
a/ParaViewCore/ServerManager/SMApplication/Resources/proxies_xdmf3.xml
b/ParaViewCore/ServerManager/SMApplication/Resources/proxies_xdmf3.xml
index 46bf7fb..9236ebd 100644
--- a/ParaViewCore/ServerManager/SMApplication/Resources/proxies_xdmf3.xml
+++ b/ParaViewCore/ServerManager/SMApplication/Resources/proxies_xdmf3.xml
@@ -95,7 +95,7 @@
   

   
-
   
   
@@ -128,7 +128,7 @@ type, otherwise it's a vtkMultiBlockDataSet.
   

   
-
   
   
@@ -158,7 +158,7 @@ type, otherwise it's a vtkMultiBlockDataSet.
   

   
-
   
   
diff --git a/ParaViewCore/ServerManager/SMApplication/Resources/readers.xml
b/ParaViewCore/ServerManager/SMApplication/Resources/readers.xml
index 0eb9ec0..22e0dc5 100644
--- a/ParaViewCore/ServerManager/SMApplication/Resources/readers.xml
+++ b/ParaViewCore/ServerManager/SMApplication/Resources/readers.xml
@@ -5550,7 +5550,7 @@
 Available timestep values.
   
   
-
   
   


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

On Tue, Apr 25, 2017 at 7:17 AM, Nico Schlömer <nico.schloe...@gmail.com>
wrote:

> > If one had something like xmf2 and the other xmf3 it would do what you
> are asking for.
> > You could do that if you build from source for example.
>
> I don't have a problem with that. What do I need to patch?
>
> Cheers,
> Nico
>
>
> On Mon, Apr 24, 2017 at 11:07 PM David E DeMarle <dave.dema...@kitware.com>
> wrote:
>
>> They both claim ".xmf" and ".xdmf" via the ReaderFactor extensions line
>> you will find in readers.xml and proxies_xdmf3.xml. If one had something
>> like xmf2 and the other xmf3 it would do what you are asking for. You could
>> do that if you build from source for example.
>>
>> If not you should be able to force something like that by making a dummy
>> reader xml only plugin just to get the file extension association. See
>> http://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_a_Reader for
>> hints.
>>
>>
>>
>>
>> David E DeMarle
>> Kitware, Inc.
>> R Engineer
>> 21 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-881-4909 <(518)%20881-4909>
>>
>> On Mon, Apr 24, 2017 at 4:58 PM, Nico Schlömer <nico.schloe...@gmail.com>
>> wrote:
>>
>>> Hi everyone,
>>>
>>> I have a simulation code that spits out XDMF2 data (something.xdmf), and
>>> I can visualize that with ParaView by opening the file, then selecting XDMF
>>> over XDMF3 in a menu.
>>> Since I have to repeat this process often, I'm asking myself if there's
>>> a specific XDMF2 (or XDMF3) file extension that would allow me to skip the
>>> dialog.
>>>
>>> Any hints?
>>>
>>> Cheers,
>>> Nico
>>>
>>> ___
>>> 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:
>>> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] xdmf2 vs xdmf3 file type

2017-04-24 Thread David E DeMarle
They both claim ".xmf" and ".xdmf" via the ReaderFactor extensions line you
will find in readers.xml and proxies_xdmf3.xml. If one had something like
xmf2 and the other xmf3 it would do what you are asking for. You could do
that if you build from source for example.

If not you should be able to force something like that by making a dummy
reader xml only plugin just to get the file extension association. See
http://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_a_Reader for
hints.




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

On Mon, Apr 24, 2017 at 4:58 PM, Nico Schlömer <nico.schloe...@gmail.com>
wrote:

> Hi everyone,
>
> I have a simulation code that spits out XDMF2 data (something.xdmf), and I
> can visualize that with ParaView by opening the file, then selecting XDMF
> over XDMF3 in a menu.
> Since I have to repeat this process often, I'm asking myself if there's a
> specific XDMF2 (or XDMF3) file extension that would allow me to skip the
> dialog.
>
> Any hints?
>
> Cheers,
> Nico
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] ParaView v5.3: Generating textures from scalars and lookup table

2017-04-13 Thread David E DeMarle
Hi Nenand,

You might try vtkMapper::GetColorMapColors/ColorCoordinates/ColorTextureMap.
I'm using this in the OSPRay renderer for example.

Out of curiosity is this for the p2f3d exporter plugin?

cheers


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

On Tue, Apr 11, 2017 at 6:34 AM, Nenad Vujicic <nena...@gmail.com> wrote:

> Hello everyone,
>
> I've just started building my ParaView exporter plugin using ParaView v5.3
> with OpenGL2 selected for backend rendering (PARAVIEW_RENDERING_BACKEND),
> however, I'm having troubles with generating textures from scalars used for
> coloring the meshes. What I'm actually doing here is that I'm generating
> texture from currently selected array and lookup-table and I export texture
> mapped object instead of exporting object plus scalars and colormap or
> colors. Previously (with OpenGL used for backend rendering), I was deriving
> class from vtkScalarsToColorsPainter class for this purpose, however, now,
> this class is not used anymore with OpenGL2.
>
> Does anyone have idea how to solve this problem?
>
> Thanks in advance,
> Nenad.
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] error when building ffmpeg

2017-04-13 Thread David E DeMarle
On Thu, Apr 13, 2017 at 4:01 AM, Hedieh Ebrahimi <
hedieh.ebrah...@amphos21.com> wrote:

> Hi Fabian,
>
> The reason I am not using superbuild is because I would need to modify the
> paraview source code. Is there any way to be able to modify the paraview
> source code using superbuild?
>
> yes

Turn on paraview_FROM_SOURCE_DIR
then set paraview_SOURCE_DIR to some directory where you've got your
version of the paraview source tree.
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [Non-DoD Source] Re: Volume rendering with OSPRay Renderer not working with ParaView 5.3.0-RC3 (UNCLASSIFIED)

2017-03-09 Thread David E DeMarle
nvm on the issue request:
https://gitlab.kitware.com/paraview/paraview/issues/17258

looking into the crash with curve3d.silo...

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

On Thu, Mar 9, 2017 at 12:06 PM, David E DeMarle <dave.dema...@kitware.com>
wrote:

> Just remembering now that OSPRay (currently) only has volume rendering
> implemented for image data.
>
> Please try the resample to image filter and that should look OK in OSPRay.
>
> Also - please file an issue on gitlab to remind me to make the UI warn
> whenever ParaView hands OSPRay something incompatible rather than just
> rendering nothing.
>
> David E DeMarle
> Kitware, Inc.
> R Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909 <(518)%20881-4909>
>
> On Wed, Mar 8, 2017 at 5:13 PM, Hennessey, Joseph G CTR USARMY RDECOM ARL
> (US) <joseph.g.hennessey2@mail.mil> wrote:
>
>> CLASSIFICATION: UNCLASSIFIED
>>
>> David,
>>
>> I can not send my data set,
>> But I am experiencing similar problems
>> With one of visit's sample data sets.
>>
>> curv3d.silo (A multi-block containing a structured curvilinear grid)
>>
>> I clip it and then render it with the default volume renderer
>>
>> and it works, but then when I turn on OSPRay it fails. (crashes)
>>
>> Strangely enough it also fails (does not renderer visibly) in the default
>> renderer when I do not first clip it.
>>
>>
>> My data which is failing is instead a large unstructured grid with
>> cell/Point
>> arrays
>>
>> They visualize ok with the default Volume renderer but are invisible with
>> the
>>
>> OSPRay volume renderer. I have not yet found a sample I can share with you
>> that has the same
>>
>> behavior. I will see if I can get you one though. Do you know of any
>> similar
>> publicly available samples?
>>
>>
>> I have also tried the vtk analyze sample data
>>
>> S01_epi_r01_001.img
>> S01_epi_r01_001.hdr
>>
>> Which are image (uniform rectangular grids)
>>
>> S01_epi_r01_001 renderers correctly with both the default volume renderer
>>
>> and the OSPRay one.
>>
>> Thanks,
>>
>> Joe
>>
>> ~~~
>> Joseph G. Hennessey Ph.D., SAIC
>> Team SAIC
>> Army Research Lab
>> DOD Supercomputing Resource Center
>>
>>
>> -Original Message-
>> From: David E DeMarle [mailto:dave.dema...@kitware.com]
>> Sent: Wednesday, March 08, 2017 3:02 PM
>> To: Hennessey, Joseph G CTR USARMY RDECOM ARL (US)
>> <joseph.g.hennessey2@mail.mil>
>> Cc: paraview@paraview.org
>> Subject: [Non-DoD Source] Re: [Paraview] Volume rendering with OSPRay
>> Renderer
>> not working with ParaView 5.3.0-RC3 (UNCLASSIFIED)
>>
>> All active links contained in this email were disabled. Please verify the
>> identity of the sender, and confirm the authenticity of all links
>> contained
>> within the message prior to copying and pasting the address to a Web
>> browser.
>>
>>
>> 
>>
>>
>>
>> Wavelet->Volume Works for me on Linux, builtin mode.
>>
>>
>> Can you provide more details?
>>
>>
>>
>>
>> David E DeMarle
>> Kitware, Inc.
>> R Engineer
>> 21 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-881-4909
>>
>> On Wed, Mar 8, 2017 at 2:51 PM, Hennessey, Joseph G CTR USARMY RDECOM ARL
>> (US)
>> <joseph.g.hennessey2@mail.mil <
>> Caution-mailto:joseph.g.hennessey2@mail.mil > > wrote:
>>
>>
>> CLASSIFICATION: UNCLASSIFIED
>>
>> Hello,
>>
>> I am finding that the volume rendering is not working with
>>
>> OSPRay Renderer not working with ParaView 5.3.0-RC3.
>>
>> The volume render sample that I am testing looks fine
>>
>> when rendered with the default renderer, but when I switch to the
>>
>> OSPRay volume renderer, then nothing is shown.
>>
>> Has anyone managed to volume render data, using
>>
>> the OSPRay renderer with ParaView 5.3.0-RC3?
>>
>> Thanks,
>>
>> Joe
>>
>> ~~~
>> Joseph G. Hennessey Ph.D., SAIC
>> Team SAIC
>> Army Research Lab
>> DOD Supercomputing R

Re: [Paraview] [Non-DoD Source] Re: Volume rendering with OSPRay Renderer not working with ParaView 5.3.0-RC3 (UNCLASSIFIED)

2017-03-09 Thread David E DeMarle
Just remembering now that OSPRay (currently) only has volume rendering
implemented for image data.

Please try the resample to image filter and that should look OK in OSPRay.

Also - please file an issue on gitlab to remind me to make the UI warn
whenever ParaView hands OSPRay something incompatible rather than just
rendering nothing.

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

On Wed, Mar 8, 2017 at 5:13 PM, Hennessey, Joseph G CTR USARMY RDECOM ARL
(US) <joseph.g.hennessey2@mail.mil> wrote:

> CLASSIFICATION: UNCLASSIFIED
>
> David,
>
> I can not send my data set,
> But I am experiencing similar problems
> With one of visit's sample data sets.
>
> curv3d.silo (A multi-block containing a structured curvilinear grid)
>
> I clip it and then render it with the default volume renderer
>
> and it works, but then when I turn on OSPRay it fails. (crashes)
>
> Strangely enough it also fails (does not renderer visibly) in the default
> renderer when I do not first clip it.
>
>
> My data which is failing is instead a large unstructured grid with
> cell/Point
> arrays
>
> They visualize ok with the default Volume renderer but are invisible with
> the
>
> OSPRay volume renderer. I have not yet found a sample I can share with you
> that has the same
>
> behavior. I will see if I can get you one though. Do you know of any
> similar
> publicly available samples?
>
>
> I have also tried the vtk analyze sample data
>
> S01_epi_r01_001.img
> S01_epi_r01_001.hdr
>
> Which are image (uniform rectangular grids)
>
> S01_epi_r01_001 renderers correctly with both the default volume renderer
>
> and the OSPRay one.
>
> Thanks,
>
> Joe
>
> ~~~~~~~
> Joseph G. Hennessey Ph.D., SAIC
> Team SAIC
> Army Research Lab
> DOD Supercomputing Resource Center
>
>
> -Original Message-
> From: David E DeMarle [mailto:dave.dema...@kitware.com]
> Sent: Wednesday, March 08, 2017 3:02 PM
> To: Hennessey, Joseph G CTR USARMY RDECOM ARL (US)
> <joseph.g.hennessey2@mail.mil>
> Cc: paraview@paraview.org
> Subject: [Non-DoD Source] Re: [Paraview] Volume rendering with OSPRay
> Renderer
> not working with ParaView 5.3.0-RC3 (UNCLASSIFIED)
>
> All active links contained in this email were disabled. Please verify the
> identity of the sender, and confirm the authenticity of all links contained
> within the message prior to copying and pasting the address to a Web
> browser.
>
>
> 
>
>
>
> Wavelet->Volume Works for me on Linux, builtin mode.
>
>
> Can you provide more details?
>
>
>
>
> David E DeMarle
> Kitware, Inc.
> R Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
> On Wed, Mar 8, 2017 at 2:51 PM, Hennessey, Joseph G CTR USARMY RDECOM ARL
> (US)
> <joseph.g.hennessey2@mail.mil <
> Caution-mailto:joseph.g.hennessey2@mail.mil > > wrote:
>
>
> CLASSIFICATION: UNCLASSIFIED
>
> Hello,
>
> I am finding that the volume rendering is not working with
>
> OSPRay Renderer not working with ParaView 5.3.0-RC3.
>
> The volume render sample that I am testing looks fine
>
> when rendered with the default renderer, but when I switch to the
>
> OSPRay volume renderer, then nothing is shown.
>
> Has anyone managed to volume render data, using
>
> the OSPRay renderer with ParaView 5.3.0-RC3?
>
> Thanks,
>
> Joe
>
> ~~~
> Joseph G. Hennessey Ph.D., SAIC
> Team SAIC
> Army Research Lab
> DOD Supercomputing Resource Center
>
>
>
> CLASSIFICATION: UNCLASSIFIED
>
> ___
> Powered by Caution-www.kitware.com < Caution-
> http://www.kitware.com >
>
> Visit other Kitware open-source projects at
> Caution-http://www.kitware.com/opensource/opensource.html <
> Caution-http://www.kitware.com/opensource/opensource.html >
>
> Please keep messages on-topic and check the ParaView Wiki at:
> Caution-http://paraview.org/Wiki/ParaView <
> Caution-http://paraview.org/Wiki/ParaView >
>
> Search the list archives at: Caution-http://markmail.org/
> search/?q=ParaView <
> Caution-http://markmail.org/search/?q=ParaView >
>
> Follow this link to subscribe/unsubscribe:
> Caution-http://public.kitware.com/mailman/listinfo/paraview <
> Caution-http://public.kitware.com/

Re: [Paraview] [Non-DoD Source] Re: Volume rendering with OSPRay Renderer not working with ParaView 5.3.0-RC3 (UNCLASSIFIED)

2017-03-08 Thread David E DeMarle
Thanks Joe.

I'll take a look at the silo data tomorrow and see what I can find.

For the large ugrid data, if you can tell me the size and number/type of
arrays, that would help diagnose and/or allow me to make something to
replicate the behavior.

Another thing that will help isolate is if you can try with 5.1 and or 5.2
and tell me if the behavior changed. If so I should be able to pinpoint
what change broke it.

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

On Wed, Mar 8, 2017 at 5:13 PM, Hennessey, Joseph G CTR USARMY RDECOM ARL
(US) <joseph.g.hennessey2@mail.mil> wrote:

> CLASSIFICATION: UNCLASSIFIED
>
> David,
>
> I can not send my data set,
> But I am experiencing similar problems
> With one of visit's sample data sets.
>
> curv3d.silo (A multi-block containing a structured curvilinear grid)
>
> I clip it and then render it with the default volume renderer
>
> and it works, but then when I turn on OSPRay it fails. (crashes)
>
> Strangely enough it also fails (does not renderer visibly) in the default
> renderer when I do not first clip it.
>
>
> My data which is failing is instead a large unstructured grid with
> cell/Point
> arrays
>
> They visualize ok with the default Volume renderer but are invisible with
> the
>
> OSPRay volume renderer. I have not yet found a sample I can share with you
> that has the same
>
> behavior. I will see if I can get you one though. Do you know of any
> similar
> publicly available samples?
>
>
> I have also tried the vtk analyze sample data
>
> S01_epi_r01_001.img
> S01_epi_r01_001.hdr
>
> Which are image (uniform rectangular grids)
>
> S01_epi_r01_001 renderers correctly with both the default volume renderer
>
> and the OSPRay one.
>
> Thanks,
>
> Joe
>
> ~~~~~~~
> Joseph G. Hennessey Ph.D., SAIC
> Team SAIC
> Army Research Lab
> DOD Supercomputing Resource Center
>
>
> -Original Message-
> From: David E DeMarle [mailto:dave.dema...@kitware.com]
> Sent: Wednesday, March 08, 2017 3:02 PM
> To: Hennessey, Joseph G CTR USARMY RDECOM ARL (US)
> <joseph.g.hennessey2@mail.mil>
> Cc: paraview@paraview.org
> Subject: [Non-DoD Source] Re: [Paraview] Volume rendering with OSPRay
> Renderer
> not working with ParaView 5.3.0-RC3 (UNCLASSIFIED)
>
> All active links contained in this email were disabled. Please verify the
> identity of the sender, and confirm the authenticity of all links contained
> within the message prior to copying and pasting the address to a Web
> browser.
>
>
> 
>
>
>
> Wavelet->Volume Works for me on Linux, builtin mode.
>
>
> Can you provide more details?
>
>
>
>
> David E DeMarle
> Kitware, Inc.
> R Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
> On Wed, Mar 8, 2017 at 2:51 PM, Hennessey, Joseph G CTR USARMY RDECOM ARL
> (US)
> <joseph.g.hennessey2@mail.mil <
> Caution-mailto:joseph.g.hennessey2@mail.mil > > wrote:
>
>
> CLASSIFICATION: UNCLASSIFIED
>
> Hello,
>
> I am finding that the volume rendering is not working with
>
> OSPRay Renderer not working with ParaView 5.3.0-RC3.
>
> The volume render sample that I am testing looks fine
>
> when rendered with the default renderer, but when I switch to the
>
> OSPRay volume renderer, then nothing is shown.
>
> Has anyone managed to volume render data, using
>
> the OSPRay renderer with ParaView 5.3.0-RC3?
>
> Thanks,
>
> Joe
>
> ~~~
> Joseph G. Hennessey Ph.D., SAIC
> Team SAIC
> Army Research Lab
> DOD Supercomputing Resource Center
>
>
>
> CLASSIFICATION: UNCLASSIFIED
>
> ___
> Powered by Caution-www.kitware.com < Caution-
> http://www.kitware.com >
>
> Visit other Kitware open-source projects at
> Caution-http://www.kitware.com/opensource/opensource.html <
> Caution-http://www.kitware.com/opensource/opensource.html >
>
> Please keep messages on-topic and check the ParaView Wiki at:
> Caution-http://paraview.org/Wiki/ParaView <
> Caution-http://paraview.org/Wiki/ParaView >
>
> Search the list archives at: Caution-http://markmail.org/
> search/?q=ParaView <
> Caution-http://markmail.org/search/?q=ParaView >
>
> Follow this link to subscribe/unsubscribe:
> Caution-http://pu

Re: [Paraview] XDMF Multiblock limit on number of blocks shown in Hierarchy

2017-03-08 Thread David E DeMarle
It is a max constant in defined in the XDMF readers.

from Xdmf3SILBuilder.cxx for example:

// As soon as num-grids (sub-grids and all) grows beyond this number, we
assume
// that the grids are too numerous for the user to select individually and
// hence only the top-level grids are made accessible.
#define MAX_COLLECTABLE_NUMBER_OF_GRIDS 1000

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

On Wed, Mar 8, 2017 at 3:02 PM, Andy Smith <agsmith...@gmail.com> wrote:

> We use XDMF to output multiple unstructured blocks from our CFD code
> within a Spatial Collection.
>
> If 998 or fewer blocks are output in the collection all of the individual
> blocks are displayed in the Blocks and Hierarchy tabs in the main
> Properties tab when loading the grid.  This allows the user the select only
> the blocks of interest.
>
> If 999 or more blocks are output in the collection, only the containing
> collection grid is shown in the Blocks and Hierarchy tabs.  In this case
> the user cannot select the individual blocks of interest.
>
> I've attached two simple XDMF grids for reference.
>
> The same limitations on block selection occur when using Python to read
> the grid.
>
> Is this a limitation for all multiblock readers in ParaView or XDMF
> specific?  Is there anyway to extend this limit to a higher value?
>
> A typical use case is to define a spatial region of interest in a Python
> script, read the XDMF file directly to determine the datasets that contain
> the grids (in HDF5 format) then loop over these datasets and query each
> block's bounds using h5py to see if they lie within the region of
> interest.  If they do, then we load them in Paraview by setting the
> GridStatus to the appropriate list of grids.  As mentioned above, this
> fails when the main grid collection has more than 998 blocks in it.
> A workaround could be to write out a temporary XDMF file based on the list
> of grids required, but hopefully there is a simpler solution.
>
> As a final note, for all of these cases we use the XDMF2 reader.  With the
> XDMF3 reader neither of the supplied grids display the block hierarchy that
> we require.
>
> Thanks,
> Andy
>
>
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Volume rendering with OSPRay Renderer not working with ParaView 5.3.0-RC3 (UNCLASSIFIED)

2017-03-08 Thread David E DeMarle
Wavelet->Volume Works for me on Linux, builtin mode.

Can you provide more details?



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

On Wed, Mar 8, 2017 at 2:51 PM, Hennessey, Joseph G CTR USARMY RDECOM ARL
(US) <joseph.g.hennessey2@mail.mil> wrote:

> CLASSIFICATION: UNCLASSIFIED
>
> Hello,
>
> I am finding that the volume rendering is not working with
>
> OSPRay Renderer not working with ParaView 5.3.0-RC3.
>
> The volume render sample that I am testing looks fine
>
> when rendered with the default renderer, but when I switch to the
>
> OSPRay volume renderer, then nothing is shown.
>
> Has anyone managed to volume render data, using
>
> the OSPRay renderer with ParaView 5.3.0-RC3?
>
> Thanks,
>
> Joe
>
> ~~~
> Joseph G. Hennessey Ph.D., SAIC
> Team SAIC
> Army Research Lab
> DOD Supercomputing Resource Center
>
>
>
> CLASSIFICATION: UNCLASSIFIED
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] pvpython pass string to Script (Programmable Source)

2017-03-02 Thread David E DeMarle
Use the hidden property called Parameters on the Python Filter/Source to
pass in information.

>>> prosrc = ProgrammableSource()

>>> prosrc.Script = ("""

... try:

...   instring

... except NameError:

...   instring = "GOODBYE"

... print instring

... """)

>>> prop = prosrc.GetProperty("Parameters")

>>> prop.SetElement(0, "instring")

1

>>> prop.SetElement(1, "'HELLO'")

1

>>> prosrc.UpdateProperty("Parameters")

True

>>> prosrc.UpdatePipeline()

HELLO



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

On Wed, Mar 1, 2017 at 3:38 PM, Mauro Fontana <fontana.ma...@gmail.com>
wrote:

> Hello
>
> Sorry to bother, but I can't seem to find a way (in the mailing list or
> the documentation) to pass a string as some kind of argument to
> Programmable Source (using pvpython interpreter). The python "program"
> needs to load a custom binary format using numpy.fromfile.
>
> What I've thought is to write a wrapper function. The function should
> receive a string as argument and then instantiate a programmable filter and
> execute
> myscript.replace(random_var_name, myfilename)
> MyProgrammableSource.Script = myscript
> return MyProgrammableSource
>
> Where random_var_name is the argument of my numpy.fromfile call. But that
> doesn't seem very "pythonic". Is there a way to pass a string to the Script
> without the .replace hack?
>
> Sorry if this is documented, I couldn't find it.
>
> Cheers,
> Mauro
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] OSPray rendering: ERROR: VolumeMapper's Input has no scalar array!

2017-01-20 Thread David E DeMarle
nvm, already reported here:
https://gitlab.kitware.com/paraview/paraview/issues/17121

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

On Fri, Jan 20, 2017 at 12:09 PM, David E DeMarle <dave.dema...@kitware.com>
wrote:

> Please file a bug report on gitlab.
>
> David E DeMarle
> Kitware, Inc.
> R Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909 <(518)%20881-4909>
>
> On Fri, Jan 20, 2017 at 12:08 PM, David E DeMarle <
> dave.dema...@kitware.com> wrote:
>
>> That's a bug in either the OSPRay mapper or the ResampleToImage filter,
>> depending on your point of view. To workaround, put a python programmable
>> filter into the pipeline to annotate the array as being the "Active
>> Scalars".
>>
>> In it, choose:
>> Output Data Set Type = "Same as Input" //the default
>> check "Copy Arrays" //not the default
>> for script use :self.GetOutput().GetPointData
>> ().SetActiveScalars("RTData")
>>
>> David E DeMarle
>> Kitware, Inc.
>> R Engineer
>> 21 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-881-4909 <(518)%20881-4909>
>>
>> On Fri, Jan 20, 2017 at 2:45 AM, Jiahui Luo <luo...@gmail.com> wrote:
>>
>>> Hi ,
>>> I got an error message when trying to do volume rendering on the output
>>> of the ResampleToImage filter:
>>>
>>> ERROR: In /home/user/apps/paraview5.2.0-build/superbuild/paraview/src/
>>> VTK/Rendering/OSPRay/vtkOSPRayVolumeMapperNode.cxx, line 107
>>> vtkOSPRayVolumeMapperNode (0x68c2ad0): VolumeMapper's Input has no
>>> scalar array!
>>>
>>> Here is how it happened.
>>> First, I added a ProgrammableSource with Output DataSet Type set to
>>> vtkRectilinearGrid and apply something like this,
>>>
>>> import numpy as np
>>>
>>> # Read x,y,z,th from file
>>>
>>> xCoords = vtk.vtkDoubleArray()
>>> for i in x:
>>> xCoords.InsertNextValue(i)
>>>
>>> yCoords = vtk.vtkDoubleArray()
>>> for i in y:
>>> yCoords.InsertNextValue(i)
>>>
>>> zCoords = vtk.vtkDoubleArray()
>>> for i in z:
>>> zCoords.InsertNextValue(i)
>>>
>>> output.SetDimensions(len(x), len(y), len(z))
>>> output.SetXCoordinates(xCoords)
>>> output.SetYCoordinates(yCoords)
>>> output.SetZCoordinates(zCoords)
>>>
>>> thArray = vtk.vtkFloatArray()
>>> thArray.SetName("Temperature")
>>> thArray.SetNumberOfComponents(1)
>>> thArray.SetNumberOfTuples(nx*ny*nz)
>>> for k in range(nz):
>>> for j in range(ny):
>>> for i in range(nx):
>>> index = i+j*nx+k*ny*nx
>>> thArray.SetValue(index, th[k,j,i])
>>> output.GetCellData().SetScalars(thArray)
>>> return output
>>>
>>> Since volume rendering can not be done on rectilinear grid. I added a
>>> ResampleToImage filter on this source.
>>>
>>> Then I could do volume rendering using Ray cast or GPU based, but not
>>> OSPray and the above message popped up.
>>>
>>> How to make this work? Thanks.
>>>
>>> Jiahui Luo
>>>
>>>
>>>
>>>
>>>
>>> ___
>>> 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:
>>> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] OSPray rendering: ERROR: VolumeMapper's Input has no scalar array!

2017-01-20 Thread David E DeMarle
Please file a bug report on gitlab.

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

On Fri, Jan 20, 2017 at 12:08 PM, David E DeMarle <dave.dema...@kitware.com>
wrote:

> That's a bug in either the OSPRay mapper or the ResampleToImage filter,
> depending on your point of view. To workaround, put a python programmable
> filter into the pipeline to annotate the array as being the "Active
> Scalars".
>
> In it, choose:
> Output Data Set Type = "Same as Input" //the default
> check "Copy Arrays" //not the default
> for script use :self.GetOutput().GetPointData().SetActiveScalars("RTData")
>
> David E DeMarle
> Kitware, Inc.
> R Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909 <(518)%20881-4909>
>
> On Fri, Jan 20, 2017 at 2:45 AM, Jiahui Luo <luo...@gmail.com> wrote:
>
>> Hi ,
>> I got an error message when trying to do volume rendering on the output
>> of the ResampleToImage filter:
>>
>> ERROR: In /home/user/apps/paraview5.2.0-build/superbuild/paraview/src/
>> VTK/Rendering/OSPRay/vtkOSPRayVolumeMapperNode.cxx, line 107
>> vtkOSPRayVolumeMapperNode (0x68c2ad0): VolumeMapper's Input has no scalar
>> array!
>>
>> Here is how it happened.
>> First, I added a ProgrammableSource with Output DataSet Type set to
>> vtkRectilinearGrid and apply something like this,
>>
>> import numpy as np
>>
>> # Read x,y,z,th from file
>>
>> xCoords = vtk.vtkDoubleArray()
>> for i in x:
>> xCoords.InsertNextValue(i)
>>
>> yCoords = vtk.vtkDoubleArray()
>> for i in y:
>> yCoords.InsertNextValue(i)
>>
>> zCoords = vtk.vtkDoubleArray()
>> for i in z:
>> zCoords.InsertNextValue(i)
>>
>> output.SetDimensions(len(x), len(y), len(z))
>> output.SetXCoordinates(xCoords)
>> output.SetYCoordinates(yCoords)
>> output.SetZCoordinates(zCoords)
>>
>> thArray = vtk.vtkFloatArray()
>> thArray.SetName("Temperature")
>> thArray.SetNumberOfComponents(1)
>> thArray.SetNumberOfTuples(nx*ny*nz)
>> for k in range(nz):
>> for j in range(ny):
>> for i in range(nx):
>> index = i+j*nx+k*ny*nx
>> thArray.SetValue(index, th[k,j,i])
>> output.GetCellData().SetScalars(thArray)
>> return output
>>
>> Since volume rendering can not be done on rectilinear grid. I added a
>> ResampleToImage filter on this source.
>>
>> Then I could do volume rendering using Ray cast or GPU based, but not
>> OSPray and the above message popped up.
>>
>> How to make this work? Thanks.
>>
>> Jiahui Luo
>>
>>
>>
>>
>>
>> ___
>> 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:
>> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] OSPray rendering: ERROR: VolumeMapper's Input has no scalar array!

2017-01-20 Thread David E DeMarle
 That's a bug in either the OSPRay mapper or the ResampleToImage filter,
depending on your point of view. To workaround, put a python programmable
filter into the pipeline to annotate the array as being the "Active
Scalars".

In it, choose:
Output Data Set Type = "Same as Input" //the default
check "Copy Arrays" //not the default
for script use :self.GetOutput().GetPointData().SetActiveScalars("RTData")

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

On Fri, Jan 20, 2017 at 2:45 AM, Jiahui Luo <luo...@gmail.com> wrote:

> Hi ,
> I got an error message when trying to do volume rendering on the output of
> the ResampleToImage filter:
>
> ERROR: In /home/user/apps/paraview5.2.0-build/superbuild/paraview/src/
> VTK/Rendering/OSPRay/vtkOSPRayVolumeMapperNode.cxx, line 107
> vtkOSPRayVolumeMapperNode (0x68c2ad0): VolumeMapper's Input has no scalar
> array!
>
> Here is how it happened.
> First, I added a ProgrammableSource with Output DataSet Type set to
> vtkRectilinearGrid and apply something like this,
>
> import numpy as np
>
> # Read x,y,z,th from file
>
> xCoords = vtk.vtkDoubleArray()
> for i in x:
> xCoords.InsertNextValue(i)
>
> yCoords = vtk.vtkDoubleArray()
> for i in y:
> yCoords.InsertNextValue(i)
>
> zCoords = vtk.vtkDoubleArray()
> for i in z:
> zCoords.InsertNextValue(i)
>
> output.SetDimensions(len(x), len(y), len(z))
> output.SetXCoordinates(xCoords)
> output.SetYCoordinates(yCoords)
> output.SetZCoordinates(zCoords)
>
> thArray = vtk.vtkFloatArray()
> thArray.SetName("Temperature")
> thArray.SetNumberOfComponents(1)
> thArray.SetNumberOfTuples(nx*ny*nz)
> for k in range(nz):
> for j in range(ny):
> for i in range(nx):
> index = i+j*nx+k*ny*nx
> thArray.SetValue(index, th[k,j,i])
> output.GetCellData().SetScalars(thArray)
> return output
>
> Since volume rendering can not be done on rectilinear grid. I added a
> ResampleToImage filter on this source.
>
> Then I could do volume rendering using Ray cast or GPU based, but not
> OSPray and the above message popped up.
>
> How to make this work? Thanks.
>
> Jiahui Luo
>
>
>
>
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Fwd: Segfault reading polyhedral cells xdmf3 file

2017-01-10 Thread David E DeMarle
Thanks Allesandro.

>From your long message ;), I think that the fix then is to not overcount
the space taken for the polyhedral cells. https://gitlab.kitware.
com/vtk/vtk/merge_requests/2346

thoughts?


David E DeMarle
Kitware, Inc.
R Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909 <(518)%20881-4909>

On Fri, Dec 16, 2016 at 11:11 AM, Alessandro De Maio <demai...@gmail.com>
wrote:

> I've done some more debugging on this topic.
>
> The problem is not related only to windows machines: the easy example that
> I attached at the beginning of this post (polyhedron.xmf) seems to be
> correctly opened on Linux machines, but if you try to reopen it several
> times (for example using the new 5.2 feature of "Reload Files"), not very
> often but sometimes it gives segfault also on Linux machines. Moreover, if
> you try to open a bigger file (with more polyhedra inside) it fails more
> often or, sometimes, it seems not to read all the polyhedral cells in the
> mesh.
>
> I've tried to investigate the code and I think I've found the reason of
> this behaviour, but of course, as I'm not an expert in VTK programming, a
> more relevant opinion from the experts in this forum would be appreciated.
> The function that builds the VTK topology starting from what has been read
> from a xmdf file is vtkXdmf3DataSet::CopyShape in the source file
>  vtkXdmf3DataSet.cxx (path superbuild/paraview/src/VTK/IO/Xdmf3/ in the
> 5.2.0 superbuild building directory). In case of "mixed" XdmfTopologyType
> (line 1460 of the file) it creates a vtkCellArray structure named vCells
> that at line 1548 is passed to the SetCells function to create the
> connectivity information of the DataSet. This vCells structure is filled
> through the pointer *cells_ptr that is initially dimensioned with a size
> equal to conn_lenght (line 1470) that is the size of the topology array
> xTopology that comes form xdmf file reading.
> This structure is filled as a sequence of blocks: each block for each
> cell. If the cell is not a polyhedron it contains the number of points for
> that cell followed by the list of pointID of the vertices. If the cell is a
> polyhedron, as it's explained at lines 1531-1534, the cell information is
> the sequence of: cell Lenght (that is the size of the following list for
> that cell), the number of faces and, for each face, the number of points
> and the list of points. So this array is exactly the same of the one that
> has been read from the xdmf file, with the substitution of the cell type
> for non polyhedral cells with the number of points for that cell, and, with
> the substitution of the cell type with the cell lenght for polyhedral cells.
>
> But, after the loop on cells to fill this structure, at line 1547 there is
> a call to the function Resize to reduce the Array to an overall lenght
> index-sub where index is the original array lenght and sub is the number of
> polyhedral cells.
>
> I think that this Resize call il wrong because the array lenght is correct
> before this reduction.
> If you print the content of the vCell structure after the Resize, for the
> example of polyhedron.xmf, the last two elements of the array (that are the
> last two nodes of the last hexaedron cell of the mesh) are missing.
>
> Probably when the SetCells function is called at line 1548 with a
> cell_type array of the right lenght but a truncated vCells array as the
> second argument, the missing elements of vCell array "could" be available
>  as they should be next in memory to the truncated array, but this is not
> guaranteed because it is randomical and it depends on the operating system
> (that could explain the different behaviour between linux and windows).
>
> In any case I've tried to comment the Resize function call and the xmdf
> reader has been able to read all the cases that I've tried to read with
> polyhedral and not polyhedral 3d cells (there is still a problem with
> polygons but I'll write another post on this topic).
>
> As I've said at the beginning of this too much long message, I hope that
> VTK/Paraview developers give their opinion about my hypothesis.
>
> Thank you
>
> Alessandro
>
>
> On Thu, Dec 15, 2016 at 10:54 PM, David E DeMarle <
> dave.dema...@kitware.com> wrote:
>
>>
>> On Thu, Dec 15, 2016 at 4:39 PM, David E DeMarle <
>> dave.dema...@kitware.com> wrote:
>>
>>> fails on windows
>>
>>
>> some of the time. ;)
>>
>> If you open it up with the spreadsheet view (so no rendering), you can
>> see that the cell connectivity array gets nonsense in it - some of the
>> time. When you then open a renderview and show it, it crashes.
>>
>> So som

Re: [Paraview] ParaView Catalyst: export point data

2017-01-06 Thread David E DeMarle
Ah, then you can skip the filter and directly make a vtkUnstructuredGrid
containing only points and VTK_VERTEX cell that index them.

See section 3 of the users guide for details. Somewhere in your adaptor you
will have something like the following:


output = vtk.vtkUnstructuredGrid()
pts = output.GetPoints()
cells = output.GetCells()
for i in particles.len():
  pids = [i]
  pts.InsertNextPoint(next_coordinate)
  cells.InsertNextCell(vtk.VTK_VERTEX, 1, pids)

When you get that working you will want to replace the inserts with direct
memory references to the  possible.


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

On Fri, Jan 6, 2017 at 12:25 PM, <valen...@email.cz> wrote:

> Hello,
>
> thank you, but I mean how to pass these point data computed by a
> simulation code to ParaView in order to visualize them insitu. The Catalyst
> examples (https://gitlab.kitware.com/paraview/paraview/tree/master/
> Examples/Catalyst) usually use some type of a grid and data are then
> attached onto it.
>
> Cheers,
>
> Petr Valenta
>
> ------ Původní zpráva --
> Od: David E DeMarle <dave.dema...@kitware.com>
> Komu: valen...@email.cz
> Datum: 6. 1. 2017 18:00:34
> Předmět: Re: [Paraview] ParaView Catalyst: export point data
>
> Glyph Filter, type=2D subtype=points will create 1D cells (VTK_POINTS
> type) for every point (those that are attached to cells and those that are
> not used by any cell). To get only those points that are not used by cells,
> you may need the programmable filter.
>
>
> David E DeMarle
> Kitware, Inc.
> R Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909 <(518)%20881-4909>
>
> On Fri, Jan 6, 2017 at 11:49 AM, <valen...@email.cz> wrote:
>
> Hello,
>
> is there any way how to export data using Catalyst which are not attached
> to any grid (like particles that are characterized only by the vector of
> their location)?  Thank you!
>
> Petr Valenta
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensou
> rce/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:
> http://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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] ParaView Catalyst: export point data

2017-01-06 Thread David E DeMarle
Glyph Filter, type=2D subtype=points will create 1D cells (VTK_POINTS type)
for every point (those that are attached to cells and those that are not
used by any cell). To get only those points that are not used by cells, you
may need the programmable filter.


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

On Fri, Jan 6, 2017 at 11:49 AM, <valen...@email.cz> wrote:

> Hello,
>
> is there any way how to export data using Catalyst which are not attached
> to any grid (like particles that are characterized only by the vector of
> their location)?  Thank you!
>
> Petr Valenta
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] OSRay and shadows

2017-01-06 Thread David E DeMarle
Bob,

There is no control for that just yet. Work is in progress to provide the
full complement of light controls. If you are working in builting mode, you
can resort to python as follows.

lights = GetActiveView().GetRenderer().GetLights()
for i in range(0, lights.GetNumberOfItems()):
   lights.GetItemAsObject(i).SetLightTypeToSceneLight()

Note: the light position bug in 5.1 that Alan was referring to had the
effect of making making the light positions fixed (scene lights in vtk
terms). In 5.2 that was corrected and now they are camera relative lights
that move with the viewer as they do with GL rendering.

hope that helps





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

On Fri, Jan 6, 2017 at 4:39 AM, Bob Flandard <bfland...@gmail.com> wrote:

> Hi Scott,
>
> Here's a state file, where the shadow of the cylinder is approximately
> perpendicular the the arrows on the ground. As I move the model around in
> 3d with the mouse, I'd like the shadow to remain perpendicular to the
> arrows, similar to how it would look if I walked around the cylinder on a
> sunny day (assuming I didn't walk extremely slowly). I'd like the light
> source to be fixed relative to ground rather than the screen - I'm
> surprised that isn't the default or an option (at least I haven't found it).
>
> Thanks, Bob
>
> ParaView 5.2 on Windows 7
>
> On 6 January 2017 at 00:17, Scott, W Alan <wasc...@sandia.gov> wrote:
>
>> Bob,
>>
>> What version of ParaView are you using?  5.1.2 is known to have issues.
>>
>>
>>
>> Alan
>>
>>
>>
>> *From:* ParaView [mailto:paraview-boun...@paraview.org] *On Behalf Of *Bob
>> Flandard
>> *Sent:* Thursday, January 5, 2017 5:13 PM
>> *To:* paraview <paraview@paraview.org>
>> *Subject:* [EXTERNAL] [Paraview] OSRay and shadows
>>
>>
>>
>> Hello,
>>
>> How can I lock the light source direction to change with the 3d viewing
>> angle, so that the shadows with OSRay don't imply a moving light source as
>> I rotate the model in 3d?
>>
>> Thanks, Bob
>>
>
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Newer object always in front in Render View

2017-01-04 Thread David E DeMarle
That's pretty crazy. You typically have to do some coding to get the
layering effect.

Try running with -dr to disable your preferences and settings. Also, please
share more information about your binary and OS as well as passing along a
state file to see if anyone can reproduce it.




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

On Wed, Jan 4, 2017 at 10:12 AM, Robert Sawko <robertsa...@gmail.com> wrote:

> Hi,
>
> I am playing with a 5.1 version of ParaView and I came across a bug or
> feature
> which makes me a little dizzy. Basically, it seems that objects that appear
> lower in the Pipeline Browser are always on top in Render View. That
> behaviour
> was definitely not a default in earlier versions.
>
> Is there a way to switch to a behaviour when objects culling based on the
> spatial position? Please let me know.
>
> I've taken a few pictures of radius 0.5 spheres displaced by 1 in the X
> direction. Funnily enough the perspective is calculated properly so even
> though
> the blue sphere appears behind it's actually bigger.
>
>
> Kind Regards,
> Robert
> --
> The Awkward Case of "His or Her" (MW-series)
> http://www.merriam-webster.com/video/the-awkward-case-of-his-or-her
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Still Render in PV5.2.0 takes longer time than in PV4.4.0

2017-01-03 Thread David E DeMarle
Is this with OpenGL1 or 2 back end? If you are using Kitware's binaries 4.4
will be OpenGL1 and 5.2 will be OpenGL2. If you built from source or got it
from a distro then it might be otherwise.

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

On Tue, Jan 3, 2017 at 6:08 AM, 张驭洲 <yzhzh...@ipe.ac.cn> wrote:

>
>
> Hi,
>
> I'm using PV 5.2.0 and PV 4.4.0 in the standalone mode rendering a
> dataset, which contains 10M random points and is just for test. I found
> after I turned off  the display list as the PV User's Guide told me, the
> Still Render process in PV5.2.0 takes longer time than in PV4.4.0.
>
> First, there is a NVIDIA GeForce GT 730 GPU in my computer, so I don't use
> mesa. When rendering with the display list on as default, PV 5.2.0 is
> faster than 4.4.0, which is reasonable. A truncated sample output of Timer
> Log of PV 5.2.0 is as follows:
>
> RenderView::Update,  2.28551 seconds
> vtkPVView::Update,  2.28539 seconds
> Execute vtkFileSeriesReader id: 5063,  1.98558 seconds
> Execute vtkGeometryRepresentationWithFa,  0.298828 seconds
> LegacyVTKFileReader::GatherInformation,  0.300355 seconds
> Still Render,  0.43975 seconds
> & nbsp;   OpenGL Dev Render,  0.334455 seconds
>
> And the counterpart in PV 4.4.0 is:
>
> RenderView::Update,  2.34043 seconds
> vtkPVView::Update,  2.34034 seconds
> Execute vtkFileSeriesReader id: 4734,  1.90546 seconds
> Execute vtkGeometryRepresentationWithFa,  0.43377 seconds
> LegacyVTKFileReader::GatherInformation,  0.440593 seconds
> Still Render,  0.963793 seconds
> OpenGL Dev Render,  0.806468 seconds
>
> While other processes take similar time, the Still Render process in PV
> 5.2.0 takes less than half of that in PV 4.4.0.
> The PV User's Guide recommends that when dealing with very large data,
> turning off display list may help. I tried it and found in this situation
> the Still Render process in PV 5.2.0 takes longer time than in PV 4.4.0.
>
> A truncated sample output of Timer Log of PV 5.2.0 when turning off
> display list is as follows:
>
> RenderView::Update,  2.23385 seconds
> vtkPVView::Update,  2.23374 seconds
> Execute vtkFileSeriesReader id: 4914,  1.93566 seconds
> Execute vtkGeometryRepresentationWithFa,  0.297103 seconds
> LegacyVTKFileReader::GatherInformation,  0.301925 seconds
> Still Render,  0.440343 seconds
> OpenGL Dev Render,  0.335149 seconds
>
> And the counterpart in PV 4.4.0 is:
>
> RenderView::Update,  2.4048 seconds
> vtkPVView::Update,  2.4047 seconds
> Execute vtkFileSeriesReader id: 4733,  1.97007 seconds
> Execute vtkGeometryRepresentationWithFa,  0.433521 seconds
> LegacyVTKFileReader::GatherInformation,  0.440413 seconds
> Still Render,  0.211394 seconds
> OpenGL Dev Render,  0.205734 seconds
>
> While in PV 5.2.0 turning that option off had little effect on the running
> time, it significantly reduced the Still Render time in PV 4.4.0 and made
> the time less than half of that in PV 5.2.0.
>
> Could anyone tell me why this happening? Thanks a lot!
>
> -Zhang
>
>
>
>
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Custom Glyph

2017-01-02 Thread David E DeMarle
Glyph with Custom source filter can do it. Note that it works in CPU/RAM
instead of in a GPU shader so memory can be an issue for all the replicated
geometry.

To use it, manufacture a mesh that appears the way you want it and save it
in a common mesh format. Load that into the pipeline and hide it, select
the object you want to apply glyphs to and apply the Glyph with Custom
Source filter. Choose the shape you read in as the "Glyph Type" input.




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

On Mon, Jan 2, 2017 at 2:35 PM, Bob Flandard <bfland...@gmail.com> wrote:

> Hi,
>
> Any links or advice on how to create a custom glyph?
>
> I'd like a sphere divided into 8 equal sized/shaped patches and colored
> alternate black and white, to represent the centroid of a point mass. I
> have lots of these, so a glyph would be best.
>
> Thanks, Bob
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Fwd: Segfault reading polyhedral cells xdmf3 file

2016-12-15 Thread David E DeMarle
On Thu, Dec 15, 2016 at 4:39 PM, David E DeMarle <dave.dema...@kitware.com>
wrote:

> fails on windows


some of the time. ;)

If you open it up with the spreadsheet view (so no rendering), you can see
that the cell connectivity array gets nonsense in it - some of the time.
When you then open a renderview and show it, it crashes.

So something about the read in of the connectivity data has an
uninitialized/misaligned word somewhere.

David E DeMarle
Kitware, Inc.
R Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Fwd: Segfault reading polyhedral cells xdmf3 file

2016-12-15 Thread David E DeMarle
Can confirm that it Alessangro's initial xdmf file fails on windows (crash
is in somewhere in the rendering stack - need a debug build to diagnose
further) but works OK on Linux.

Please submit an issue on the ParaView issue tracker.


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

On Thu, Dec 1, 2016 at 4:07 PM, Alessandro De Maio <demai...@gmail.com>
wrote:

> Both the cases are ok on the Windows PC.
>
> On Thu, Dec 1, 2016 at 6:19 PM, Armin Wehrfritz <dkxl...@gmail.com> wrote:
>
>> To follow up on this issue, I have done some more testing. From the link
>> below you can find two datasets with polyhedral cells, where one is
>> working just fine and the other one is crashing consistently when
>> opening it in ParaView 5.2.
>> The XDMF files are created form the respective .vtu files with ParaView
>> 5.2 (Kitware binaries, Linux 64bit) using the Xdmf3 writer.
>>
>> The strange thing is that the dataset leading to the seg fault is a
>> subset of the dataset that just works fine.
>>
>> Here the link:
>> https://drive.google.com/file/d/0B5CHY8CFeTf2V09NVUhTRkpYSE0
>> /view?usp=sharing
>>
>> Alessandro, can you test these files and report back which ones are
>> working on your PC?
>>
>> Thanks,
>> Armin
>>
>>
>>
>>
>>
>>
>>
>> On 11/30/2016 08:19 PM, Alessandro De Maio wrote:
>>
>>> You're right: the polyhedral cells of the cube.vtu example do not
>>> guarantee the planarity of faces, but this is a typical case of a
>>> polyhedral mesh automatically generated starting from a tetrahedral one
>>> (this example has been built using the Ansys-Fluent converter) and I
>>> think it's quite a usual situation.
>>> But I'm not sure this could generate a segfault as the problem could be
>>> in the algorythms applied by Paraview after the reading of the file that
>>> could consider this hypothesis (as you remarked), while the VTK
>>> topological description of a polyhedral cell doesn't seem to need it,
>>> and the reading phase should only build the data structure compliant
>>> with VTK data representation, as actually happens for vtu file format.
>>> But this is only my opinion and of course it could be wrong as I don't
>>> have a deep knowledge of all the involved procedures.
>>> My idea is that the problem could be due to a memory error, as it's only
>>> unfrequent with a small case (by the way the one cell mesh you attached
>>> can be read also on the windows machine although with a randomic
>>> connectivity error as the one I showed in the image attached to the
>>> previous message) but very frequent with a quite bigger case as the cube.
>>> Is it possible to use something like valgrind to check for memory errors
>>> in Paraview ?
>>>
>>> On Wed, Nov 30, 2016 at 6:35 PM, Armin Wehrfritz <dkxl...@gmail.com
>>> <mailto:dkxl...@gmail.com>> wrote:
>>>
>>> In attach you can find the output of the saving of the
>>> polyhedron.vtu
>>> (saved.xmf and saved.h5) from the Windows machine.
>>>
>>> OK, I tested the "saved.xmf" file and I can open it on my Linux
>>> machine
>>> without issues. Also, I compared the files generated on windows and
>>> linux machines, and the topology data is the same for both of them.
>>> The
>>> datatype in the h5 file is different (H5T_STD_I32LE for the file from
>>> the Windows machine vs. H5T_STD_I64LE for the file from the Linux
>>> machine). The end of line in the xmf file is different, but I don't
>>> think either one of them should cause an issue.
>>>
>>> I've tried also to repeat the procedure (reading of your xmf
>>> file) on a
>>> Linux workstation and the behaviour is different: it seems that
>>> randomically the crash happens again (once on about ten tries)
>>> and
>>> sometimes it seems that the topology has a connectivity error
>>> (see the
>>> image in attachment), while for the most of the times it seems
>>> to do the
>>> right job.
>>>
>>> As said, on my Linux machine it works consistently.
>>>
>>> I've tried also another case, a little bit heavier: a polyhedral
>>> mesh
>>> read from the vtu in attach (cube.vtu) and saved with the Xdmf3
>>> writer.
>>

Re: [Paraview] How to set properties of custom vtkSMProxies (python)?

2016-12-05 Thread David E DeMarle
The immediate_update flag that you can set in XML doesn't quite do what you
want and it seems like it may be deprecated soon.

Internally vtkSMProxy::UpdateProperty takes an optional force flag, but I
don't see that exposed anywhere public that won't involve writing some
paraview SM code to use it.

What you might do is add a pure vtkProperty (not vtk*vector property) that
calls some method on your class. Those take no arguments so they always
execute on the server when asked for by the client.


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

On Mon, Dec 5, 2016 at 3:39 PM, Mario Schreiber <schreibermari...@gmail.com>
wrote:

> Thank you, that works.
> However, I have modified the method SetMyProperty, so that it performs
> some additional logic. Now, the problem is, that I need SetMyProperty to be
> called even when setting the same value again. ParaView caches the
> property, so that SetMyProperty is only executed when the argument is
> different from a previous call. Is it possible to change a flag or
> something to force the remote procedure call even if the argument is the
> same?
>
> Thanks
> Mario
>
>
> 2016-12-05 15:26 GMT+01:00 David E DeMarle <dave.dema...@kitware.com>:
>
>> Try adding a Property element to the xml.
>>
>> On Sat, Dec 3, 2016 at 12:09 PM, Mario Schreiber <
>> schreibermari...@gmail.com> wrote:
>>
>> ...
>>
>>
>>> class vtkMyObject : public vtkObject
>>> {
>>>   public:
>>>
>> ...
>>
>>>
>>> vtkGetMacro(MyProperty,double);
>>> vtkSetMacro(MyProperty,double);
>>>
>>>
>> To make that callable by ParaView:
>>
>> 4. MyConfig.xml:
>> 
>>   
>>> label="MyObject">
>>
>>  > default_values="0"
>> name="MyProperty"
>> number_of_elements="1"
>> panel_visibility="default">
>> Set MyProperty
>> 
>>
>>
>>>
>>>  
>>> 
>>>
>>>
>> ...
>>
>>
>
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Changes in grid spacing in ImageData time series not reflected in Paraview

2016-12-03 Thread David E DeMarle
Try putting it into a multiblock container.

On Nov 30, 2016 7:15 PM, "Anders Damsgaard"  wrote:

> Hi all,
>
> I have generated a time series of ImageData files (.vti), where the grid
> spacing changes over time.  If I load for example the first and last file
> separately into Paraview 5.2.0 for OSX, it correctly renders the two grids
> in differing sizes.  However, if I open the entire time series into
> Paraview the grid retains the spacing from the first file as I step through
> the time.
>
> Am I using the wrong data/file type for the job, or is this a bug?
>
> The files can be downloaded from here:
> https://adamsgaard.dk/files/image-data-files.tar.gz [36.6 MB]
>
> Let me know if you have any further questions, and thanks for any help.
>
> Cheers, Anders
>
> --
> Anders Damsgaard, Ph.D.
> https://adamsgaard.dk
>
> Institute of Geophysics and Planetary Physics
> Scripps Institution of Oceanography
> University of California, San Diego
>
> PGP public key: https://adamsgaard.dk/adc.gpg
> Fingerprint: 4B20 FFE8 CE37 0CB5 4E2C 3282 7601 823F AC65 17CA
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Include grid surface data in vtk file

2016-12-02 Thread David E DeMarle
Yes. The use multi block data set for this. Basically it is a way to group
any  number of atomic dataset types together.

On Nov 30, 2016 10:42 AM, "Christopher Neal" 
wrote:

> Hi,
>
> Is it possible to write a grid file that contains 3D mesh information as
> well as separate blocks for each surface(defined by a unique marker), such
> that a user could extract each individual surface from the data set?
>
> For example, a 3D cube filled with an unstructured grid. A user could
> extract one of the 6 surfaces of the cube based on picking a particular
> block in a data set.
>
> Thank you,
>
> --
> Christopher Neal
> Research Engineer
> Streamline Numerics, Inc.
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Extracting data for external spreadsheet

2016-11-12 Thread David E DeMarle
With the plot over line filter selected in the pipeline browser go to
file->save data, and select save as comma separated values CSV file.


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

On Sat, Nov 12, 2016 at 9:40 AM, Bud Brust <bbr...@emc-sq.com> wrote:

> I am plotting data over a line within a solid model.  The plot appears
> correctly.
>
>
>
> How can I copy the data plotted to place in an external spreadsheet?
> Can’t seem to find this.
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensou
> rce/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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Problem to save screenshot in VERY HIGH resolution

2016-11-07 Thread David E DeMarle
In the meantime, try saving in tiff format instead of png.
I ran into the same thing and found that tiff was more stable.


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

On Wed, Aug 10, 2016 at 8:40 AM, Utkarsh Ayachit <
utkarsh.ayac...@kitware.com> wrote:

> That's indeed a bug. I've reported it here:
> http://www.paraview.org/Bug/view.php?id=16813
> We will have it looked into for the next release.
>
> Utkarsh
>
> On Wed, Aug 10, 2016 at 6:11 AM, Lúcio Corrêa <labcor...@gmail.com> wrote:
> > Hi,
> >
> > I'm trying to save one screenshot with a very high resolution.
> >
> > I try to run in several different machines and configurations but I had
> > always the same problem.
> >
> > Some black rectangular blocks appears in the figure.
> >
> > I'm sending an exemple, one figure and the python code that generate this
> > figure...
> >
> > Someone had some ideia why I have this problem?
> >
> >
> >
> >
> > ___
> > 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:
> > http://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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Contour plots with lines

2016-11-03 Thread David E DeMarle
Please post an example image so we know better what you are looking to make?

On Nov 2, 2016 9:16 PM, "Julio Mendez"  wrote:

> Dear community
> I was wondering if it is possible to do contour plots with lines. Instead
> of having the contour flooded by color. I would like to have 2D contour
> plots only with lines like other packages do.
>
> Thanks you all!!
>
> Julio
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Data structure type

2016-10-28 Thread David E DeMarle
Try vtkStructuredGrid and the Cell Data to Point Data filter.

hth

On Oct 27, 2016 9:30 PM, "Christian Gabriel" 
wrote:

> Good day.
>
>
>
> I’m looking into Paraview for 3D visualisation of modelling results from
> an integrated surface water/groundwater model.
>
>
>
> The model domain is discretized as a uniform rectilinear grid;
> calculations are performed for the grid centroids.
>
> However, the vertical extent of a grid cell is described by a top and
> bottom elevation, constant over the cell.
>
> This results in a staggered arrangement of cells (kinda like Lego blocks)
> in cross-section view:
>
>
>
> *NOT:*
>
>
>
>
>
> I’m wondering what data type/structure I would use for this kind of data?
>
>
>
> Also, is there an easy way/filter in Paraview to re-project/interpolate
> the centre based (const) elevation data to the corners/nodes of the uniform
> rectilinear “horizontal” grid, which would allow for a display as shown on
> the right (instead of staggered)?
>
>
>
> Thanks a lot,
>
>
>
> Chris
>
>
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] 3D Unstructured CFD with symmetry plain

2016-10-21 Thread David E DeMarle
Would you mind posting an image or two of some areas where the reflect
filters symmetry is not appropriate? That will help us understand the
problem and suggest solutions.

On Oct 20, 2016 11:54 PM, "Ben Orr"  wrote:

> Preview Community,
>
> I am new to the mailing list, so please forgive me if this is not the
> place for this type of question.
>
> I have an unstructured CFD solution for half an aircraft using a symmetry
> plain. I would like to view it as though it was run with the full
> (mirrored) geometry. I know about the "reflect" filter, but that keeps the
> symmetry plain as a surface.
>
> Is there a simple way/pipe-line that allows me to select the surface of
> just the "full" aircraft? So far I have been using "reflect" followed by a
> threshold that uses a parameter that is only true for surface cells (such
> as Mach~=0 or height==0 (a calculation of distance from surface used by
> many turbulence models)). Is there a better way?
>
> Thank you,
>
> Ben Orr
> benjaminc...@gmail.com
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] OSPRay rendering issue

2016-10-13 Thread David E DeMarle
Most likely you are running into this bug:
https://gitlab.kitware.com/paraview/paraview/issues/16919

Try applying the generate surface normals filter and see if you get colors
then. If you can, please send me a screen capture and the data if
permissible to help track it down.


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

On Wed, Oct 12, 2016 at 8:46 PM, Seong Mo Yeon <seongmo.y...@gmail.com>
wrote:

> I have paraview 5.1.2 installed with ospray enabled.
> Ospray version is 1.1.0 prebuilt version.
> Paraview setting is as follows:
> LOD threshold as 0
> LOD resolution as 0.5
> Use outline for LOD rendering as checked
> Remote render threshold as 0
> Outline threshold as 10
> Use offscreen rendering for screenshots as checked
>
> The issue is that the surface extracted by extract block is not rendered
> properly but colored with black regardless of representation option.
> Other effects by e.g., stream tracer is rendered nicely.
>
> Is this behavior is due to paraview bug or my paraview setting?
>
> Thanks
>
>
>
> ---
> Sent from Boxer | http://getboxer.com <http://bxr.io/PBID1>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview python script: passing images to PIL (python image library)

2016-10-12 Thread David E DeMarle
Unless you can rely on PIL being on the system search path yes.

In my case PIL is mostly optional so if you look closely you will see paths
that avoid PIL if not present when Catalyst writes out cinema files.



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

On Wed, Oct 12, 2016 at 2:22 PM, Albina, Frank <
frank.alb...@sauber-motorsport.com> wrote:

> David,
>
> this leads me to another question. Looking at file raster_wrangler.py in
> lib/paraview-5.1/site-packages/paraview/cinemaIO, one tries to import
> PIL. However, even though numpy is provided by the SuperBuild, PIL is not.
> So I guess that I have to compile my own version of Python including PIL
> and pass it to the SuperBuild as system python installation. Is my
> assumption correct? Or have I been missing something?
>
> Cheers,
>
>
> Frank.
>
> *From:* ParaView [mailto:paraview-boun...@paraview.org] *On Behalf Of *Albina,
> Frank
> *Sent:* Mittwoch, 12. Oktober 2016 20:01
> *To:* David E DeMarle
> *Cc:* Del Citto, Francesco; paraview@paraview.org
>
> *Subject:* Re: [Paraview] Paraview python script: passing images to PIL
> (python image library)
>
>
>
> David,
>
>
>
> that’s excellent.
>
>
>
> Thanks a lot.
>
> Frank.
>
> *From:* David E DeMarle [mailto:dave.dema...@kitware.com
> <dave.dema...@kitware.com>]
> *Sent:* Mittwoch, 12. Oktober 2016 19:56
> *To:* Albina, Frank
> *Cc:* paraview@paraview.org; Del Citto, Francesco
> *Subject:* Re: [Paraview] Paraview python script: passing images to PIL
> (python image library)
>
>
>
> Look into the cinemaIO directory of ParaView. We move back and forth
> between paraview, numpy and PIL often there.
>
>
>
> For example:
>
> image = self.view.CaptureWindow(1)
>
> ext = image.GetExtent()
>
> width = ext[1] - ext[0] + 1
>
> height = ext[3] - ext[2] + 1
>
> imagescalars = image.GetPointData().GetScalars()
>
> idata = numpy_support.vtk_to_numpy(imagescalars)
>
> image.UnRegister(None)
>
> imageslice = idata.reshape(height, width, 3)
>
> imageslice = numpy.flipud(imageslice)
>
> pimg = PIL.Image.fromarray(imageslice)
>
>
>
> David E DeMarle
> Kitware, Inc.
> R Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
>
>
> On Wed, Oct 12, 2016 at 1:42 PM, Albina, Frank <frank.albina@sauber-
> motorsport.com> wrote:
>
> All,
>
> A simple question: my incentive is to manipulate images using PIL in a
> pvbatch script. At the time being, I am writing the images to file in PNG
> format and reading the file again from disc using PIL. I have found out
> that the underlying image writing is performed by the vtkPNGWriter class
> and that this class allows to write to memory (vtkPNGWriter.SetWriteToMemory).
> Hence my question: Is it possible to “write” a PNG file to memory so that I
> can  process it further using PIL? If so, how shall I proceed?
>
> Thank you very much in advance.
>
> Cheers,
>
> Frank.
>
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview python script: passing images to PIL (python image library)

2016-10-12 Thread David E DeMarle
Look into the cinemaIO directory of ParaView. We move back and forth
between paraview, numpy and PIL often there.

For example:
image = self.view.CaptureWindow(1)
ext = image.GetExtent()
width = ext[1] - ext[0] + 1
height = ext[3] - ext[2] + 1
imagescalars = image.GetPointData().GetScalars()
idata = numpy_support.vtk_to_numpy(imagescalars)
image.UnRegister(None)
imageslice = idata.reshape(height, width, 3)
imageslice = numpy.flipud(imageslice)
pimg = PIL.Image.fromarray(imageslice)

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

On Wed, Oct 12, 2016 at 1:42 PM, Albina, Frank <frank.albina@sauber-
motorsport.com> wrote:

> All,
>
> A simple question: my incentive is to manipulate images using PIL in a
> pvbatch script. At the time being, I am writing the images to file in PNG
> format and reading the file again from disc using PIL. I have found out
> that the underlying image writing is performed by the vtkPNGWriter class
> and that this class allows to write to memory (vtkPNGWriter.SetWriteToMemory).
> Hence my question: Is it possible to “write” a PNG file to memory so that I
> can  process it further using PIL? If so, how shall I proceed?
>
> Thank you very much in advance.
>
> Cheers,
>
> Frank.
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensou
> rce/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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Can't export to vector graphics in ParaView 5.0

2016-10-11 Thread David E DeMarle
Yes that is known.

SVG output was temporarily lost in the initial transition to OpenGL"2"
rendering back around 5.0.
I think it returned before 5.1.

Note also that if you built 5.0 from source but choose the OpenGL"1"
backend instead of the then newly default OpenGL"2" you would also have it.




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

On Tue, Oct 11, 2016 at 2:05 PM, Nicolás Guarín-Zapata <nicogua...@gmail.com
> wrote:

> Hello,
>
> In my laptop with Windows 10, ParaView 5.0 can't export to vector graphics
> formats. You can see a screenshot here:
>
> https://twitter.com/nicoguaro/status/785890202166321152?s=09
>
> Nevertheless, I just downloaded and installed version 5.2 RC1 and the
> options appear. Is this a known problem?
>
> Thanks,
> Nicolás
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Building ParaView v5.1.2 on Linux from source with support for GPU and SWR.

2016-09-28 Thread David E DeMarle
On Wed, Sep 28, 2016 at 4:06 AM, Albina, Frank <
frank.alb...@sauber-motorsport.com> wrote:

> David,
>
>
>
> I could manage to get Paraview 5.1.2 compiled using the ParaView
> superbuild on my Linux desktop running OpenSuSE 12.3.
>
>
>
> In this regard, I would like to point out a few things I have found while
> performing the build process on the aforementioned Linux distribution. Note
> that my incentive is to help improve the ParaView software suite as well as
> helping others to be able to build and use the software.
>
>
Thanks, we appreciate it!


>
> 1. I found it this page quite useful for having at least a starting
> point for building ParaView v5.1.2 on Linux: https://cmake.org/Wiki/
> ParaView/Binaries
>
> 2. You definitely need cmake at least *cmake v3.5* (and not v3.3) to
> compile ParaView from SuperBuild.
>

 Ah yes, sorry for the misinformation on my part.

> 3. You need a *GNU compiler v4.8.0 or above* to build. My Linux
> distribution comes with gcc v4.7.2. Fortunately, I had gcc v4.9.2 installed
> with which I could perform a successful build.
>
> 4. Dependencies such libsz, libxml, libbzip2 are built and stored in
> the /install/lib64 directory on my platform. This creates linking
> issues which I could partly resolve by pushing the missing libraries into
> the /install/lib directory. This is not ideal but could be solved by
> forcing the lib directory to /install/lib using the --libdir option.
>
> 5. The vistrails plugin cannot be built. After 3 attempts, the git
> clone from https://kwgitlab.kitware.com/paraview/vistrails.git fails.
> Either the link is wrong or the server is unreachable.
>
> 6. The mesa libraries are pre-compiled and downloaded to
> /mesa-downloads. They are unpacked and moved into the ParaView
> installation directory when performing “make install”. These libraries are
> dating from May 3rd, hence prior to the release of Mesa 12.0 which embeds
> OpenSWR as a build option. Is there a way to build new libGL.so and
> libOSMesa.so libraries based on Mesa3D v12.0 and replace the currently
> pre-compiled binaries? If so,what are the typical configuration options
> used in this case?
>
>
I believe the plan is to update to 12 before 5.2. Is that right @chuck and
@ben?


> Any feedback/comments are most welcome.
>
>
>
> Regards,
>
>
> Frank.
>
>
>
> *From:* Albina, Frank
> *Sent:* Montag, 26. September 2016 15:51
> *To:* 'David E DeMarle'
> *Cc:* paraview@paraview.org; Del Citto, Francesco
> *Subject:* RE: [Paraview] Building ParaView v5.1.2 on Linux from source
> with support for GPU and SWR.
>
>
>
> Perfect!
>
>
>
> Thanks.
>
>
>
> Frank.
>
>
>
> *From:* David E DeMarle [mailto:dave.dema...@kitware.com
> <dave.dema...@kitware.com>]
> *Sent:* Montag, 26. September 2016 15:49
>
> *To:* Albina, Frank
> *Cc:* paraview@paraview.org; Del Citto, Francesco
> *Subject:* Re: [Paraview] Building ParaView v5.1.2 on Linux from source
> with support for GPU and SWR.
>
>
>
> 3.3
>
>
> David E DeMarle
> Kitware, Inc.
> R Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
>
>
> On Mon, Sep 26, 2016 at 9:42 AM, Albina, Frank <frank.albina@sauber-
> motorsport.com> wrote:
>
> Hi David!
>
>
>
> Thanks for the swift feedback. As I have been compiling ParaView from
> source for at least the last 6 years, it never came to my mind trying out
> the super-build. £
>
>
>
> I’ll try it out and report if I find myself stuck.
>
>
>
> By the way, which CMake version do you recommend for building ParaView
> v5.1.2 from the git repository?
>
>
>
> Best regards,
>
>
> Frank.
>
>
>
> *From:* David E DeMarle [mailto:dave.dema...@kitware.com]
> *Sent:* Montag, 26. September 2016 15:37
> *To:* Albina, Frank
> *Cc:* paraview@paraview.org; Del Citto, Francesco
> *Subject:* Re: [Paraview] Building ParaView v5.1.2 on Linux from source
> with support for GPU and SWR.
>
>
>
> I recommend the ParaView superbuild. All of the incantations that we use
> to setup and build paraview, mesa and the rest of our dependencies are
> written down and maintained there.
>
> https://gitlab.kitware.com/paraview/paraview-superbuild
>
> We've used it for our Desktop binaries for years, and more and more often
> we use it for our HPC installs as well.
>
>
> David E DeMarle
> Kitware, Inc.
> R Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
>
>
> On Mon, Sep 26, 2016 at 5:17 AM, Albina, Frank <frank.albina@sauber-
> motorsport.com> wrote:
>

Re: [Paraview] Building ParaView v5.1.2 on Linux from source with support for GPU and SWR.

2016-09-26 Thread David E DeMarle
3.3


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

On Mon, Sep 26, 2016 at 9:42 AM, Albina, Frank <
frank.alb...@sauber-motorsport.com> wrote:

> Hi David!
>
>
>
> Thanks for the swift feedback. As I have been compiling ParaView from
> source for at least the last 6 years, it never came to my mind trying out
> the super-build. £
>
>
>
> I’ll try it out and report if I find myself stuck.
>
>
>
> By the way, which CMake version do you recommend for building ParaView
> v5.1.2 from the git repository?
>
>
>
> Best regards,
>
>
> Frank.
>
>
>
> *From:* David E DeMarle [mailto:dave.dema...@kitware.com]
> *Sent:* Montag, 26. September 2016 15:37
> *To:* Albina, Frank
> *Cc:* paraview@paraview.org; Del Citto, Francesco
> *Subject:* Re: [Paraview] Building ParaView v5.1.2 on Linux from source
> with support for GPU and SWR.
>
>
>
> I recommend the ParaView superbuild. All of the incantations that we use
> to setup and build paraview, mesa and the rest of our dependencies are
> written down and maintained there.
>
> https://gitlab.kitware.com/paraview/paraview-superbuild
>
> We've used it for our Desktop binaries for years, and more and more often
> we use it for our HPC installs as well.
>
>
> David E DeMarle
> Kitware, Inc.
> R Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
>
>
> On Mon, Sep 26, 2016 at 5:17 AM, Albina, Frank <frank.albina@sauber-
> motorsport.com> wrote:
>
> Dear all,
>
> after having downloaded last week the latest ParaView release (v5.1.2) for
> Linux, I have found out that the binary version has the following folder
> structure in lib/paraview-5.1:
>
> *mesa-llvm*
>
> |-- *libGL.so* -> libGL.so.1
>
> |-- *libGL.so.1 *-> libGL.so.1.5
>
> |-- libGL.so.1.5
>
> |-- *libOSMesa.so* -> libOSMesa.so.8
>
> |-- *libOSMesa.so.8* -> libOSMesa.so.8.0.0
>
> `-- libOSMesa.so.8.0.0
>
> *mesa-swr-avx*
>
> |-- *libGL.so* -> libGL.so.1
>
> |-- *libGL.so.1* -> libGL.so.1.5
>
> |-- libGL.so.1.5
>
> |-- *libOSMesa.so* -> libOSMesa.so.8
>
> |-- *libOSMesa.so.8* -> libOSMesa.so.8.0.0
>
> `-- libOSMesa.so.8.0.0
>
> *mesa-swr-avx2*
>
> |-- *libGL.so* -> libGL.so.1
>
> |-- *libGL.so.1 *-> libGL.so.1.5
>
> |-- libGL.so.1.5
>
> |-- *libOSMesa.so* -> libOSMesa.so.8
>
> |-- *libOSMesa.so.8* -> libOSMesa.so.8.0.0
>
> `-- libOSMesa.so.8.0.0
>
> Which is an elegant way of providing a binary package for GPU and non-GPU
> architectures at the same time.
>
> Hence my question: How do I build ParaView v5.1.2 from source to have the
> same folder structure so that I have one version for GPU and software
> rendering? I understand that swr-avx(2) should be also available from Mesa
> v12.x. Is there anything I’d need to consider / take care of before
> building the different OSMesa libraries with LLVM / OpenSWR?
>
> *Frank Albina*
>
>
>
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Building ParaView v5.1.2 on Linux from source with support for GPU and SWR.

2016-09-26 Thread David E DeMarle
I recommend the ParaView superbuild. All of the incantations that we use to
setup and build paraview, mesa and the rest of our dependencies are written
down and maintained there.

https://gitlab.kitware.com/paraview/paraview-superbuild

We've used it for our Desktop binaries for years, and more and more often
we use it for our HPC installs as well.

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

On Mon, Sep 26, 2016 at 5:17 AM, Albina, Frank <
frank.alb...@sauber-motorsport.com> wrote:

> Dear all,
>
> after having downloaded last week the latest ParaView release (v5.1.2) for
> Linux, I have found out that the binary version has the following folder
> structure in lib/paraview-5.1:
>
> *mesa-llvm*
>
> |-- *libGL.so* -> libGL.so.1
>
> |-- *libGL.so.1 *-> libGL.so.1.5
>
> |-- libGL.so.1.5
>
> |-- *libOSMesa.so* -> libOSMesa.so.8
>
> |-- *libOSMesa.so.8* -> libOSMesa.so.8.0.0
>
> `-- libOSMesa.so.8.0.0
>
> *mesa-swr-avx*
>
> |-- *libGL.so* -> libGL.so.1
>
> |-- *libGL.so.1* -> libGL.so.1.5
>
> |-- libGL.so.1.5
>
> |-- *libOSMesa.so* -> libOSMesa.so.8
>
> |-- *libOSMesa.so.8* -> libOSMesa.so.8.0.0
>
> `-- libOSMesa.so.8.0.0
>
> *mesa-swr-avx2*
>
> |-- *libGL.so* -> libGL.so.1
>
> |-- *libGL.so.1 *-> libGL.so.1.5
>
> |-- libGL.so.1.5
>
> |-- *libOSMesa.so* -> libOSMesa.so.8
>
> |-- *libOSMesa.so.8* -> libOSMesa.so.8.0.0
>
> `-- libOSMesa.so.8.0.0
>
> Which is an elegant way of providing a binary package for GPU and non-GPU
> architectures at the same time.
>
> Hence my question: How do I build ParaView v5.1.2 from source to have the
> same folder structure so that I have one version for GPU and software
> rendering? I understand that swr-avx(2) should be also available from Mesa
> v12.x. Is there anything I’d need to consider / take care of before
> building the different OSMesa libraries with LLVM / OpenSWR?
>
> *Frank Albina*
>
>
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensou
> rce/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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] pvbatch hangs when enabling OSPRay

2016-09-21 Thread David E DeMarle
Ben,

I am not able to reproduce this locally. Can you file an issue to help me
keep track of it on ParaView's new gitlab issue tracker?

https://gitlab.kitware.com/paraview/paraview/issues


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

On Thu, Aug 4, 2016 at 3:24 PM, Benjamín Hernández <ben...@gmail.com> wrote:

> Hello,
>
> I've compiled Paraview 5.1 with multithreaded mpi and ospray (with OpenMP)
> support using the next  modules:
>
>   1) gcc/4.8.25) xalt/0.5.3   9) szip/2.1
>  13) boost/1.61.0
>   2) openmpi/1.8.4_mtm6) DefApps 10) hdf5/1.8.11
> 14) libtool/2.4.2
>   3) PE-gnu/4.8.2-1.8.4   7) qt4/4.8.5   11) mxml/2.9
>  15) git/1.8.0.2
>   4) lustredu/1.4 8) python/2.7.912) adios/1.9.0
> 16) cmake/3.5.2
>
>
> and wrote a python script that loads a  vtu file  and renders it as glyph
> particles.
>
> When running pvbatch in one node it works fine, I can visualize and save
> images. However, when running pvbatch with mpi the script just hangs in the
> line  that enables OSPRay:
>
> oSPRayRendered3DView1.EnableOSPRay = 1
>
>
> I am using the next mpi  commands with no success:
>
> mpirun -npernode 16 pvbatch  --mpi --use-offscreen-rendering myscript
> inputfile.vtu outputimage.png
>
> mpirun -np 13 --map-by ppr:1:socket:pe=16 pvbatch  --mpi
> --use-offscreen-rendering myscript inputfile.vtu outputimage.png
>
>
> I did a simpler script that does the following:
>
>  import the simple module from the paraview
> from paraview.simple import *
>  disable automatic camera reset on 'Show'
> paraview.simple._DisableFirstRenderCameraReset()
>
> # set active view
> SetActiveView(None)
> CreateLayout('Layout #1')
>
> # Create a new 'Render View'
> print "Creating render view"
> renderView1 = CreateView('RenderView')
> renderView1.ViewSize = [11520, 3240]
> renderView1.CameraPosition = [0.0, 0.0, 6.69]
> renderView1.CameraFocalPoint = [0.0, 0.0, 0.0]
> renderView1.CameraViewUp = [0.0, 1.0, 0.0]
> renderView1.CameraViewAngle = 30.0
> renderView1.CameraParallelScale = 1.73
> renderView1.Background = [0.32, 0.34, 0.43]
> print "Before Enabling OSPRay"
> renderView1.EnableOSPRay = 1
> print "After Enabling OSPRay"
> renderView1.Shadows = 1
> renderView1.AmbientSamples = 4
> renderView1.SamplesPerPixel = 8
> renderView1.MaxFrames = 1
> renderView1.LightScale = 1.0
>
> print "Done!"
>
>
>  saving camera placements for all active views
>
> # current camera placement for renderView1
> renderView1.CameraPosition = [148.48492741767512, 106.10239872416838,
> -28480.984448300518]
> renderView1.CameraFocalPoint = [137.62326776804608, 95.85538889348155,
> -28593.41405565134]
> renderView1.CameraViewUp = [-0.529722197084864, 0.8477698001026378,
> -0.02609137691878691]
> renderView1.CameraParallelScale = 19159.165918040744
>
>
>
> but it  never reaches the print "After Enabling OSPRay" line
>
>
>
> Any advice will be appreciated,
>
>
>
> Benjamin Hernandez
> OLCF
> Oak Ridge National Laboratory
>
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] wall shear stress

2016-09-18 Thread David E DeMarle
This topic comes up pretty often. We should automate the above.


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

On Sun, Sep 18, 2016 at 7:39 PM, David Thompson <david.thomp...@kitware.com>
wrote:

> Hi Fande,
>
> You should be able to use the gradient filter to compute the velocity
> gradient and examine the component of the gradient normal to the wall. That
> will be proportional to the shear stress at the wall. Is the wall aligned
> with a coordinate axis? If not, you will need to extract the wall surface
> and generate normal vectors, then dot the gradient with the normal vectors.
>
> David
>
> On Sep 18, 2016, at 16:01, Fande Kong <fdkong...@gmail.com> wrote:
>
> Hi Developers,
>
> I am solving an incompressible Navier-Stokes equations, and I have
> solutions for the velocity (u)  and the pressure (p). Is it possible to
> show the wall shear stress in paraview using the velocity?
>
>
> Fande Kong,
>
> ___
> 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:
> http://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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] ISC 2017 research paper submissions now open

2016-09-10 Thread David E DeMarle
The call for submissions for ISC research paper sessions for 2017 is now
open. More information is located at:

https://www.hpcwire.com/off-the-wire/call-submissions-now-open-isc-2017-research-paper-sessions/?eid=328379665=1522852
.

Best of luck with your research!

David E DeMarle
Kitware, Inc.
R Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Please nominate ParaView for for the 2016 HPCwire Readers' Choice Awards

2016-09-07 Thread David E DeMarle
Thank you to everyone who nominated ParaView for the HPCwire Readers’
Choice Awards.

The survey is now open for voting, and ParaView is included in the “Best
HPC Visualization Product or Technology” category.” To vote for ParaView,
please visit https://www.hpcwire.com/2016-hpcwire-readers-choice-awards/.

Thank you for your continued support!

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

On Tue, Aug 2, 2016 at 11:54 AM, David E DeMarle <dave.dema...@kitware.com>
wrote:

> We would like to thank everyone who contributed to version 5.1.2 of
> ParaView. To acknowledge the growth of ParaView, please join us in
> nominating the fruit of our combined efforts for a 2016 HPCwire Readers’
> Award in the “Best HPC Visualization Product or Technology” category.
>
> Nominations can be made at http://www.hpcwire.com/2015-
> hpcwire-readers-choice-awards. Thank you for your support!
>
> For reference, here are some recent updates
> <https://blog.kitware.com/paraview-5-1-0-release-notes/> made to ParaView:
>
>- Enabled ray tracing through OSPRay
>- Added “Point Interpolation” filters
>- Introduced the capability to render picture-in-picture visualizations
>- Launched a welcome screen with a link to “ParaView Getting Started
>Guide”
>- Improved ParaView Catalyst and Cinema for In-Situ processing at
>extreme scales
>
> David E DeMarle
> Kitware, Inc.
> R Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Xdmf Reader always asks for version 2 or Version 3

2016-08-02 Thread David E DeMarle
Sorry not without hacking a bit.

Thoughts about how to go about it:

You can configure a ParaView build to have just one or the other, in which
case the choice goes away.

Change the .xdmf file extension to something like .xdmf2 or .xdmf3 and then
register the extension to just one of the readers.

Extend vtkXdmf*Reader::CanReadFile to check for some version attribute near
the top of the file and return no if the file is meant for the other reader.


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

On Tue, Aug 2, 2016 at 1:38 PM, Michael Jackson <mike.jack...@bluequartz.net
> wrote:

> When we load our XDMF files ParaView will always ask which version of the
> XDMF reader to use: 2 or 3? Is there something we can put in our XDMF file
> that is used by ParaView to make this choice for us?
>
> Thanks
>
> --
> Michael A. Jackson
> BlueQuartz Software, LLC
> [e]: mike.jack...@bluequartz.net
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


  1   2   3   4   5   6   7   8   9   10   >