[Paraview] Thank You ! => RE: Paraview not using normals data when rendering WarpByVector
Carlos Baumann
CBaumann at slb.com
Tue Apr 26 13:32:25 EDT 2016
Ken,
Thanks a lot for your reply.
After a few trials I realized that to animate deformation it is best to define the nodal coordinates at each time step, therefore I am not using WarpByVector for the animation and the facets are not an issue for me at this time. However, your suggestion about putting a feature request could be useful when we want to animate w/o defining time steps.
Cheers,
Carlos
From: Moreland, Kenneth [mailto:kmorel at sandia.gov]
Sent: Tuesday, April 26, 2016 12:25 PM
To: Carlos Baumann <CBaumann at slb.com>; paraview at paraview.org
Subject: Re: [Paraview] Paraview not using normals data when rendering WarpByVector
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/c0844f06/attachment.html>
More information about the ParaView
mailing list