Clara Chan (clara@waltz.jpl.nasa.gov)
Thu, 1 Jul 1999 16:48:23 -0700
If my data range is 0 to 200, has a table arranged in RGBA RGBA....
in unsigned byte format.
Is it true that for a data value of 0, it should map to the first
entry of the lookup table? Somehow from the image, it looks like
the mapping is reversed (mapped to the last entry of color table)
I used the following in MonsterVolumizer.cxx:
voAppearanceActions::dataScaleRange(brick, 0, 200);
aLookupTable = new voLookupTablePost(internalFormat,
lookupLength,
externalFormat,
dataType,
lookupEntries);
where internalFormat is RGBA8_EXT
externalFormat is RGBA
dataType is UNSIGNED_BYTE
lookupLength is 256
Do you have any suggestions?
Thanks
Clara
This archive was generated by hypermail 2.0b2 on Mon Nov 01 1999 - 14:11:13 PST