PDA

View Full Version : Help - Create texture



munwen
10-27-2008, 12:23 AM
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 */
}

ZbuffeR
10-27-2008, 02:01 AM
You want other people to do your homework ?

zeoverlord
10-27-2008, 04:56 AM
nehe.gamedev.net (http://nehe.gamedev.net)
It's all there

_NK47
10-27-2008, 07:46 AM
good point.
http://www.codesampler.com

munwen
10-28-2008, 06:47 AM
I'm sorry, that's not intention....I'm a newbie to opengl, hence would like to seek some advise and guidance.