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 */
}