Nomad
🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
OpenGL Texture Mapping!
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.
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.
------------------
zac@qisfl.net
Snowsoft Online
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement