[Paraview] Negative ViewUp in VR

2018-02-07 Thread Bane Sullivan
I’m curious if there is a simple way to change the ViewUp property of the
camera for VR to be (0,0,-1) instead of the default (0,0,1).

I use ParaView for geophysical and other geoscientific visualizations where
it is common to define positive Z as down rather than up. Being able to
switch the ViewUp vector to (0,0,-1) would help us keep our axial
conventions when sending to OpenVR.

Thanks,

Bane
https://github.com/banesullivan/ParaViewGeophysics
___
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] [EXTERNAL] Possible bug (Actually 2)

2018-02-07 Thread Scott, W Alan
Hi Tim,
I don’t know about your first question, but with regarts to a cylindrical 
slice, this has been fixed in the developers tree (Master).  This will appear 
fixed in the 5.5.0 release, scheduled for this coming spring.  If you want to 
try it out, go to paraview.org, then Downloads, then Nightly.

There are numerous bugs on this, but the one I just found and resolved is here: 
https://gitlab.kitware.com/paraview/paraview/issues/17624


Alan



From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Beach, 
Timothy A. (GRC-LTE0)[Vantage Partners, LLC]
Sent: Wednesday, February 7, 2018 7:46 PM
To: paraview@paraview.org
Subject: [EXTERNAL] [Paraview] Possible bug (Actually 2)

I have a problem with unstructured CFD datasets  using the Ensight format.  The 
following illustrates the problem.  I make a slice at a certain value of y and 
look at velocity vectors.  Everything is good.  I use calculator to makea 
dependent variable from CoordY and contour at the same y value.   These 2 
surfaces are identical and shading by any variable yields identical results.   
If I put velocity vectors on the  constant y contour surface, they are wrong.  
This procedure works as expected with   plot3d structured datasets.  The other 
thing I’ve noticed, when using a cylindrical slice,  it always uses the y axis. 
 Setting X or Z anything else has no effect. This happens on all my datasets.   
I’m using my own compile of Version 5.4.1 on a mac.  Any ideas, comments or 
suggestions?
Thanks
Tim
___
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


[Paraview] Possible bug (Actually 2)

2018-02-07 Thread Beach, Timothy A. (GRC-LTE0)[Vantage Partners, LLC]
I have a problem with unstructured CFD datasets  using the Ensight format.  The 
following illustrates the problem.  I make a slice at a certain value of y and 
look at velocity vectors.  Everything is good.  I use calculator to makea 
dependent variable from CoordY and contour at the same y value.   These 2 
surfaces are identical and shading by any variable yields identical results.   
If I put velocity vectors on the  constant y contour surface, they are wrong.  
This procedure works as expected with   plot3d structured datasets.  The other 
thing I’ve noticed, when using a cylindrical slice,  it always uses the y axis. 
 Setting X or Z anything else has no effect. This happens on all my datasets.   
I’m using my own compile of Version 5.4.1 on a mac.  Any ideas, comments or 
suggestions?
Thanks
Tim
___
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


[Paraview] Disconnect and save animation

2018-02-07 Thread Utkarsh Ayachit
Folks,

I am trying to get a feel is anyone uses this functionality at all. If
not, we'd like to remove it as it simplifies a few interactions,
besides reducing code complexity.

The functionality I am referring to allows one to disconnect from a
remote server and then save animation on the server before the server
exits but after the client has disconnected.

Thanks
Utkarsh
___
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] Broken Streamlines

2018-02-07 Thread Berk Geveci
Hey Louis,

Can you provide the data and example script?

Best,
-berk

On Wed, Feb 7, 2018 at 12:06 PM, Steytler, Louis Louw  wrote:

> Hi Everyone,
>
> When generating streamlines from a 3D computation, in some parts, the
> streamlines appear broken. This is shown in the attached image (the arrows
> point to the broken parts).
>
> Increasing the "Maximum Streamline Length" parameter did not help.
>
> Using the "Point to Cell Data" filter, and then generating streamlines on
> the cell data did not help.
>
> Although in the image shown the broken parts are in an area of low
> velocity, this happens in regions of high velocity as well. It also does
> not seem to depend on grid resolution, as the broken parts show up all over.
>
> Has anyone experienced anything like this? Any ideas how to work around
> this?
>
> Thanks very much,
>
> Louis Steytler
> Department of Mechanical Science and Engineering
> University of Illinois at Urbana-Champaign
> 1206 West Green Street
> Urbana, Il 61801
> steyt...@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:
> 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


[Paraview] RuntimeError: maximum recursion depth exceeded

2018-02-07 Thread Manochehr Bahavar
Hello,

I have a Python reader that creates a vtkPolyData object and when it wants to 
change its Representation to Points, it returns the following error:

RuntimeError: maximum recursion depth exceeded

However, if I run the same sequence of code in the Paraview’s Python Shell:

view = GetRenderView()
src = FindSource('Model_EQ')
dp = GetDisplayProperties(src)
dp.Representation=‘Points'

It works just fine. The error is generated when it is executing

dp = GetDisplayProperties(src)

Any suggestions?

Thanks,

—manoch
___
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] Broken Streamlines

2018-02-07 Thread Steytler, Louis Louw
Hi Everyone,

Thanks very much for all the suggestions.

Setting the streamline interpolator type to:

streamTracer1.InterpolatorType = 'Interpolator with Cell Locator'

solved the problem!

Thanks  again,

Louis Steytler
Department of Mechanical Science and Engineering
University of Illinois at Urbana-Champaign
1206 West Green Street
Urbana, Il 61801
steyt...@illinois.edu

From: Burlen Loring [blor...@lbl.gov]
Sent: 07 February 2018 12:50 PM
To: Steytler, Louis Louw
Subject: Re: [Paraview] Broken Streamlines

Hi Louis,

Is there any chance this is the rendering precision issue called depth buffer 
fighting? What happens when you turn off display of the plane? Are the 
streamlines still broken?

Burlen

On 02/07/2018 09:06 AM, Steytler, Louis Louw wrote:
Hi Everyone,

When generating streamlines from a 3D computation, in some parts, the 
streamlines appear broken. This is shown in the attached image (the arrows 
point to the broken parts).

Increasing the "Maximum Streamline Length" parameter did not help.

Using the "Point to Cell Data" filter, and then generating streamlines on the 
cell data did not help.

Although in the image shown the broken parts are in an area of low velocity, 
this happens in regions of high velocity as well. It also does not seem to 
depend on grid resolution, as the broken parts show up all over.

Has anyone experienced anything like this? Any ideas how to work around this?

Thanks very much,

Louis Steytler
Department of Mechanical Science and Engineering
University of Illinois at Urbana-Champaign
1206 West Green Street
Urbana, Il 61801
steyt...@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:
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] Broken Streamlines

2018-02-07 Thread Andy Bauer
Additionally, you can view the ReasonForTermination cell data output to see
why the streamlines terminated. Click on the ? button to see what the
values correspond to.


On Wed, Feb 7, 2018 at 12:23 PM, Andy Bauer  wrote:

> Hi,
>
> You may want to try playing with some of the advanced options for
> computing streamlines (click on the gear button in the upper right corner
> of the parameters for the filter).
>
> If that doesn't help, you may want to share your dataset so that we can
> investigate. Also, is this a 2D simulation? It may be that the streamline
> is going out of the plane of your grid and therefore terminating.
>
> --Andy
>
> On Wed, Feb 7, 2018 at 12:06 PM, Steytler, Louis Louw <
> steyt...@illinois.edu> wrote:
>
>> Hi Everyone,
>>
>> When generating streamlines from a 3D computation, in some parts, the
>> streamlines appear broken. This is shown in the attached image (the arrows
>> point to the broken parts).
>>
>> Increasing the "Maximum Streamline Length" parameter did not help.
>>
>> Using the "Point to Cell Data" filter, and then generating streamlines on
>> the cell data did not help.
>>
>> Although in the image shown the broken parts are in an area of low
>> velocity, this happens in regions of high velocity as well. It also does
>> not seem to depend on grid resolution, as the broken parts show up all over.
>>
>> Has anyone experienced anything like this? Any ideas how to work around
>> this?
>>
>> Thanks very much,
>>
>> Louis Steytler
>> Department of Mechanical Science and Engineering
>> University of Illinois at Urbana-Champaign
>> 1206 West Green Street
>> Urbana, Il 61801
>> steyt...@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:
>> 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] Broken Streamlines

2018-02-07 Thread Andy Bauer
Hi,

You may want to try playing with some of the advanced options for computing
streamlines (click on the gear button in the upper right corner of the
parameters for the filter).

If that doesn't help, you may want to share your dataset so that we can
investigate. Also, is this a 2D simulation? It may be that the streamline
is going out of the plane of your grid and therefore terminating.

--Andy

On Wed, Feb 7, 2018 at 12:06 PM, Steytler, Louis Louw  wrote:

> Hi Everyone,
>
> When generating streamlines from a 3D computation, in some parts, the
> streamlines appear broken. This is shown in the attached image (the arrows
> point to the broken parts).
>
> Increasing the "Maximum Streamline Length" parameter did not help.
>
> Using the "Point to Cell Data" filter, and then generating streamlines on
> the cell data did not help.
>
> Although in the image shown the broken parts are in an area of low
> velocity, this happens in regions of high velocity as well. It also does
> not seem to depend on grid resolution, as the broken parts show up all over.
>
> Has anyone experienced anything like this? Any ideas how to work around
> this?
>
> Thanks very much,
>
> Louis Steytler
> Department of Mechanical Science and Engineering
> University of Illinois at Urbana-Champaign
> 1206 West Green Street
> Urbana, Il 61801
> steyt...@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:
> 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