Hi, I am trying to learn OpenGL and so far it has been good however I got to the tutorial on texture mapping on NeHe's site and i wanted to add a background.Basically grass a 2-d quad with a grass texture and a sky another 2d quad with a sky texture. However whenever I try to run the modified code i get the error can not load sky.bmp or grass.bmp I am bindibg and unpacking the exact same way the other textures are and my other textures all fit the requirements 128x128 pixles in .bmp format in 24-bit color and no matter what i try it always fails to load that texture, Please help.
I ran into this same problem too. Make sure you have them in the right directory. Such as, if the location of your program is c:\stuff, make sure the .bmp s are in that directory. If you are using VC++ 6.0, make sure the bmps are in the original directory, not in the \Debug directory.