PDA

View Full Version : VBOs, display lists,... ???



euproprio
05-19-2006, 03:42 AM
Hi all!

When developing an aplication using OpenGL, I start by looking at the extensions that the card supports. Some do not have VBO support, so I extended my library to use VAR (NVidia), VAO (ATI) and if none of those are available, my Render object uses display lists or simply an imediate glBegin()/glEnd() structure... I'm wondering if this is the correct way, as it seems that Display Lists still have good performance - and perhaps I should forget about VAR and VAO, which could be a waste of resources (and my time) ???

thank you.

05-19-2006, 04:23 AM
Display lists offers optimal performance as well as VBO. The difference is that display lists are fully static whereas VBO may be dynamic.

As far as i know nearly all cards back to the GeForce 2 do support VBO. Therefore, adding VBO support as an application requirement is not a biq requirement and won't limit your user base much.

VAR and VAO are old extensions that were created before VBO. You should use only VBO as they are somewhat higher level and work accross all graphic cards (NVidia, ATI, Intel,...).

euproprio
05-19-2006, 04:39 AM
thank you.
As for VBO support: some users just don't have a clue about updating drivers...

zeoverlord
05-19-2006, 07:39 AM
Originally posted by euproprio:
As for VBO support: some users just don't have a clue about updating drivers... True, but the simple solution to that is to put up a dialog box stating that your drivers or your card does not support VBO and this problem is probably solved by updating the drivers.