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 3 of 3

Thread: Background...

  1. #1
    Junior Member Regular Contributor
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    102

    Background...

    I'm a total newbie at opengl programming, I'm wondering how do I put a background in form of a bitmap, I'm using GLUT...
    CyBBe

  2. #2
    Junior Member Newbie
    Join Date
    Mar 2000
    Posts
    7

    Re: Background...

    I'm trying to do the same thing...
    A solution is to make a polygon and to put a texture on it...
    If you find another solution could you let me know
    Le Bayonnais

  3. #3
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    2,982

    Re: Background...

    Hello

    True, the best way to make a background is to draw a large, textured polygon. Ok, maybe this is not the very best solution, but it's a great one, and easy too.

    However, there is a function called glDrawPixels(), if you use it, you can skip the polygon, but it's extremely slow

    I say, go for a polygon...

    Bob

Posting Permissions

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