I am just using glTexGen to display a simple bitmap, to see how it works, yet, nothing gets display properly. So I was wondering if anyone could help.
Render a simple square bitmap at vertices:
glVertex3f(-50.0f, 50.0f, -100.0f);
glVertex3f(-50.0f, -50.0f, -100.0f);
glVertex3f(50.0f, -50.0f, -100.0f);
glVertex3f(50.0f, 50.0f, -100.0f);
(2D texture)
If you could please just show me how to use the gltexGen function to place texture coordinates on those vertex coordinate, just the steps involved, and I will pick up from there. No need for showing me how to bind or glTexParameteri anything.
Thank you.