GLUT allows you to create multiple windows
They could be used for multiple views of your scene, or one could be a control panel and another the 3D scene
| id = glutCreateWindow(label) | id is identifier for referring to the window later |
| glutSetWindow(id) | Makes commands apply to a particular window |
Callback functions (e.g. glutDisplayFunc) are associated with the "current window" when the function is assigned
Example: multiwin.py
next