[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
GLUT question
- To: linuxgames@sunsite.dk
- Subject: GLUT question
- From: Francesco Orsenigo <xarvh@lombardiacom.it>
- Date: Wed, 10 Dec 2003 22:05:01 +0100
- Delivered-to: archiver@seul.org
- Delivered-to: mailing list linuxgames@sunsite.dk
- Delivery-date: Wed, 10 Dec 2003 16:04:18 -0500
- Mailing-list: contact linuxgames-help@sunsite.dk; run by ezmlm
- Organization: Xarvh Project
- Reply-to: linuxgames@sunsite.dk
- User-agent: KMail/1.5.4
What is the smart way to write a phrase of 3 words, each of a different color?
It seems that fonts (bitmaps) change color only after a glRasterPos call...
but what about changing color without changing position?
Also, i tried to glGet(GL_CURRENT_RASTER_POSITION, vector), change color, and
then feed back 'vector' to glRasterPos, but it appears that, while glGet(...)
returns window coordinates, glRasterPos wants space coordinates, so i have to
make the translation... well... i can't belive there is no smarter way...
Thanx,
Francesco Orsenigo