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 
<[email protected]<mailto:[email protected]>> on behalf 
of Carlos Baumann <[email protected]<mailto:[email protected]>>
Date: Monday, April 25, 2016 at 11:16 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
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





_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to