Results 1 to 2 of 2

Thread: Displaying Bitmaps

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2001

    Displaying Bitmaps

    Please help me in displaying bitmaps through Open GL code. I am working on Linux and using C language. This bitmap has to be displayed on the screen.
    Please keep it simple as i am new to it.
    Thanks in advance.

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Aug 2000
    Cardiff University

    Re: Displaying Bitmaps

    a) glDrawPixels
    b) Texture mapping to a quad

    a is easier, more effective and copes easily with any size of image, but is slow
    b is a bit more complex (not too much) and is quicker, need to bodge it a little if you have non 2^n dimension images


Similar Threads

  1. loading/displaying bitmaps in dll
    By bheimsoth in forum OpenGL: Windows
    Replies: 0
    Last Post: 08-19-2005, 07:18 AM
  2. displaying 2d bitmaps in 3d scenes
    By Scorpion_ADN in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 11-21-2002, 10:28 AM
  3. bitmaps not displaying correctly
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-29-2002, 09:15 AM
  4. Displaying Bitmaps
    By saileshksaha in forum OpenGL: Linux
    Replies: 1
    Last Post: 06-18-2001, 09:32 AM
  5. displaying bitmaps in 2d(or raw files)
    By Starnut coder in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 01-28-2001, 01:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean