glut colormap

hello, everybody!
Is there anyone who has such colormap that the colors are continuous?
Another problem is that, when I use colormap with glutSetColor() and glIndexi(), there is GLUT:fatal error:pixel format with necessary capabilities not found. But when I use auxSetOneColor() , the program can run without error.

Color indexed pixelformats have been unsupported by most OpenGL implementations since years. That should be the reason for your “GLUT:fatal error:pixel format with necessary capabilities not found” message.

The only one which still offers such pixelformats under Windows is the OpenGL 1.1 software implementation from Microsoft.

On RGBA pixelformats the glIndex calls do not have any effect.

Is there anyone who has such colormap that the colors are continuous?

What do you mean with continuous? Like in a color wheel?
You could use some of these conversions to get there: http://en.wikipedia.org/wiki/HSV_color_space

Hi, Relic,
Thank you very much!
But why did the program run well when I used auxSetOneColor() ?
It seems that I can use color indexed pirxelformat.