LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-22-2005, 05:27 PM   #1
1337 Twinkie
Member
 
Registered: Jul 2004
Distribution: Fedora Core 2
Posts: 79

Rep: Reputation: 15
Displaying strings in OpenGL


Is there an easy way to display strings in openGl (with fonts, not a bunch of texture mapped quads)? I have tried a couple of tutorials with no succes.

Extra info:
- I am using SDL as the window manager.
- Lighting is enabled.
- Model shading is 'smooth'
 
Old 01-24-2005, 10:33 AM   #2
ebronnik
LQ Newbie
 
Registered: Jan 2005
Location: Russia
Distribution: SuSe 9.2
Posts: 2

Rep: Reputation: 0
Try to see example from SDL_ttf. It is possible to use with OpenGL.
 
Old 01-24-2005, 11:30 AM   #3
deiussum
Member
 
Registered: Aug 2003
Location: Santa Clara, CA
Distribution: Slackware
Posts: 895

Rep: Reputation: 32
In Windows you have wglUseFontBitmaps and wglUseFontOutlines. In X you have glXUseXFont.

Because fonts are really a system specific item, and all the core OpenGL functions are designed to be system independent, you won't find much else outside of stuff offered by other toolkits like SDL, glut, etc.


Last edited by deiussum; 01-24-2005 at 11:32 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to find duplicate strings in vertical column of strings markhod Programming 7 11-02-2005 05:04 AM
strings in c djgerbavore Programming 8 01-11-2005 05:27 PM
Overwrite Mesa OpenGL with ATI OpenGL Carl-Fredrik Slackware 12 10-01-2004 04:33 PM
Changing from MESA OpenGL to ATI OpenGL tillyoubreakit Linux - Hardware 19 10-07-2003 08:32 PM
OpenGL is needed by plib-1.7.0- but i have opengl ! qwijibow Linux - Newbie 0 08-05-2003 08:12 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration