Giordano
11-02-2005, 02: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
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