Hi phibermon,
with this code:
Code:glBegin(GL_QUADS); glTexCoord2f(0, 0); glVertex2f (500, 200); glTexCoord2f(0, 1); glVertex2f (600, 200); glTexCoord2f(1, 1); glVertex2f (1000, 700); glTexCoord2f(1, 0); glVertex2f (50, 700);
this is the rendering:
Browsing the web i found the Opengl glTexCoord4f function, but it is not clear about use it.
Thanks
Sesilla
Bookmarks