[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
- To: email@example.com
- Subject: GLUT question
- From: Francesco Orsenigo <firstname.lastname@example.org>
- Date: Wed, 10 Dec 2003 22:05:01 +0100
- Delivered-to: email@example.com
- Delivered-to: mailing list firstname.lastname@example.org
- Delivery-date: Wed, 10 Dec 2003 16:04:18 -0500
- Mailing-list: contact email@example.com; run by ezmlm
- Organization: Xarvh Project
- Reply-to: firstname.lastname@example.org
- 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...