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 current colour set by glColor.

Ummm, intuitive...

york, 3d graphics, programming, rant

Previous post Next post
Up