<div dir="ltr">Just to be sure i understood.  To perform that,  will I need to define 2 UnstructuredGrid ? I will have 2 cells at the same position with 2 different color, do you think it will work ?</div><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/12/10 Bill Lorensen <span dir="ltr">&lt;<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Great. So I think you need two datasets. Sounds like a cool application.<br><br><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 10, 2013 at 3:46 PM, Alexandre DARRAU <span dir="ltr">&lt;<a href="mailto:alex.darrau@gmail.com" target="_blank">alex.darrau@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sure. What I am currently doing is generating the geometrical model of my thermal system.  I used an UnstructuredGrid object to perform it. Each cell corresponds to a thermal node with material and thermal coating properties. <div>


<br></div><div>Most often, the thermal coating is the same on the front face and the back face of a cell. Now, i would like to take into account that a thermal coating (represented with red color) can be applied on the front face, another one the backface (blue color) and visualize it on VTK (You can image a Satellite wall with MLI on a side and Carbon on the other side).</div>


<div><br></div><div>Thank you for your help and your answer </div><div><br></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/10 Bill Lorensen <span dir="ltr">&lt;<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>&gt;</span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>VTK cannot do this with one dataset. You can specify a backface property, but that would only permit one color for the front and back of the dataset.<br>


<br></div>It seems you want a different colormap for each side of the data. The only way to do this would be to have two separte datasets.<br>
<br></div>The image you posted is very simple. Can you describe your real-world application?<br><div><div><div><br></div></div></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Dec 10, 2013 at 3:14 PM, Alexandre DARRAU <span dir="ltr">&lt;<a href="mailto:alex.darrau@gmail.com" target="_blank">alex.darrau@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span style="font-family:arial,sans-serif;font-size:13px">This is the first time i am trying to insert a picture, i hope it will work:</span><br style="font-family:arial,sans-serif;font-size:13px">



<br style="font-family:arial,sans-serif;font-size:13px">
</div><img src="cid:ii_142de254235362f2" alt="Images intégrées 1"><div><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Does this image help ?</span><br style="font-family:arial,sans-serif;font-size:13px">




<br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Thank you</span><br></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/12/10 Bill Lorensen <span dir="ltr">&lt;<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can you show an image that illustrates what you want?<br>
<div><div><br>
<br>
On Tue, Dec 10, 2013 at 2:42 PM, Alexandre DARRAU &lt;<a href="mailto:alex.darrau@gmail.com" target="_blank">alex.darrau@gmail.com</a>&gt; wrote:<br>
&gt; Thanks for your reply. This is not what i mean. I would like to color the<br>
&gt; cell front side in red and the cell back side in blue, is it possible ?<br>
&gt;<br>
&gt;<br>
&gt; 2013/12/10 Bill Lorensen &lt;<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; If you mean a band of red and a band of blue (not a conitnuous<br>
&gt;&gt; transition), then split the each cell into two cells, color one red,<br>
&gt;&gt; the other blue.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Dec 10, 2013 at 1:28 PM, daralex &lt;<a href="mailto:alex.darrau@gmail.com" target="_blank">alex.darrau@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Dear all,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I would have a question regarding VTK.<br>
&gt;&gt; &gt; I have an unstructured grid where i am trying to plot a temperature<br>
&gt;&gt; &gt; distribution on. I manage to get one color per cell suing lookup table<br>
&gt;&gt; &gt; but i<br>
&gt;&gt; &gt; would like to color the top of one cell in blue and the bottom in red,<br>
&gt;&gt; &gt; do<br>
&gt;&gt; &gt; you know if it is possible using VTK ? Can you explain me how to deal<br>
&gt;&gt; &gt; with<br>
&gt;&gt; &gt; it ?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thank you in advance for your answer<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Alex<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; --<br>
&gt;&gt; &gt; View this message in context:<br>
&gt;&gt; &gt; <a href="http://vtk.1045678.n5.nabble.com/Using-two-different-colors-on-top-bottom-cell-sides-tp5724946.html" target="_blank">http://vtk.1045678.n5.nabble.com/Using-two-different-colors-on-top-bottom-cell-sides-tp5724946.html</a><br>





&gt;&gt; &gt; Sent from the VTK - Users mailing list archive at Nabble.com.<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Visit other Kitware open-source projects at<br>
&gt;&gt; &gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt;&gt; &gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; &gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Unpaid intern in BillsBasement at noware dot com<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
Unpaid intern in BillsBasement at noware dot com<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>
</div></div></blockquote></div><br></div>