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: How to make a background?

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2004
    Posts
    19

    How to make a background?

    I need the best(high performance) way to draw a background in a scene.
    I started with glDrawPixels() - but redrawing full screen slowes down fps terribly.
    I optimized and made partial redrawing(only those parts that need to be redrawn). Performance increased, but it is still low.

    Now I am plannig to try textured quad to use as a background, is that the only way?

  2. #2
    Member Regular Contributor CrazyButcher's Avatar
    Join Date
    Jan 2004
    Location
    Germany
    Posts
    402

    Re: How to make a background?

    I am doing a tex quad as well, thinking that is the most common way to do it.

  3. #3
    Junior Member Newbie
    Join Date
    Apr 2004
    Posts
    17

    Re: How to make a background?

    textured quad without depth testing and all not required stuff like lighting, blending, etc turned off will give you the best performance for a background

Posting Permissions

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