Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Drawing Coordinate Axes in OpenGL

mustardtoadmustardtoad Member Posts: 1

can anybody give me advice as to how to draw a 3D coordinate system, i.e. axes, tick marks and numbers and letters in opengl?
Plotting text does not seem too trivial, let alone having it nice and readable while the user rotates the coordinate system.

To me it looks like a standard problem that many people must already have run into. Does anybody know if libraries exist that provide this functionality?

Thanks a lot for your help.


  • DecipherOneDecipherOne Member Posts: 4
    Are you trying to draw an interface for an editor that has grids and the like?
    If so there are various ways to go about doing this, although I'm unaware of any standard libraries that take care of the issue. You have to define your own coordinate system when initializing the perspective for your viewport, after that it's as simple as accessing the coordinate data that opengl stores for use in the world space.

    For a list of some supported font technology in opengl check out [link=]Survey Of OpenGL Font Technology[/link]

    Good Luck. Feel free to ask any more specific questions or clarify if I misunderstood your question.
    + Will C Owner : DecipherOne Productions +
Sign In or Register to comment.