View Full Version : Display Lists at Runtime....

08-31-2001, 07:15 PM
Is it possible for OpenGL to be fed data from an external file, with the idea of building display lists at runtime?

Leyder Dylan
09-01-2001, 01:23 AM
Yes it's possible but make the display list in your InitGL function.

09-01-2001, 07:24 AM
I'm not sure why you would say to do it in the GL init function... I wrote a piece of modelling software which loads object files from the disk - I build the display lists once the data is loaded.


Rob The Bloke
09-01-2001, 07:44 AM
Build the display lists whenever you want, (within reason), you dont have to do it during your init function.

The usual restriction apply's though : once created you cannot change them. (you can delete them and re-create, but you might as well use vertex arrays if you need to edit the data).