Help with texture!

Hi to everyone !

I would like to know hot to map a texture (from a file ) on a polygon drawn with OpenGl.
I have for example an image (.bmp, .jpg…) and i want to use it as texture for a polygon in my opengl application, for example to “cover” the surface of a sphere or a cube. Someone can help me ??

Thanks ,

G. :smiley:

What does this have to do with the “OpenGL Shading Language”? This is basic texture mapping; you should ask on the Beginner’s forum.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.