View Full Version : static models ...
07-01-2002, 03:31 AM
if i have static models, then i use display lists, but if i have to change my model in real-time, should i use glDrawElements !!!
I would say so,
if you are changing your data lots then its much better to use glDrawElements although i have found that in some cases it is actually faster just to use plain old glBegin/glEnd blocks - depends on your data - best thing to do is profile it. creating display lists can be time consuming so it probably not a good idea to re-create them all the time if your data is changing lots. also display lists can be very slow if you have *lots* of data - they take a long time to create and can cause hard disk pageing in such situations.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.