Jump to content
  • Advertisement
Sign in to follow this  
bballmitch

Textures on different computers

This topic is 4442 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I used nehe's code to load a texture in one of my games. It worked on my computer and now my sky is textured. When I sent my program to another computer, the sky texture didn't load. It was like the texture wasn't even there. I'm sure that I have the files needed for it to load. What reason could there be for not loading? And it didn't work on multiple computers, but it did work on my computer. Any ideas?

Share this post


Link to post
Share on other sites
Advertisement
relative, but I put both the executable and the texture in the same folder. So when I load the texture, I say "myTexture.bmp"

Share this post


Link to post
Share on other sites
Well, I have green fog in my game, so it shows up kind of green-ish. But from what I can tell, if there wasn't any fog, it would be pure white.

Share this post


Link to post
Share on other sites
Don't you need to use a slash too? As in "\\texture.bmp" instead of "texture.bmp"?

Share this post


Link to post
Share on other sites
I don't think so, but I'll try it when I get home. What I don't understand though, is if thats the case, then why does it still work on my own computer?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!