Thread: OpenGL and text

  1. #1
    Malek
    Guest

    OpenGL and text

    Can someone tell me how to display text on the screen in OpenGL? I 'm using 2d mode, so it doesn't need to be 3dimensional text.

  2. #2
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    http://nehe.gamedev.net

    lot of good tutorials and one teaches displaying 2D text

  3. #3
    Registered User minime6696's Avatar
    Join Date
    Aug 2001
    Posts
    267

    Lightbulb 2d Mode???

    Theres a 2d mode in OpenGL??? Tell me Tell me!!! I yern to know .

    SPH

  4. #4
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    its called set the far z plane to 1.0 and the near to 0.001 and draw 2D stuff??!??!! whats the deal? use polygons + textures and transparency to display 2D objects.

    Or you could do some sneaky rendering of 3D objects and then display them as 2D..hehe...
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. OpenGL - 2d text in 3d game
    By mikeb1986 in forum C++ Programming
    Replies: 1
    Last Post: 03-22-2006, 01:24 PM
  2. openGL text in multiple windows
    By hannibar in forum Windows Programming
    Replies: 1
    Last Post: 03-02-2006, 02:17 PM
  3. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  4. opengl program as win API menu item
    By SAMSAM in forum Game Programming
    Replies: 1
    Last Post: 03-03-2003, 07:48 PM
  5. Inputting text in OpenGL environment
    By Crossbow in forum Game Programming
    Replies: 7
    Last Post: 05-02-2002, 09:31 PM