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 for graphic axis and rotation

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2002
    Location
    Lyon,FRANCE
    Posts
    2

    Text for graphic axis and rotation

    I wont to draw text in my graphic to have a legend.I wont to know what is the function to write text .

    I have an other problem . Why when I make rotation in my graphic,the rotation don't respect axis I have draw but horizontal and vertical axis? (For z axis I don't have this problem)

  2. #2
    Intern Contributor
    Join Date
    May 2001
    Posts
    55

    Re: Text for graphic axis and rotation

    If you are using windows, you can use wglUseFontOutlines, or wglUseFontBitmaps,

    Or looke up texture mapped fonts...Also
    check out nehe.gamedev.net...I am sure i saw some tutorials there on displaying text.

Posting Permissions

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