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 2 of 2

Thread: text display using glulookat

  1. #1
    Intern Contributor
    Join Date
    Jun 2003
    Location
    South Carolina
    Posts
    70

    text display using glulookat

    How do you keep the text displayed in the same place on the screen when you use glulookat to move around the world. Before I was using glTranslatef to move around and I would just put my text before I moved, but now it isn't working that way
    -David

  2. #2
    Intern Contributor
    Join Date
    Mar 2004
    Posts
    62

    Re: text display using glulookat

    Code :
    gluPerspective()
    gluLookat()
    DrawFency3d()
    glOrtho()
    DrawText()
    This way the text is completely independent from your 3d stuff.

Posting Permissions

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