GLUT Callback Registration
• glutMotionFunc (void (*func) (int x, int y))
–Mouse motion while pressed
• glutPassiveMotionFunc (void (*func) (int width, int height))
–Mouse motion without button press
• glutIdleFunc(void (*func) (void))
–Called whenever no other events are on the event queue
–Passing NULL disables this
• glutTimerFunc (unsigned int msecs, void (*func) (int value), value))
–Callback every msecs milliseconds (or more): Best effort
–Function func called with the specified value parameter
–Can register multiple timer functions
Graphics Hardware

Vector/Raster Graphics