Results 1 to 4 of 4

Thread: Text in Opengl

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2003
    Posts
    26

    Text in Opengl

    What's the best way to put text in a viewport with opengl?
    Is there API to do so are do you have to draw it yourself?

  2. #2
    Senior Member Regular Contributor
    Join Date
    Apr 2001
    Posts
    340

    Re: Text in Opengl


  3. #3
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,068

    Re: Text in Opengl

    There are many diffrent ways to put text on the screen, I guess it all depends on your application as to which is best.

    I would say that textured font's are maybe one of the top ones.

    nehe.gamedev.net has tutors on the diffrent way's to put text on the screen.


    Originally posted by fobru:
    What's the best way to put text in a viewport with opengl?
    Is there API to do so are do you have to draw it yourself?

  4. #4
    Senior Member Regular Contributor
    Join Date
    Feb 2003
    Location
    Westerville, Oh, USA
    Posts
    201

    Re: Text in Opengl

    nehe.gamedev.net lesson 13 is what I used for bitmapped text. If you only care about windows, you should have something working from their code in short order.

Similar Threads

  1. Text rendering class does not draw text
    By th0masr0ss in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 01-23-2015, 09:10 PM
  2. Text in openGL
    By HawkUK in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 05-04-2010, 07:34 AM
  3. Replies: 0
    Last Post: 11-15-2002, 02:58 AM
  4. Text in OpenGL?
    By kevin4011 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 09-09-2001, 01:45 PM
  5. Text in OpenGL
    By Commandr in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 03-25-2001, 12:12 PM

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