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... )
Comments 2
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
Reply
Leave a comment