[Paraview] Paraview not using normals data when rendering WarpByVector
Moreland, Kenneth
kmorel at sandia.gov
Tue Apr 26 13:24:39 EDT 2016
Carlos,
I suspect the warp by vector filter is removing the normals because in general warping a surface invalidates the normals. Perhaps a feature request could be to add an option to warp by vector to preserve the normals.
There is a filter to generate normals on a polygonal surface. It works by averaging the normals of incident polygons, but I don't think it is weighted by area.
-Ken
From: ParaView <paraview-bounces at paraview.org<mailto:paraview-bounces at paraview.org>> on behalf of Carlos Baumann <CBaumann at slb.com<mailto:CBaumann at slb.com>>
Date: Monday, April 25, 2016 at 11:16 AM
To: "paraview at paraview.org<mailto:paraview at paraview.org>" <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: [EXTERNAL] [Paraview] Paraview not using normals data when rendering WarpByVector
Hello Paraview !
The attached .vtk file has quad elements defining a tube,
for each point or node it has defined a scalar Pressure, and two vectors, Displacement and Normals.
When I render “Displacement Magnitude” on the surface, the normal are used, this is perfect and this is what I want, see attached snapshot,
However when I use WarpByVector to deform the geometry, and plotting “Displacement Magnitude” on the surface, the normals are not used,
each element uses its own normal, and I see the facets. How can I change this so that the normals that I have defined in the .vtk file are used ?
Ideally I would want Paraview to use the normal at any point/node by averaging the normal of all the elements attached, weighted by the area,
can this be done automatically with GUI settings ?
Thank you in advance for your help.
Regards,
Carlos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160426/3d0f6840/attachment.html>
More information about the ParaView
mailing list