<HTML>
<HEAD>
<TITLE>Re: [Paraview] Colour by mulitple data sets</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Tristan,<BR>
<BR>
Yes, that is what I meant, and yes that suggestion is only really viable if you have specific transfer functions you want to apply because you would have no GUI controls to set it.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 11/15/10 5:25 PM, "Tristan Chaplin" <<a href="tristan.chaplin@gmail.com">tristan.chaplin@gmail.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Thanks Andy, I'll look into this.<BR>
<BR>
Ken, I think I already tried something similar. I wrote a program to "merge" two scalar data sets as colours (3 vector) according to a colour scheme, then turned off "map scalars". Is that what you mean? This works ok but I think it means I can't use any of the colouring and visualization options in Paraview to manipulate the appearance (e.g. change the colour lookup scheme, set logarithmic scale etc). I have to rerun my program to change any parameters.<BR>
<BR>
Thanks,<BR>
Tristan<BR>
<BR>
On Tue, Nov 16, 2010 at 08:35, Moreland, Kenneth <<a href="kmorel@sandia.gov">kmorel@sandia.gov</a>> wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Utkarsh,<BR>
<BR>
Is it the case that if you color by a vector array comprising unsigned char, ParaView can color the surface directly using those colors (turn of Map Scalars)? If that’s the case, Tristan can create a filter (perhaps by using the Python Programmable Filter)) to create such an array.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
<BR>
On 11/15/10 3:09 PM, "Tristan Chaplin" <<a href="tristan.chaplin@gmail.com">tristan.chaplin@gmail.com</a> <<a href="http://tristan.chaplin@gmail.com">http://tristan.chaplin@gmail.com</a>> > wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Unfortunately, it's the former - I'm trying to color the same mesh with different<BR>
arrays.<BR>
<BR>
On Tue, Nov 16, 2010 at 02:40, Utkarsh Ayachit <<a href="utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a> <<a href="http://utkarsh.ayachit@kitware.com">http://utkarsh.ayachit@kitware.com</a>> > wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Just to clarify, are you trying to color the same mesh with different<BR>
arrays or different meshes with different arrays? Is the former,<BR>
there's no way of doing it. If the latter, then the Object Inspector<BR>
allows one to change the color for the "active" mesh. You change<BR>
what's active by choose a different mesh in the pipeline browser.<BR>
<BR>
Utkarsh<BR>
<BR>
On Mon, Nov 15, 2010 at 12:57 AM, Tristan Chaplin<BR>
<<a href="tristan.chaplin@gmail.com">tristan.chaplin@gmail.com</a> <<a href="http://tristan.chaplin@gmail.com">http://tristan.chaplin@gmail.com</a>> > wrote:<BR>
> Hi,<BR>
> Does anyone know if it's possible to colour a surface with two (or more)<BR>
> different data sets? e.g. In "Object Inspector->Display->Color by" you can<BR>
> choose only one data set.<BR>
> I need to colour with one data set as an "underlay" and then second data set<BR>
> over the top.<BR>
> It doesn't seem like this is in Paraview, are there any work arounds or<BR>
> alternatives?<BR>
> Thanks,<BR>
> Tristan<BR>
> _______________________________________________<BR>
> Powered by www.kitware.com <<a href="http://www.kitware.com">http://www.kitware.com</a>> <<a href="http://www.kitware.com">http://www.kitware.com</a>> <BR>
><BR>
> Visit other Kitware open-source projects at<BR>
> <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
><BR>
> Please keep messages on-topic and check the ParaView Wiki at:<BR>
> <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
><BR>
> Follow this link to subscribe/unsubscribe:<BR>
> <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
><BR>
><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>