GLUT Tutorial available, comments appreciated


I’ve just added another section to my GLUT tutorial. It covers the required initializations, keyboard, mouse and menus.

Your feedback is much appreciated. Thanks in advance,



On this page, add glFlush(); to the renderScene function so that folks who copy/paste the contents and compile in Windows actually see a triangle. Great work, keep it up!


Oh, yeah, glClearColor(0.0f, 0.0f, 0.0f, 0.0f) would be another good thing to add on that same page, in the renderScene function.

Thanks for your coments and suggestions. I’ve added the glFlush(). Its in the downloadble version but when I did the copy and paste that line got lost.
As for the glClearColor, black is the default clearing color so its not required.