PDA

View Full Version : Texture coordinates not going off screen!



MrShane
12-13-2000, 06:03 PM
Hi again. I'm having another problem... For some odd reason, the texture coordinates will not go off-screen... it's weird. For example i have a texture mapped cube, which looks fine if i'm far away, but if i get close enough to where the edges of the cube are off the screen, the corners of the textures on the cube will sort of 'scoot' away from the edges of the screen. They don't go off the screen, they always stay on while the cube edges goes off! It's weird... and very hard to explain. Has anyone maybe experienced this before and know of a solution?

MrShane
12-13-2000, 06:08 PM
Nevermind, i fixed it. It had to do with making a call to glBindTexture with the paremeters GL_TEXTURE_2D and GL_NONE... I don't know why, though. I'm just glad it doesn't happen anymore. http://www.opengl.org/discussion_boards/ubb/biggrin.gif