[Paraview] Interpolation query

David E DeMarle dave.demarle at kitware.com
Thu Jun 17 14:25:00 EDT 2010


Please respond to the whole list for better service. And a please post
a picture so we can see what you mean and better diagnose what is
happening.

David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109



On Thu, Jun 17, 2010 at 1:53 PM, Daniele Avitabile
<d.avitabile at gmail.com> wrote:
> Thanks David.
> Yes, the points are aligned.
> In principle I would be happy of the interpolation provided by Clean to
> Grid. What I don't like is that, with Clean to Grid, the pattern seems to be
> also "greyed out", like if there was a source of light behind it.
> Hope I have been clear.
> Daniele
>
> On Thu, Jun 17, 2010 at 4:30 PM, David E DeMarle <dave.demarle at kitware.com>
> wrote:
>>
>> Is the data point or cell aligned?
>>
>> The slice view does not interpolate point centered values across cells
>> like the 3D view does by design. Feel free to add a feature request to
>> the bug tracker if you want to add a mode that allows it to do so.
>>
>> If the data is cell aligned, no views will do interpolation of
>> values/color within a cell. In a 3D view you can use the cell data to
>> point data filter and then color by the point aligned array if you
>> want that effect, but you will see averaging effects that are probably
>> similar to what you see with clean to grid.
>>
>> David E DeMarle
>> Kitware, Inc.
>> R&D Engineer
>> 28 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-371-3971 x109
>>
>>
>>
>> On Thu, Jun 17, 2010 at 3:01 AM, Daniele Avitabile
>> <d.avitabile at gmail.com> wrote:
>> > Hi all,
>> > I am using Paraview 3.8.0 on Mac OS X 10.5 (Leopard). I load a .vtk file
>> > with an evenly spaced 2D mesh (Structured Points) and associated
>> > scalars.
>> > Paraview loads it correctly, but the interpolation is rather gross: in a
>> > 2D
>> > view, I can see all the cells of my mesh. It would seem that Paraview
>> > computes the color map in each cell and does not interpolate between
>> > cells.
>> > As a result, I see a 2D pattern with a "grid texture" effect. I have
>> > also
>> > tried to tick the "Interpolate Scalars" box in the Display menu, to no
>> > avail. In the "style" submenu, the "Representation" and "Interpolation"
>> > selectors are greyed out.
>> > However, if I use "Clean to grid", Paraview does the interpolation, but
>> > the
>> > image loses brightness as well.
>> > Is there any way of using interpolation without passing via Clean to
>> > Grid?
>> > Thanks in advance.
>> > Daniele
>> > _______________________________________________
>> > 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
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.paraview.org/mailman/listinfo/paraview
>> >
>> >
>
>


More information about the ParaView mailing list