Oh, I see now. I don't think this approach is going to work either. First of all, ParaView ignores the LOOKUP_TABLE defined in VTK file. It is an old feature that is rarely used anymore (the more recent VTK files don't support it), and it conflicts with ParaView's management of lookup tables. Even if ParaView accepted it, it would probably cause serious problems. The VTK classes are not prepared for lookup tables with this many values and are liable to fail in rather interesting ways.
-Ken On 7/20/10 10:32 PM, "Steve Huntley" <step...@xhuntley.net> wrote: I guess there was a communication problem. It seems you're still looking at the first file I attached in an earlier message: molar.vtk. I created a new file with the lookup table called molar.look.vtk and attached it to the later message that discusses lookup tables and opacity. Moreland, Kenneth wrote: > Uh, what lookup table? The data file you posted has no LOOKUP_TABLE > entry. Even if it did, the VTK format specifies that the LOOKUP_TABLE > is applied to a SCALARS entry whereas the molar.vtk file has data > stored as COLOR_SCALARS. Even if the RGB values were listed under a > SCALARS entry (which is an error in itself), the lookup table cannot > be applied to a vector. VTK specifically defines a lookup table as > something that converts scalars to colors. I'm not sure what the > interface would look like for a lookup table that operated on vectors > in either the VTK API or in a GUI. > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview **** Kenneth Moreland *** Sandia National Laboratories *********** *** *** *** email: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview