Hi,
How to place images on the surface of the Cylinder ? Those images should look like side by side .
I know how to place one below the other on the surface of the cylinder ?
i mean how to give texture values in the below code to get images side by side :
glBindTexture ( GL_TEXTURE_2D, logoN.genID);
glBegin(GL_QUADS);
glTexCoord2f(0,0); glVertex2f(X1,Y1);
glTexCoord2f(1,0); glVertex2f(X2,Y2);
glTexCoord2f(1,1); glVertex2f(X3,Y3);
glTexCoord2f(0,1); glVertex2f(X4,Y4);
glEnd();
Please Guide me.
i am thankful for your reply.