OpenGL Woes

Jan 24, 2006 13:16

Today I was demonstrating for CGV and one person had a very strange problem; they couldn't get the colour of text drawn by glutBitmapCharacter to change. It turns out the colour is not set by glColor, it's instead set by the GL_CURRENT_RASTER_COLOR parameter. And how do you set this parameter? By calling glRasterPos which as a side effect takes the ( Read more... )

york, 3d graphics, programming, rant

Leave a comment

Comments 2

spriggan April 5 2007, 21:06:21 UTC
Hi Andrew,

I found this entry from a google search for "glutBitmapCharacter wrong color". I was having this very problem, but your tip solved it. Thanks!

Reply

andrew_j_w April 5 2007, 21:11:50 UTC
Glad it helped! I post little things like that to my blog so they'll be picked up by google and might prove useful to someone :-)

Reply


Leave a comment

Up