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: OpenGl labeling

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2009
    Posts
    22

    OpenGl labeling

    Hello,
    I have a small geometric view program and I would like to label each feature with its name ( circle 1, point 6 etc ) I have searched the web for a solution unsuccessfully.
    I am wondering if this is a very difficult task or am I missing something.

    My view is primarly 2D and is written in MFC.

    Any help would be great!!

    -Derrek

  2. #2
    Junior Member Regular Contributor
    Join Date
    Mar 2012
    Posts
    129
    Perhaps this will be of use to you: http://oglft.sourceforge.net/ which uses http://freetype.sourceforge.net/

    Tutorial for making it yourself: http://damianpaz.wordpress.com/2011/...o-render-text/

  3. #3
    Senior Member OpenGL Pro
    Join Date
    Jan 2012
    Location
    Australia
    Posts
    1,101
    Here is another
    http://www.angelcode.com/products/bmfont/
    There is a link to an OpenGL tutorial about half-way down the page

Posting Permissions

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