Results 1 to 2 of 2

Thread: help with text display

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2009
    Posts
    2

    help with text display

    hi,
    i'm new in OpenGL.

    i try to display text in front of a 3D model using a bmp image that contain characters.
    the thing is the text don't appear.
    i read few threads here and try it too. but it's not helping me.
    can somebody tell me, how should i display the text?

    thank you.

  2. #2
    Senior Member OpenGL Pro dletozeun's Avatar
    Join Date
    Jan 2006
    Location
    FRANCE
    Posts
    1,367

    Re: help with text display

    The idea is to draw a textured screen aligned quad using orthographic projection.

    You have to check carrefully first if the projection you are using is correct, depth test is disabled, culling mode is correct (try with culling disabled first) and 2d texturing is setup correctly.

    look at the opengl wiki first, you will find many tips about opengl basics like 2d texturing:

    http://www.opengl.org/wiki/Main_Page

Similar Threads

  1. Text does not always display
    By clintCJM in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 04-17-2007, 01:48 AM
  2. Display Text
    By moopheus in forum OpenGL: Linux
    Replies: 1
    Last Post: 10-23-2004, 11:06 AM
  3. Help - Display text and fps
    By Leyder Dylan in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 10-17-2000, 02:09 AM
  4. Help - Display text
    By Leyder Dylan in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-16-2000, 11:10 AM
  5. Display text
    By Leyder Dylan in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 07-31-2000, 09:24 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