[Paraview] Color surface by normal direction (inwards or outwards)
Cory Quammen
cquammen at cs.unc.edu
Tue May 29 11:34:04 EDT 2012
Lorenzo,
Please don't forget to CC the list so that others may benefit from the
discussion now and in the future through the list archives.
As I mentioned in my previous email, using the Surface representation lets
you pick the color. I just mentioned the culling options as potentially
useful ways to see some things on your geometry. I didn't mean to lead you
astray from your goal.
Cory
On Tue, May 29, 2012 at 11:28 AM, Lorenzo <lovecraft22 at gmail.com> wrote:
> Thank you for your help Cory, that helps a lot.
> Anyway, I cannot select a color for the Cull FrontFace/BackFace options
> (see pic attached)… If I select one of each, the back/front face simply
> disappears and it comes back if I pan the stl the other way… that's quite
> confusing if you have a complex geometry… Now, I could load my geometry
> twice and enable backface for one and front face for the other and assign
> different colors for each model but I kind of hoped there was an easier way…
>
>
> Thank you!
>
> Lorenzo
>
>
>
>
>
> Il giorno 29/mag/2012, alle ore 17:16, Cory Quammen ha scritto:
>
> 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
>
>
>
--
Cory Quammen
Research Associate
Department of Computer Science
The University of North Carolina at Chapel Hill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120529/d54d108e/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 18105 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120529/d54d108e/attachment-0001.png>
More information about the ParaView
mailing list