I cannot get texture mapping to work.
I have created a context.
I have enabled 2d texture mapping.
I have generated a texture name.
I have bound the texture name to 2d textures
I have used the following to setup my texture
where array is a [2562563] byte array of texture data.
I setup my quad with texture coords for each corner but when I display the quad it appears coloured with no texture.
I have re-bound the texture before calling glBegin but still nothing.
I have used glGetError but it reports that nothing is wrong. Please help as I have run out of ideas.
[This message has been edited by stim (edited 06-25-2001).]
When you say it appears colored, are you saying that that color is the primary color? Or does the color change depending on the texture used? If the color changes as the texture changes, then it sounds like texture mapping is working fine, and that its the texture coordinates that are bad (or possibly the texture matrix).