I use texture , but see just white rectungle . what is the problem ? Thank’s
Hm…
Is the texture a power of 2 in size?
Are you loading the data correctly?
Is the texture bound?
…
Originally posted by bakery2k:
[b]Hm…
Is the texture a power of 2 in size?
Are you loading the data correctly?
Is the texture bound?
…[/b]
i send you this small project , can you help me ?
There’s one thing I know to be true for some video cards, that will produce this very behaviour - have you applied texture filters? You need to specify both min and mag filters - about two row of code. Try this.
I looked at your code, but I couldn’t get it to compile (I don’t use glaux), and after installing the header, it crashed. I have a suggestion though:
Try calling glEnable(GL_TEXTURE_2D) after glutCreateWindow
Please do not send me 200kb of texture along with 7kb of code: Post the relavent code here instead, so everyone can read it.
Originally posted by bakery2k:
[b]I looked at your code, but I couldn’t get it to compile (I don’t use glaux), and after installing the header, it crashed. I have a suggestion though:
Try calling glEnable(GL_TEXTURE_2D) after glutCreateWindow
Please do not send me 200kb of texture along with 7kb of code: Post the relavent code here instead, so everyone can read it.[/b]
Thank’s a lot !!! it works .
Oh yeah! Definitive an ADVANCED topic!!
what about the nice beginners-tutorials out there??
but i understand, its 1000 times easier to post a message and wait for others solution than trying for yourself…
kind regards, a sad board reader…