OpenGL questions
I have two questions. First is an OpenGL texturing issue:
For some reason in my project when I call glBindTexture inside a glBegin(...) glEnd() block, it displays the wrong texture, when I call it before the block, it displays no texture. Could someone explain the difference between these two calling arrangements and help me figure out why it''s using the wrong texture?
Second is about the MD2 model tutorial. When I hit the R key to have the model start running, the gun waits 4-5 steps (sometimes more) before it starts "run mode", and then it''s not in sync with the rest of the model. I saw somewhere on the forum someone said it was an easy fix, but didn''t explain what that fix was. Anyone know?
Thanks
calling glBindTexture inside a glBegin(...) glEnd() block does nothing. Therfore, the previous texture is used. Thats why its different.
Check that the bitmap you are loading has dimensions of a power of 2.
Check that the bitmap you are loading has dimensions of a power of 2.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement