Lighting and Texturing Problems

I cant get textures on my models
can someone please email me code to do this

When I enabled lighting the coloring on my model turned to a uniform shade of grey
sugestions where to look for errors

My Email Address if fuz_king@hotmail.com

did you set the texture paramaters adn the enviornment variables using glTexParamater*() and glTexEnv*()??

such as

glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_WRAP_S,GL_REPEAT);
glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_WRAP_T,GL_REPEAT);
glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR);
glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR);
glTexEnvi(GL_TEXTURE_ENV,GL_TEXTURE_ENV_MODE,GL_MODULATE);

Originally posted by no-one:
[b]did you set the texture paramaters adn the enviornment variables using glTexParamater*() and glTexEnv*()??

such as …

[/b]

No I did and it is now working Thankyou very much,

[This message has been edited by King Fuzzy (edited 08-23-2001).]