Nehe Texture Example to work.
I cant get the Texture Example off the Nehe site to work. I tried using 128x128x32, and a 256x256x32 texture, and named them texture.tga, and the Quad is still white. Please help, Im getting fustrated with OpenGL.
Will someone please give me a texture that Nehes Texture Example will load. Ive downloaded a bunch of tga, and not ONE works. What the heck is the matter. Inside the function the imageData variable is still NULL after the function(at the end). Please tell me whats wrong.
Well, the function that Nehe uses loads an BMP image, not a TGA.
Hope that helps,
Nicodemus.
Hope that helps,
Nicodemus.
Well, in his Texture Example theres a file called tga.c, and a function called LoadTGA, and it says it loads texture.tga. Are you sure?
Well as far as I can tell he loads a bitmap as well. If I were you I''d try that, what kind of error is it giving you and where?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement