Advertisement

Texture Mapping Problem

Started by March 19, 2004 09:18 PM
2 comments, last by Running_Wolf 20 years, 11 months ago
I''m trying to use textures. I got the tutorial working but when I try to do it myself all I get is a blank white square. What are the possible problems causing this? Any help would be grateful, thanks.
L.I.G. == Life Is Good
Post some source code please!

--------------------------------------------------------

There is a theory which states that if ever anybody discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.

There is another theory which states that this has already happened...
--------------------------------------------------------There is a theory which states that if ever anybody discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.There is another theory which states that this has already happened...
Advertisement
Possible causes:
You are not loading the textures (incorrect filename/directories)
You are not enabling 2d texturing ( glEnable(GL_TEXTURE_2D); )
Your computer hates you.

Post some code so we can help you out some more.

[edited by - tHiSiSbOb on March 20, 2004 12:37:44 PM]
----------------------------------------------------"Plant a tree. Remove a Bush" -A bumper sticker I saw.
Thanks. I fixed the problem. I found a bug in my code that extied the function before actually loading the texture without creating an error.
L.I.G. == Life Is Good

This topic is closed to new replies.

Advertisement