View Full Version : Display Lists at Runtime....
08-31-2001, 08:15 PM
Is it possible for OpenGL to be fed data from an external file, with the idea of building display lists at runtime?
09-01-2001, 02:23 AM
Yes it's possible but make the display list in your InitGL function.
09-01-2001, 08: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, 08: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).
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.