<HTML>
<HEAD>
<TITLE>Re: [Paraview] Bug in Color Scale</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Nope. I still can’t replicate the problem. I downloaded the binary you specify, loaded the data set you sent, and it set the range fine.<BR>
<BR>
I notice from the image you sent that the color bar does not have the default colors. Are you sure that you are actually using the version of ParaView you downloaded as opposed to another version that might be in your path? Earlier versions of ParaView used that rainbow scalar bar as a default. Either that or you have been playing with color scale editor dialog box. In that case, you may have accidently changed the range without realizing it.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 11/25/08 9:35 AM, "Shi Jin" <<a href="jinzishuai@yahoo.com">jinzishuai@yahoo.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'>Hi Ken,<BR>
<BR>
Thank you. I have attached my sample data file and a screenshot taken under paraview-3.4.0 under 64bit Linux.<BR>
Just now I tried the Windows version and it seems to be working fine. So I guess this is a problem only found in the Linux version. By looking at the range for the variable Rank in the information panel, we can see it is [3,3] however the color displays only for range [0,1].<BR>
Please let me know if you can reproduce this problem on Linux. The binary I used is paraview-3.4.0-Linux-x86_64.<BR>
<BR>
Thanks a lot.<BR>
Shi<BR>
<BR>
<BR>
</SPAN></FONT><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><HR ALIGN=CENTER SIZE="1" WIDTH="100%"><B>From:</B></SPAN><SPAN STYLE='font-size:12pt'> "Moreland, Kenneth" <<a href="kmorel@sandia.gov">kmorel@sandia.gov</a>><BR>
<B>To:</B> Shi Jin <<a href="jinzishuai@yahoo.com">jinzishuai@yahoo.com</a>>; "<a href="paraview@paraview.org">paraview@paraview.org</a>" <<a href="paraview@paraview.org">paraview@paraview.org</a>><BR>
<B>Sent:</B> Tuesday, November 25, 2008 7:50:42 AM<BR>
<B>Subject:</B> Re: [Paraview] Bug in Color Scale<BR>
</SPAN></FONT><SPAN STYLE='font-size:12pt'><FONT FACE="Times New Roman"><BR>
Re: [Paraview] Bug in Color Scale </FONT></SPAN><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Shi,<BR>
<BR>
I have not run into this, nor have I heard of anyone else who has. Could you tell us more about your data or, better yet, send us an example?<BR>
<BR>
One thing that has changed with the rescale range feature recently is that the range is now computed based on the values that appear throughout an entire volume, not just what appears on the surface. Thus, if you are rendering a volume of data with 1 in the middle but with the surface only having up to 0.01, the range is still going to be up to 1. Check the ranges in the Information panel. The scalar bar range should agree with that. If you don’t know where the upper values are located, try using the threshold filter to find them.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 11/24/08 8:24 PM, "Shi Jin" <<a href="jinzishuai@yahoo.com">jinzishuai@yahoo.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi there,<BR>
<BR>
I just upgraded my paraview from 3.10 to 3.40. Immediately I found that the same data was not colored correctly with the new version. It turned out that in the Display Tab, Rescale to Data Range button actually does nothing. If I clicked on Edit Color Map.., I found that the maximum of data range is always 1 (minimum always 0), no matter what the real range is. I can of course uncheck Automatically Rescale to Fit Data Range, and set the range using Rescale Range button by hand. However, I think this is not what it is supposed to be. I tried both the Linux-64bit binary found online and my own build on an ubuntu box and they have the same problem. Please let me know if it is indeed a bug or just something I didn't get right. Thanks a lot.<BR>
<BR>
Thanks a lot.<BR>
Shi<BR>
<BR>
<BR>
<BR>
_______________________________________________<BR>
ParaView mailing list<BR>
<a href="ParaView@paraview.org">ParaView@paraview.org</a><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>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a> <<a href="http://www.cs.unm.edu/%7Ekmorel">http://www.cs.unm.edu/%7Ekmorel</a>> <BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>