joao flavio
09-16-2012, 12:18 PM
I need to generate dynamically allocated display lists, I mean, in an application
where the users are to assemble a structure from basic components, that can have different dimensions, it is not possible to know how many components will be used.
How can I use glGenLists(n), where n varies? Or can I just use glGenList(1) every time a component is created?
Will that work? Is this question clear enough?
Thanks in advance!
where the users are to assemble a structure from basic components, that can have different dimensions, it is not possible to know how many components will be used.
How can I use glGenLists(n), where n varies? Or can I just use glGenList(1) every time a component is created?
Will that work? Is this question clear enough?
Thanks in advance!