01/30/2003
15-462 Graphics I
17
Display Lists
•Sharing display commands
•Display lists are stored on the server
•May contain drawing commands and transfns.
•Initialization:
•
•
•
•Use: glCallList(torus);
•In animation, can also share at different times
GLuint torus = glGenLists(1);
glNewList(torus, GL_COMPILE);
  Torus(8, 25);
glEndList();