Textures on different computers

Started by
5 comments, last by bballmitch 17 years, 11 months ago
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?
Mitchen Games
Advertisement
Du you point to the relative or absolute position of the texture?
- http://vlab.dk
relative, but I put both the executable and the texture in the same folder. So when I load the texture, I say "myTexture.bmp"
Mitchen Games
Does it show as pure black or white? Or a sort of average color of the texture?

Greetings

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.
Mitchen Games
Don't you need to use a slash too? As in "\\texture.bmp" instead of "texture.bmp"?
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?
Mitchen Games

This topic is closed to new replies.

Advertisement