Help - Create texture

Hi,

I have an assignment that is suppose to create the following 5 functions to create a texture for mapping later, can someone help.

Regards,
munwen

void initTexture(void)
{
/* create texture image, texture environment and download the texture /
}
void setupTexture(void)
{
/
enable texturing and bind texture /
}
void finishTexture(void)
{
/
disable texturing and unbind texture /
}
void setupTexGen(void)
{
/
setup and enable texture coordinate generation /
}
void finishTexGen(void)
{
/
disable texture coordinate generation */
}

You want other people to do your homework ?

nehe.gamedev.net
It’s all there

good point.
http://www.codesampler.com

I’m sorry, that’s not intention…I’m a newbie to opengl, hence would like to seek some advise and guidance.