upper limit on number of colors in colormap
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
We appear to be limited to a fixed maximum number of colors in the color map.
The attached state file demonstrates the problem. Turning off "Use Discrete Colors" on the edit color map dialog should result in a smooth rainbow. So should typing in a really large number in the Resolution field. In 3.8.1 the upper limit is 256. In 3.9 it is 1024.
See COLOR_TEXTURE_MAP_SIZE in vtkScalarsToColorsPainter.cxx for where those limits come from. With Use Discrete off this limit shouldn't be hit at all.