[Paraview] Contours of unstructured grid paraview 3 vs paraview 4

Greenwood, Michael Michael.Greenwood at NRCan-RNCan.gc.ca
Thu Apr 16 09:05:40 EDT 2015


Yup, that was the issue, it was a simple matter of changing the coordinates of my grid to floating point instead of integer.

From: Cory Quammen [mailto:cory.quammen at kitware.com]
Sent: April 15, 2015 21:30
To: Greenwood, Michael
Cc: Berk Geveci; paraview at paraview.org
Subject: Re: [Paraview] Contours of unstructured grid paraview 3 vs paraview 4

This email explains a bit more detail what I think the problem might be:

http://www.paraview.org/pipermail/paraview/2014-October/032458.html

- Cory

On Wed, Apr 15, 2015 at 6:11 PM, Cory Quammen <cory.quammen at kitware.com<mailto:cory.quammen at kitware.com>> wrote:
Michael,

I remember tracking down a similar bug like this. I recall it had to do with the type of the points being specified as an integral type. The change between 3 and 4 was that interpolation for the isocontours is now performed with the precision available in the point type, so if your point type is an integral value, you'll get this chunky result.

Try changing your point type in your data file to float or double.

Hope that helps,
Cory

On Wed, Apr 15, 2015 at 4:09 PM, Greenwood, Michael <Michael.Greenwood at nrcan-rncan.gc.ca<mailto:Michael.Greenwood at nrcan-rncan.gc.ca>> wrote:
The data file is being held in moderation since its larger size, let me see if I can find a place to store it and send a link.

From: ParaView [mailto:paraview-bounces at paraview.org<mailto:paraview-bounces at paraview.org>] On Behalf Of Greenwood, Michael
Sent: April 15, 2015 16:08
To: Berk Geveci
Cc: paraview at paraview.org<mailto:paraview at paraview.org>
Subject: Re: [Paraview] Contours of unstructured grid paraview 3 vs paraview 4

It seems that in paraview 3 it would interpolate inside the cell between the mesh points when building the polymesh for the contour and now it is snapping the interpolation to nearest grid point of my unstructured mesh.


From: Berk Geveci [mailto:berk.geveci at kitware.com]
Sent: April 15, 2015 15:57
To: Greenwood, Michael
Cc: paraview at paraview.org<mailto:paraview at paraview.org>
Subject: Re: [Paraview] Contours of unstructured grid paraview 3 vs paraview 4

Very strange. I can't recall a change that can cause this. Do you have a dataset that we can reproduce this with?

Best,
-berk

On Wed, Apr 15, 2015 at 3:49 PM, Greenwood, Michael <Michael.Greenwood at nrcan-rncan.gc.ca<mailto:Michael.Greenwood at nrcan-rncan.gc.ca>> wrote:
Hi I’ve upgraded to paraview 4 and now when building contours of my 3D unstructured grid, the contours are pixelated.  This was not the case in 3, and when you look at a slice of the contour overlayed with a slice of the volume data it is obvious that the contour in paraview 4 seems to be “hugging” the boundaries of my mesh instead of interpolating through it.  How can I get my nice smooth contours I had in version 3?

Thanks
[cid:image001.png at 01D07796.42933DD0]

_______________________________________________
Powered by www.kitware.com<http://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<http://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
R&D Engineer
Kitware, Inc.



--
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150416/28712c5c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 62758 bytes
Desc: image001.png
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150416/28712c5c/attachment.png>


More information about the ParaView mailing list