Lorenzo,<div><br></div><div>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.</div><div><br></div><div>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.</div>
<div><br></div><div>Cory</div><div><br><div class="gmail_quote">On Tue, May 29, 2012 at 11:28 AM, Lorenzo <span dir="ltr"><<a href="mailto:lovecraft22@gmail.com" target="_blank">lovecraft22@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Thank you for your help Cory, that helps a lot.<div>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…</div>
<div><br></div><div><br></div><div>Thank you!</div><div><br></div><div>Lorenzo</div><div><br></div><div><br></div><div><img height="142" width="453" src="cid:B898755B-F5A2-45B9-A83E-93CE8B67B168@localdomain"></div><div><br>
</div><div><br></div><div><br><div><div>Il giorno 29/mag/2012, alle ore 17:16, Cory Quammen ha scritto:</div><div><div class="h5"><br><blockquote type="cite"><div>Lorenzo,<br><br>Yes, you can do this.<br><br>Under the Display tab, choose the color of the front face in the<br>
"Color" control panel. Set the "Color by" option to Solid Color, then<br>pick the color you want with the "Set Solid Color..." button. Then<br>scroll down almost to the bottom of the Display tab. There is a<br>
"Backface Style" panel. If you set the representation to Surface, you<br>can then pick the color of the backface.<br><br>You can do other things, to, such as turn on front face or back face<br>culling, which you might find useful.<br>
<br>Hope that helps,<br>Cory<br><br>On Tue, May 29, 2012 at 10:33 AM, Lorenzo <<a href="mailto:lovecraft22@gmail.com" target="_blank">lovecraft22@gmail.com</a>> wrote:<br><blockquote type="cite">Hi all;<br></blockquote>
<blockquote type="cite">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).<br></blockquote><blockquote type="cite"><br>
</blockquote><blockquote type="cite">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.<br>
</blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thank you<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Lorenzo<br>
</blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
</blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
</blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
</blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Follow this link to subscribe/unsubscribe:<br></blockquote><blockquote type="cite"><a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote><br><br><br>-- <br>Cory Quammen<br>Research Associate<br>Department of Computer Science<br>The University of North Carolina at Chapel Hill<br></div></blockquote></div></div></div><br></div></div></blockquote>
</div><br><br clear="all"><div><br></div>-- <br>Cory Quammen<div>Research Associate</div><div>Department of Computer Science</div><div>The University of North Carolina at Chapel Hill</div><br>
</div>