View Full Version : Display Lists.
04-29-2001, 01:08 AM
Surprisingly I havent learnt display lists yet fully. I know they are used to speed up the rendering of multiple objects. I was wondering if you could but something else into a display list, eg: loading textures. If you could then loading a texture would be that much quicker... I dont know, just speculating...
04-29-2001, 02:23 AM
No you cant load a texture in a display list.
anything thats not to do with opengl like loading textures (and also things that are see the documentation for specifics aint included in the display list)
printf("%d",i); // will print out 0
04-30-2001, 01:31 PM
You may not be able to load textures, but you can bind a texture object (ie call glBindTexture). If you include a bind call for the correct texture in the display list before drawing geometry, it makes quite a neat way of drawing a textured object.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.