PDA

View Full Version : Help with texture !



Giordano
11-02-2005, 03:54 PM
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. :D

Korval
11-02-2005, 04:45 PM
What does this have to do with the "OpenGL Shading Language"? This is basic texture mapping; you should ask on the Beginner's forum.