PDA

View Full Version : GLUT Tutorial available, comments appreciated



Antonio
09-25-2000, 04:30 PM
Hi,

I've just added another section to my GLUT tutorial. It covers the required initializations, keyboard, mouse and menus.
http://www.fatech.com/tech/opengl/glut/

Your feedback is much appreciated. Thanks in advance,

Antonio

Glossifah
09-26-2000, 10:06 AM
Suggestion: http://www.fatech.com/tech/opengl/glut/index.php3?2

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!

-Glossifah

Glossifah
09-26-2000, 10:08 AM
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.

Antonio
09-26-2000, 03:24 PM
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.

Thanks,

Antonio