View Full Version : texture mapping

kashif saeed
05-02-2003, 01:09 AM
hello friends
i am presently workng in opengl application where i am drawing some shapes like triangle etc on a window then using keyboard inerface i am switching to texture mapping that is loading one texture then using another key say "B" i am texture mapping another bitmap. hte problem i am encountring is that when i load my first bitmap using mipmap tchnique and then goes back to my original drawing where i have drawn trianges etc. its ok but when i load 2nd texture to display it on hte screen and goes back to main drwing it makes the draing dull that is it becoes black . i have tried to figure the problem but of no vain. can u help me out

05-02-2003, 07:02 AM
Can you post a small piece of code? It's hard to tell what's going on.