[Paraview] Color surface by normal direction (inwards or outwards)

Cory Quammen cquammen at cs.unc.edu
Tue May 29 11:16:06 EDT 2012


Lorenzo,

Yes, you can do this.

Under the Display tab, choose the color of the front face in the
"Color" control panel. Set the "Color by" option to Solid Color, then
pick the color you want with the "Set Solid Color..." button. Then
scroll down almost to the bottom of the Display tab. There is a
"Backface Style" panel. If you set the representation to Surface, you
can then pick the color of the backface.

You can do other things, to, such as turn on front face or back face
culling, which you might find useful.

Hope that helps,
Cory

On Tue, May 29, 2012 at 10:33 AM, Lorenzo <lovecraft22 at gmail.com> wrote:
> Hi all;
> I was wondering if there's a way in paraview to color surfaces (ie triangles in a stl file) by the direction of their normals (inwards or outwards).
>
> Meaning, if you pick a triangle, one side of it will be of one color while the other side will be of a different color, depending on whether that triangle normal is point towards the triangle of away from it.
>
>
> Thank you
>
> Lorenzo
>
>
> _______________________________________________
> 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



-- 
Cory Quammen
Research Associate
Department of Computer Science
The University of North Carolina at Chapel Hill


More information about the ParaView mailing list