Results 1 to 2 of 2

Thread: Display

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2003
    Posts
    8

    Display

    Can we display text using opengl?

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,595

    Re: Display

    Hi !

    Yes you can, you can create text as bitmaps and place them on polygons as textures.

    On Windows you can use wglCreateFontOulines and another function to create displaylists of bitmap or polygon text, you can then draw text by calling glCallLists(). X has a similair function.

    There also exists some libraries that use FreeType to render text (GLTT just to name one).

    So there are a number of solutions, it all dependes on what you want to use the text for and how you want to display it, just like ordinary 2D text or in 3D.

    Hope that helps
    Mikael

Similar Threads

  1. Replies: 4
    Last Post: 05-23-2012, 10:24 AM
  2. To Display or not to Display list? :)
    By Titus in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 07-27-2003, 04:25 PM
  3. display lists inside display lists...
    By architekt in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 05-22-2002, 08:55 PM
  4. Remote display NT->Irix for stereo display
    By YvesRubin in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 05-09-2002, 02:29 AM
  5. Display list to display models...Should I use them?
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-27-2000, 12:49 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