<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Mikhail,<div><br></div><div><br></div><div>I need to get more information about your problem.</div><div>Can you share your dataset or screenshot?</div><div>.pvsm state files are more suitable.</div><div><br></div><div><br></div><div>Magician</div><div><br></div><div><br><div><div>On May 24, 2014, at 5:33, Mikhail Artemyev <<a href="mailto:artemiev.mikhail@gmail.com">artemiev.mikhail@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta content="text/html; charset=windows-1252" http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000">
Dear Magician,<br>
<br>
Thank you for the explanation and for the hint!<br>
The only issue is that the last step of your algorithm<br>
3. apply Resample With Dataset filter,<br>
not always gives the desired result.<br>
I was able to get the same representation like you showed, but<br>
it was an accidental choice of several Resample With Dataset filters,<br>
and I couldn't repeat it again. My impression is that I have to
apply<br>
this filter several times to different sources. Am I right?<br>
<br>
Thank you.<br>
<br>
Best regards,<br>
Mikhail<br>
<br>
<br>
<div class="moz-cite-prefix">On 05/17/2014 12:00 AM, Magician wrote:<br>
</div>
<blockquote cite="mid:218AA6FB-0196-4517-9D3F-3F31C4C71956@mac.com" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div>Hi Mikhail,</div>
<div><br>
</div>
<div><br>
</div>
<div>Yes, that’s because of the triangulation (or tesselation) of
surface representations.</div>
<div>Most of the 3D programs including ParaView draw objects as
groups of triangles.</div>
<div>That’s depends on today’s 3D rendering pipelines such as
OpenGL, DirectX, etc.</div>
<div>Please googling the keywords: ‘vertex shading’</div>
<div><br>
</div>
<div>Even though you read your data as structured grid with point
values,</div>
<div>ParaView should immediately triangulate all of the
rectangles, and interpolating</div>
<div>the values between points of the triangles.</div>
<div><br>
</div>
<div># If you visualize cell values, there are no problem caused
by interpolating.</div>
<div><br>
</div>
<div>The attached image is one of the solution.</div>
<div>1. read your data</div>
<div>2. make a ‘fine resolution' Plane source with same size to
the original (for example, 200x100 structured grid)</div>
<div>3. apply Resample With Dataset filter</div>
<div>The result looks nearly-symmetric for me.</div>
<div><br>
</div>
<div><br>
</div>
<div>Magician</div>
<div><br>
</div>
<br>
<div>
<div>On May 17, 2014, at 10:40, <a moz-do-not-send="true" href="mailto:paraview-request@paraview.org">paraview-request@paraview.org</a>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">Date: Fri, 16 May 2014 20:40:18 -0500<br>
From: Mikhail Artemyev <<a moz-do-not-send="true" href="mailto:artemiev.mikhail@gmail.com">artemiev.mikhail@gmail.com</a>><br>
To: <a moz-do-not-send="true" href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
Subject: [Paraview] non-symmetric representation of symmetric
field<br>
Message-ID: <<a moz-do-not-send="true" href="mailto:5376BE02.7050800@gmail.com">5376BE02.7050800@gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1";
Format="flowed"<br>
<br>
Dear all,<br>
<br>
Here is a minimal example of values distributed over a mesh:<br>
<br>
0------0------0------0------0<br>
| | | | |<br>
0----0.5---0.75---0.5-----0<br>
| | | | |<br>
0------0------1------0------0<br>
<br>
To visualize this field I wrote a .vts file:<br>
<br>
<?xml version="1.0"?><br>
<VTKFile type="StructuredGrid" version="0.1"
byte_order="LittleEndian"><br>
<StructuredGrid WholeExtent="1 5 1 3 1 1"><br>
<Piece Extent="1 5 1 3 1 1"><br>
<PointData Scalars="scalars"><br>
<DataArray type="Float64" Name="sol_"
format="ascii"><br>
0 0 1 0 0 0 0.5 0.75 0.5 0 0 0 0 0 0<br>
</DataArray><br>
</PointData><br>
<Points><br>
<DataArray type="Float64" NumberOfComponents="3"
format="ascii"><br>
0 0 0<br>
1 0 0<br>
2 0 0<br>
3 0 0<br>
4 0 0<br>
0 1 0<br>
1 1 0<br>
2 1 0<br>
3 1 0<br>
4 1 0<br>
0 2 0<br>
1 2 0<br>
2 2 0<br>
3 2 0<br>
4 2 0<br>
</DataArray><br>
</Points><br>
</Piece><br>
</StructuredGrid><br>
</VTKFile><br>
<br>
The visual representation of this field, however, doesn't look
symmetric <br>
(a figure is attached),<br>
although the values are symmetric with respect to a Y-axis
crossing the <br>
center of the domain.<br>
<br>
Could you please shed some light on where I am wrong -<br>
in my understanding of visualization technique, or in a way I
pass the <br>
data to ParaView?<br>
I use ParaView 4.1.0 64-bit, Linux.<br>
<br>
Thank you.<br>
Best regards,<br>
Mikhail<br>
</blockquote>
</div>
</blockquote></div></blockquote></div><br></div></body></html>