<HTML>
<HEAD>
<TITLE>Re: [Paraview] How to do volume rendering of image data?</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Oh, I see now. &nbsp;I don&#8217;t think this approach is going to work either. &nbsp;First of all, ParaView ignores the LOOKUP_TABLE defined in VTK file. &nbsp;It is an old feature that is rarely used anymore (the more recent VTK files don&#8217;t support it), and it conflicts with ParaView&#8217;s management of lookup tables. &nbsp;Even if ParaView accepted it, it would probably cause serious problems. &nbsp;The VTK classes are not prepared for lookup tables with this many values and are liable to fail in rather interesting ways.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 7/20/10 10:32 PM, &quot;Steve Huntley&quot; &lt;<a href="stephen@xhuntley.net">stephen@xhuntley.net</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I guess there was a communication problem. It seems you're still looking<BR>
at the first file I attached in an earlier message: molar.vtk. I created<BR>
a new file with the lookup table called molar.look.vtk and attached it<BR>
to the later message that discusses lookup tables and opacity.<BR>
<BR>
Moreland, Kenneth wrote:<BR>
&gt; Uh, what lookup table? The data file you posted has no LOOKUP_TABLE<BR>
&gt; entry. Even if it did, the VTK format specifies that the LOOKUP_TABLE<BR>
&gt; is applied to a SCALARS entry whereas the molar.vtk file has data<BR>
&gt; stored as COLOR_SCALARS. Even if the RGB values were listed under a<BR>
&gt; SCALARS entry (which is an error in itself), the lookup table cannot<BR>
&gt; be applied to a vector. VTK specifically defines a lookup table as<BR>
&gt; something that converts scalars to colors. I&#8217;m not sure what the<BR>
&gt; interface would look like for a lookup table that operated on vectors<BR>
&gt; in either the VTK API or in a GUI.<BR>
&gt;<BR>
<BR>
_______________________________________________<BR>
Powered by www.kitware.com<BR>
<BR>
Visit other Kitware open-source projects at <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: <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>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
&nbsp;&nbsp;&nbsp;**** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kenneth Moreland<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sandia National Laboratories<BR>
*********** &nbsp;<BR>
*** *** *** &nbsp;email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** &nbsp;*** &nbsp;** &nbsp;phone: (505) 844-8919<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;web: &nbsp;&nbsp;<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>