Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

OpenGL Texture Mapping!

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 Nomad   Members   

122
Like
Likes
Like

Posted 24 November 1999 - 10:09 AM

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.

Nomad


#2 Smack0007   Members   

157
Like
Likes
Like

Posted 24 November 1999 - 10:09 AM

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.

------------------
zac@qisfl.net
Snowsoft Online





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.