
Originally Posted by
loonger
Hi guys, I'm new to programming and OpenGL. I try to understand from the ground. Most tutorials I've read so far are based on glut. I'm wondering how to write codes without using glut? What exactly do those functions do?
For example, I've defined a display() function. If I use glut I can simply write "glutDisplayFunc(display); glutMainLoop();" in the main() function to call the display(). But if I do not use glut, what should I do? What do the code look like?
If I work on a MFC/Qt project, there is no main() function. What should I do?
Thanks!