I used a timer to frequently call glutPostRedisplay() to show the scene dynamically. But only one frame was rendered, Could you tell me detailed usage of glutTimerFunc()?

inside the func u call with glutTimerFunc
post another glutTimerFunc() call
ie glutTimerFunc will only get called once, it doesnt get called even Xseconds until u turn it off

Sorry not surely got your point; did you mean, I have to use nested glutTimerFunc()?

void f()
do stuff
glutTimerFunc( f, 10 ); // call this function again in 10ms

int main()
glutTimerFunc( f, 10 );

Thank you very much, I’ve got it done!!