<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 class="gmail_extra"><br><br><div class="gmail_quote">2013/12/10 Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></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 class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Dec 10, 2013 at 3:14 PM, Alexandre DARRAU <span dir="ltr"><<a href="mailto:alex.darrau@gmail.com" target="_blank">alex.darrau@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 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"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></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 <<a href="mailto:alex.darrau@gmail.com" target="_blank">alex.darrau@gmail.com</a>> wrote:<br>
> Thanks for your reply. This is not what i mean. I would like to color the<br>
> cell front side in red and the cell back side in blue, is it possible ?<br>
><br>
><br>
> 2013/12/10 Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>><br>
>><br>
>> If you mean a band of red and a band of blue (not a conitnuous<br>
>> transition), then split the each cell into two cells, color one red,<br>
>> the other blue.<br>
>><br>
>><br>
>><br>
>> On Tue, Dec 10, 2013 at 1:28 PM, daralex <<a href="mailto:alex.darrau@gmail.com" target="_blank">alex.darrau@gmail.com</a>> wrote:<br>
>> > Dear all,<br>
>> ><br>
>> > I would have a question regarding VTK.<br>
>> > I have an unstructured grid where i am trying to plot a temperature<br>
>> > distribution on. I manage to get one color per cell suing lookup table<br>
>> > but i<br>
>> > would like to color the top of one cell in blue and the bottom in red,<br>
>> > do<br>
>> > you know if it is possible using VTK ? Can you explain me how to deal<br>
>> > with<br>
>> > it ?<br>
>> ><br>
>> > Thank you in advance for your answer<br>
>> ><br>
>> > Alex<br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > View this message in context:<br>
>> > <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>
>> > Sent from the VTK - Users mailing list archive at Nabble.com.<br>
>> > _______________________________________________<br>
>> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>> ><br>
>> > Visit other Kitware open-source projects at<br>
>> > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>> ><br>
>> > Please keep messages on-topic and check the VTK FAQ at:<br>
>> > <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
>> ><br>
>> > Follow this link to subscribe/unsubscribe:<br>
>> > <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
>><br>
>><br>
>><br>
>> --<br>
>> Unpaid intern in BillsBasement at noware dot com<br>
><br>
><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>