[vtkusers] vtkLookupTable weirdness

jon n elwo73 at hotmail.com
Thu Apr 4 14:20:27 EST 2002


hi,

i had been using a vtkColorTransferFunction for an isocontour and it was 
working perfectly. but now i'd like to have different alpha values for the 
different isolevels so i'm attempting to use a vtkLookupTable. but i have 
found that when I have 2 isolevels, one red and one blue, that sometimes the 
first isolevel gets red and sometimes it gets blue, and it seems like i'm 
not assured which will get which. for example, i move the blue's scalar up a 
bit and suddenly the red area becomes bigger, even though the red level 
hasn't been touched.

is there any way to guarantee the order that colors are taken from a lookup 
table and assigned to isolevels?

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx




More information about the vtkusers mailing list