[Paraview] Fwd: VTK interpolation help

Moreland, Kenneth kmorel at sandia.gov
Fri Sep 26 11:01:57 EDT 2014


Yes, ParaView will use the triangles to interpolate values between points. The interpolation you are getting is exactly as I would expect based on your data and topology. I'm not sure what you mean by "not [interpolating] in the x,y directions". The triangles are in the x-y plane and interpolation is happening in this x-y plane.

Moving into guesswork, I am imagining that you are expecting a smooth  and fairly straight contour at some distance from the buildings. The reason you don't see this is due to the representation in your data. I notice that your data contains only two values for "RadiationOnPerson." The value is either 0 or 205.7. Presumably there is some contour in space where this field discontinuously transitions from 0 to 205.7, but there is no way to accurately predict where that is from the data you are providing. Instead, ParaView is just linearly interpolating between these values, which is wrong but probably the best you can do with the data provided. The problem is made even worse by the irregular sampling of the field.

-Ken

From: Ruggiero Guida <ruggiero.guida at gmail.com<mailto:ruggiero.guida at gmail.com>>
Date: Thursday, September 25, 2014 at 10:44 PM
To: "paraview at paraview.org<mailto:paraview at paraview.org>" <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: [EXTERNAL] [Paraview] Fwd: VTK interpolation help

Dear group,

I hope I will be able to find an answer to my problem here.

I am not sure I understand how the interpolation works. I have generated a VTK file (attached) and I am trying to visualizing it in Paraview. The data represent the solar radiation on the ground around various buildings.

My algorithm calculates the radiation in each node of a constrained delauney triangulation. The plan is to visualize this in paraview to have a nice smooth fillled contour.

The image I get though, does not make sense to me; it seems that paraview is interpolating only within the triangles and not in the x,y directions. Am I missing something?

Thanks a lot for any help
Ruggiero

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20140926/c87fdbab/attachment.html>


More information about the ParaView mailing list