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: TLVertex in OpenGL

  1. #1
    Junior Member Newbie
    Join Date
    May 2003
    Location
    chiba
    Posts
    18

    TLVertex in OpenGL

    hello.

    In Microsoft DirectX, we often use TLVertex for 2D background image rendering.

    In OpenGL, how do I render 2D background image? What kind of vertex can I use?

    If you know solution, I'm glad to listen the solution.

    sorry, my broken English.
    thanks.

  2. #2
    Member Regular Contributor
    Join Date
    Apr 2001
    Posts
    354

    Re: TLVertex in OpenGL

    2 solutions :

    1/Use glDrawPixels
    2/Use a textured quad (with proper projection matrix, ie orthographic projection)

  3. #3
    Junior Member Newbie
    Join Date
    May 2003
    Location
    chiba
    Posts
    18

    Re: TLVertex in OpenGL

    I try to get 2D image by textured quad and glOrtho function. And I got 2D image.

    I'm glad to hear your advice.
    Thank you very much.

Posting Permissions

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