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

2017-05-05 Thread Vanmoer, Mark W
Hi David,

It's at: https://github.com/mvanmoer/paraview-hpc-support

bw.pvsc 
bw-win.pvsc

What's the recommendation for OS X to replicate the xterm/ssh, plink/cmd combos 
for making the connection?

Please ignore the one for JYC, that's basically just for me. (Unless 
you/Kitware have JYC access?)

Thanks,
Mark


From: David E DeMarle [dave.dema...@kitware.com]
Sent: Friday, May 05, 2017 9:25 AM
To: Vanmoer, Mark W; Chuck Atkins
Cc: ParaView
Subject: Re: [Paraview] Adding Blue Waters to the list of servers in Fetch 
Servers?

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 
> 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] ParaView v5.3: Generating textures from scalars and lookup table

2017-05-05 Thread Ken Martin
>
> Does anyone have idea how to solve generating textures problem?
>
> I continued to decompose the problem and I'm curious, is interpolation of
> scalars before mapping performed (when OpenGL2 is selected) by shaders
> (on-the-fly, during display) or is an intermediate texture generated?
>

2xN is a good texture. That is what you should get for both the old and new
backends (N covers the  scalar range, the 2 covers normal versus NaN, it is
a 2D map because of how normal scalar values should properly interpolate to
NaN).

When interp before mapping is on we do create a 2xN texture and texture
coordinates. The texture coordinate maps the scalar values into the texture
map. Interpolation is done in the fragment shader by texture lookup. The
process for cell data is a bit different but in that case there is no
interpolation. There we use a texture to map cellids to colors I believe.

If you have point scalars, and you write out the 2xN texture map along with
the color texture coordinates generated for it (not the texture coordinates
that might have come from the model or a source), then that should be
correct.

Also, in OpenGL case, vtkPainter was available. This is missing in OpenGL2.
> Where has this functionality moved to or is it missing?
>

OpenGL2 has a different design that does not use painters.


>
> Nenad.
>
> On Tue, Apr 25, 2017 at 11:59 AM, Nenad Vujicic  wrote:
>
>> David,
>>
>> Thank you very much for your response! I tried what you suggested and it
>> worked, but, I'm getting bad texture, i.e. I get texture 2xN, where N is
>> number of segments in colormap and the exported texture mapped object looks
>> like I turned OFF InterpolateScalarsBeforeMapping flag. I would like to
>> simulate InterpolateScalarsBeforeMapping behavior by baking entire
>> texture first and exporting it. You can easily see difference if you create
>> Wavelet source, turn ON Surface representation, select RTData array for
>> coloring and set Number Of Table Values (in Color Map Editor) to e.g. 5.
>>
>> What I did in background is: I patched vtkCompositePolyDataMapper2Internal
>> and vtkCompositePolyDataMapper2, so I'm able to access appropriate block
>> mapper and get rid of old colormap texture, coordinates, colors, call
>> MapScalars(), dump created ColorMapTexture to .vti file (everything
>> performed on block-mapper).
>>
>> Do you have some idea where I made mistake?
>>
>> Thanks in advance!
>>
>> Nenad.
>>
>>
>> On Thu, Apr 13, 2017 at 2:33 PM, David E DeMarle <
>> dave.dema...@kitware.com> wrote:
>>
>>> Hi Nenand,
>>>
>>> You might try vtkMapper::GetColorMapColors/C
>>> olorCoordinates/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 <(518)%20881-4909>
>>>
>>> On Tue, Apr 11, 2017 at 6:34 AM, Nenad Vujicic 
>>> 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/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
>
>
>


-- 
Ken Martin PhD
Distinguished Engineer
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065

This communication, including all attachments, contains 

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 
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


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

2017-05-05 Thread Vanmoer, Mark W
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


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  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] Paraview segfault when connecting to pvserver

2017-05-05 Thread Cory Quammen
Patrick,

This means that the client and server versions are incompatible. The
client is trying to send over a new property, "PPI", that the older
version of the server does not know about. Making sure the client and
server are built from the same source (and remembering to update the
VTK submodule with `git submodule update`) is the surest way of
resolving errors of this type.

HTH,
Cory

On Fri, May 5, 2017 at 4:08 AM, Patrick Begou
 wrote:
> Hi
>
> Paraview 5.3 on the desktop client is from paraview superbuild
> (v5.3.0-1-g8375204) using Qt5. It runs in standalone mode or with
> client/server (mpirun -np 4 pvserver  --use-offscreen-rendering) on the same
> PC. I have to use  " --use-offscreen-rendering" to avoid some rendering
> problem with client/server.
>
> Paraview is compiled on a remote cluster with osmesa support, by hand
> (paraview superbuild still fails at this time), it is
> v5.3.0-489-gdbdb86747e.
>
> If I launch pvserver (mpirun -np 2 pvserver ) on the remote cluster and try
> to connect from my PC, paraview segfault:
>
> ERROR: In
> /HA/sources/begou/PARAVIEW/build-thor/superbuild/paraview/src/ParaViewCore/ServerManager/Core/vtkSMCompositeTreeDomain.cxx,
> line 152
> vtkSMCompositeTreeDomain (0x3bab180): Unrecognized mode: amr
>
> ERROR: In
> /HA/sources/begou/PARAVIEW/build-thor/superbuild/paraview/src/ParaViewCore/ServerManager/Core/vtkSMCompositeTreeDomain.cxx,
> line 152
> vtkSMCompositeTreeDomain (0x46a0410): Unrecognized mode: amr
>
> ERROR: In
> /HA/sources/begou/PARAVIEW/build-thor/superbuild/paraview/src/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx,
> line 371
> vtkPVSessionCore (0x20bba50): Object type: vtkPVRenderView, could not find
> requested method: "SetPPI"
> or the method was called with incorrect arguments.
>
> while processing
> Message 0 = Invoke
>   Argument 0 = vtk_object_pointer {vtkPVRenderView (0x4e67aa0)}
>   Argument 1 = string_value {SetPPI}
>   Argument 2 = int32_value {96}
>
> ERROR: In
> /HA/sources/begou/PARAVIEW/build-thor/superbuild/paraview/src/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx,
> line 372
> vtkPVSessionCore (0x20bba50): Aborting execution for debugging purposes.
>
>  ABORT #
> ERROR: In
> /HA/sources/begou/PARAVIEW/build-thor/superbuild/paraview/src/ParaViewCore/ServerImplementation/Core/vtkSIProxy.cxx,
> line 570
> vtkSIProxy (0x4e5f4b0): Could not parse property: PPI
>
> ERROR: In
> /HA/sources/begou/PARAVIEW/build-thor/superbuild/paraview/src/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx,
> line 371
> vtkPVSessionCore (0x20bba50): Wrapper function not found for class "(vtk
> object is NULL)".
> while processing
> Message 0 = Invoke
>   Argument 0 = stream_value {
> Message 0 = Invoke
>   Argument 0 = id_value {1}
>   Argument 1 = string_value {GetVTKObject}
>   Argument 2 = uint32_value {4037}
> }
>   Argument 1 = string_value {Initialize}
>   Argument 2 = int32_value {4037}
>
> ERROR: In
> /HA/sources/begou/PARAVIEW/build-thor/superbuild/paraview/src/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx,
> line 372
> vtkPVSessionCore (0x20bba50): Aborting execution for debugging purposes.
>
>
>  ABORT #
> Segmentation fault (core dumped)
>
>
> I've tryed to google the error message, but did not get any solution.
>
> Patrick
>
> --
> ===
> |  Equipe M.O.S.T. |  |
> |  Patrick BEGOU   | mailto:patrick.be...@grenoble-inp.fr |
> |  LEGI|  |
> |  BP 53 X | Tel 04 76 82 51 35   |
> |  38041 GRENOBLE CEDEX| Fax 04 76 82 52 71   |
> ===
>
> ___
> 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


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

2017-05-05 Thread Nenad Vujicic
Hello everyone,

Does anyone have idea how to solve generating textures problem?

I continued to decompose the problem and I'm curious, is interpolation of
scalars before mapping performed (when OpenGL2 is selected) by shaders
(on-the-fly, during display) or is an intermediate texture generated?

Also, in OpenGL case, vtkPainter was available. This is missing in OpenGL2.
Where has this functionality moved to or is it missing?

Nenad.

On Tue, Apr 25, 2017 at 11:59 AM, Nenad Vujicic  wrote:

> David,
>
> Thank you very much for your response! I tried what you suggested and it
> worked, but, I'm getting bad texture, i.e. I get texture 2xN, where N is
> number of segments in colormap and the exported texture mapped object looks
> like I turned OFF InterpolateScalarsBeforeMapping flag. I would like to
> simulate InterpolateScalarsBeforeMapping behavior by baking entire
> texture first and exporting it. You can easily see difference if you create
> Wavelet source, turn ON Surface representation, select RTData array for
> coloring and set Number Of Table Values (in Color Map Editor) to e.g. 5.
>
> What I did in background is: I patched vtkCompositePolyDataMapper2Internal
> and vtkCompositePolyDataMapper2, so I'm able to access appropriate block
> mapper and get rid of old colormap texture, coordinates, colors, call
> MapScalars(), dump created ColorMapTexture to .vti file (everything
> performed on block-mapper).
>
> Do you have some idea where I made mistake?
>
> Thanks in advance!
>
> Nenad.
>
>
> On Thu, Apr 13, 2017 at 2:33 PM, David E DeMarle  > wrote:
>
>> Hi Nenand,
>>
>> You might try vtkMapper::GetColorMapColors/C
>> olorCoordinates/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 <(518)%20881-4909>
>>
>> On Tue, Apr 11, 2017 at 6:34 AM, Nenad Vujicic  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


[Paraview] Paraview segfault when connecting to pvserver

2017-05-05 Thread Patrick Begou

Hi

Paraview 5.3 on the desktop client is from paraview superbuild 
(v5.3.0-1-g8375204) using Qt5. It runs in standalone mode or with client/server 
(mpirun -np 4 pvserver  --use-offscreen-rendering) on the same  PC. I have to 
use  " --use-offscreen-rendering" to avoid some rendering problem with 
client/server.


Paraview is compiled on a remote cluster with osmesa support, by hand (paraview 
superbuild still fails at this time), it is v5.3.0-489-gdbdb86747e.


If I launch pvserver (mpirun -np 2 pvserver ) on the remote cluster and try to 
connect from my PC, paraview segfault:


ERROR: In 
/HA/sources/begou/PARAVIEW/build-thor/superbuild/paraview/src/ParaViewCore/ServerManager/Core/vtkSMCompositeTreeDomain.cxx, 
line 152

vtkSMCompositeTreeDomain (0x3bab180): Unrecognized mode: amr

ERROR: In 
/HA/sources/begou/PARAVIEW/build-thor/superbuild/paraview/src/ParaViewCore/ServerManager/Core/vtkSMCompositeTreeDomain.cxx, 
line 152

vtkSMCompositeTreeDomain (0x46a0410): Unrecognized mode: amr

ERROR: In 
/HA/sources/begou/PARAVIEW/build-thor/superbuild/paraview/src/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx, 
line 371
vtkPVSessionCore (0x20bba50): Object type: vtkPVRenderView, could not find 
requested method: "SetPPI"

or the method was called with incorrect arguments.

while processing
Message 0 = Invoke
  Argument 0 = vtk_object_pointer {vtkPVRenderView (0x4e67aa0)}
  Argument 1 = string_value {SetPPI}
  Argument 2 = int32_value {96}

ERROR: In 
/HA/sources/begou/PARAVIEW/build-thor/superbuild/paraview/src/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx, 
line 372

vtkPVSessionCore (0x20bba50): Aborting execution for debugging purposes.

 ABORT #
ERROR: In 
/HA/sources/begou/PARAVIEW/build-thor/superbuild/paraview/src/ParaViewCore/ServerImplementation/Core/vtkSIProxy.cxx, 
line 570

vtkSIProxy (0x4e5f4b0): Could not parse property: PPI

ERROR: In 
/HA/sources/begou/PARAVIEW/build-thor/superbuild/paraview/src/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx, 
line 371
vtkPVSessionCore (0x20bba50): Wrapper function not found for class "(vtk object 
is NULL)".

while processing
Message 0 = Invoke
  Argument 0 = stream_value {
Message 0 = Invoke
  Argument 0 = id_value {1}
  Argument 1 = string_value {GetVTKObject}
  Argument 2 = uint32_value {4037}
}
  Argument 1 = string_value {Initialize}
  Argument 2 = int32_value {4037}

ERROR: In 
/HA/sources/begou/PARAVIEW/build-thor/superbuild/paraview/src/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx, 
line 372

vtkPVSessionCore (0x20bba50): Aborting execution for debugging purposes.


 ABORT #
Segmentation fault (core dumped)


I've tryed to google the error message, but did not get any solution.

Patrick

--
===
|  Equipe M.O.S.T. |  |
|  Patrick BEGOU   | mailto:patrick.be...@grenoble-inp.fr |
|  LEGI|  |
|  BP 53 X | Tel 04 76 82 51 35   |
|  38041 GRENOBLE CEDEX| Fax 04 76 82 52 71   |
===

___
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