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

Lorenzo lovecraft22 at gmail.com
Tue May 29 13:55:49 EDT 2012


You are right, I forgot to hit reply All, sorry…

About the problem, now I see what you meant!

Thank you very much!

Lorenzo



Il giorno 29/mag/2012, alle ore 17:34, Cory Quammen ha scritto:

> 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
> 
> 
> <Schermata 05-2456077 alle 17.23.17.png>
> 
> 
> 
> 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/e9fbfb4b/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Schermata 05-2456077 alle 19.55.20.png
Type: image/png
Size: 153078 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120529/e9fbfb4b/attachment-0001.png>


More information about the ParaView mailing list