Recently, the two OpenGL programs written in the original work are simply payable. It has reached the original purpose. Test the graphics and mouse. OpenGL has supported keyboard and mouse. See you can see the URL download source program on Redbook.
Now I want to improve the procedure. Add some text. However, OpenGL seems to have only the simplest bitmap map support for text. The auxiliary library I don't use it, I don't know if there is any direct in this area. Fortunately, there is a font.c that font.c has given the font number (only uppercase ABCD ...), I don't have to get the thing I have. Take a look at the website below
http://www.freecoder.org/~pinxue/opengl/credbook/chapter__bitmaps_and_fonts.html
There is a introduction to the font. I have no problem with this simple letter on the screen. Of course, you can also design the font. But don't know how to get some art words, and there is a Chinese lettering. Anyway, don't need this now, nor you need to learn.
OpenGL is doing 3D animations, and there should be very useful games. Many movies such as Titanic have used it to make animations. 3dmax may also have OpenGL implementation, people who play CS must know that there is OpenGL option in the game settings. However, someone said that Microsoft's DirectShow has developed. Who knows, I have never used it.
It seems that OpenGL can not progress for the time being, no time to do this. Can only stay in the hierarchy of painting geometric objects. Ha ha.
Now look at the Linux kernel. Research from the start of the starting version. I think it is still useful here.