yellowmat
4th November 2006, 16:17
Hi everybody !
I'm learning opengl since the beginning of this week and I have a problem (many problems in fact but I solved some of the others ;) ) with texture.
I saw many examples over the net using glut and other librairies but not Qt so I tried to port samples from glut to Qt with no success.
As a result, I saw my quad but the texture is not mapped despite.
Does someone just could tell me exactly what to to (in which functions) in order to map a texture (in a png file) onto a quad ?
Thanks in advance.
I'm learning opengl since the beginning of this week and I have a problem (many problems in fact but I solved some of the others ;) ) with texture.
I saw many examples over the net using glut and other librairies but not Qt so I tried to port samples from glut to Qt with no success.
As a result, I saw my quad but the texture is not mapped despite.
Does someone just could tell me exactly what to to (in which functions) in order to map a texture (in a png file) onto a quad ?
Thanks in advance.