Results 1 to 3 of 3

Thread: writing text

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2001
    Location
    London, England
    Posts
    3

    writing text

    Hi I am trying to put text up on the screen. I have looked a the gamedev.nehe site and it doesn't help as I am rotating the camrea at the same time so the text doesn't stay in the same place any surgesstions?

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Dec 2007
    Posts
    1,077

    Re: writing text

    Call glLoadIdentity before drawing text for example if you're writing the text in your normal projection. Otherwise you can setup an ortographic projection with glOrtho2D before writing the text (Easy to do pixel accuracy then).

  3. #3
    Junior Member Newbie
    Join Date
    Sep 2001
    Location
    London, England
    Posts
    3

    Re: writing text

    thanx alot,
    I will try that

Similar Threads

  1. Writing Text
    By Usman in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-03-2010, 05:35 AM
  2. Writing a text string
    By Bill Stanley in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 11-15-2004, 02:11 PM
  3. Writing text in french
    By dvm in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 04-29-2004, 02:01 AM
  4. Text writing
    By imported_Vincent in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 07-13-2000, 09:26 PM
  5. Simple text-writing
    By beginner in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 07-01-2000, 06:35 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