alpha value

i would like to know how to use the alpha values.When i use glcolor4f(red,green,blue,alpha) the modelled object is not transparent. I don’t know why?
Thank for help.

Are u using a blend function? To make objects transparent you need to do:

glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);

Try doing at least this, also remember that you have toreaw the object you want transparent after everything else is drawn. Also remember to draw from back to front. Culling and depth buffering may also need to be enabled.

Hope this sheds some light on the matter
for more info NeHe has some good toutorals on this subject. http://nehe.gamedev.net

Roach

Hi!
Are you using Alpha Channel in the texture?
Ta lueK!

<MChiz>