   Hm. glutBitmapCharacter + coloring
  Did some searches, picked a number of promising topics, couldn't find an answer to this. I'm sorta adding onto the masking tutorial.Someone posted (to write text) this function:   void bitmapOutput(int x, int y, int z, char* string, void* font = GLUT_BITMAP_8_BY_13) {int length, i;glRasterPos3f(x, y, z);length = (int)strlen(string);for (i = 0;i < length;i++) {glutBitmapCharacter(font, string[i]);}}Which prints black text. I'd like white, so I tried setting everything up, etc: void startPrint() {glMatrixMode(GL_PROJECTION);//Select projection matrixglPushMatrix();//save itglLoadIdentity();//reset non-savedglMatrixMode(GL_MODELVIEW);//Select modelview matrixglPushMatrix();//save itglLoadIdentity();//reset non-savedglOrtho(0, 640, 0, 480, -1, 1);//Set up an ortho screenglBlendFunc(GL_DST_COLOR, GL_ZERO);// Copy colored part of img to screenglDisable(GL_DEPTH_TEST);//Blend correctlyglEnable(GL_BLEND);glDisable(GL_LIGHTING);}void stopPrint() {glMatrixMode(GL_PROJECTION);glPopMatrix();//Restore old projection matrixglMatrixMode(GL_MODELVIEW);glPopMatrix();//Restore old projection matrixglBlendFunc(GL_SRC_ALPHA, GL_ONE);glEnable(GL_DEPTH_TEST);if (light)glEnable(GL_LIGHTING);if (!blend)glDisable(GL_BLEND);}void bitmapOutput(int x, int y, int z, char* string, void* font = GLUT_BITMAP_8_BY_13) {int length, i;startPrint();glRasterPos3f(x, y, z);glEnable(GL_COLOR_MATERIAL);glColor3f(1, 0, 0);length = (int)strlen(string);for (i = 0;i < length;i++) {glutBitmapCharacter(font, string[i]);}stopPrint();glColor3f(1, 1, 1);glDisable(GL_COLOR_MATERIAL);}  Edit:Which still prints the text black (thought I'd try red for testing purposes).Is it possible to color this text? As you can tell, I don't really know how to fix it, so have been messing around...(I have, however, kept my masked font code, but this cuts down on a lot of code, so, I thought I'd try it.)"Is that a snow-globe in your fire blanket,or are you just stark naked?"  --RavenBlack Surrealism[edited by - MarauderIIC on February 4, 2004 8:08:07 PM][edited by - MarauderIIC on February 4, 2004 8:21:56 PM]