glColorTable

I create a color table with the functiong glColorTable(), but how to use the color table
I created.

For example, when I Draw a triangle,
how can I use the color table to render it?

What are you trying to do?

Color Tables are for pixel LUTs in imaging.

There is also other functionality for color index rendering but I’d recomment (very firmly) that you stick with RGB rendering.

Use 3D texture to rendering a volume and use 1D texture to control the 3D texture’s alpha value.
Create 3D texture need much more time.So I want to find a way to do these in real-time mode
That is what I want to do.

Now I know that I can’t use glColorTableEXT.
Becouse my graphic card do not support it.

I want to use texture combiner.Could you tell me the better method?