I am trying to understand how to write a program that will display polygons defined in an external text file. The text file will contain the vertices for GL_QUAD elements, and I'm getting stuck since this file is not defined at compile time. Does anyone have an idea of how to parse this file and generate the shapes in realtime? Thanks.