Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: texture mapping

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2003
    Location
    Pakistan
    Posts
    23

    texture mapping

    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

  2. #2
    Junior Member Regular Contributor
    Join Date
    Feb 2003
    Location
    Westerville, Oh, USA
    Posts
    202

    Re: texture mapping

    Can you post a small piece of code? It's hard to tell what's going on.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •