PDA

View Full Version : Display lists



KeSh
04-25-2004, 10:51 AM
Hey dudes, i would like to know if is ALWAYS advisable (i.e is better) to use display lists instead of spitting code all way down? Or if it is only better when we use a great amount of a specific object? Thanks

mikael_aronsson
04-25-2004, 10:59 PM
Hi !

Most of the time things will be faster with a display list because you keep the geometry in the GPU's memory and this is faster from the GPU's perspective.

But it only works if the geometry is static, if you need to regenerate the displaylists all the time you loose all advantages with it.

But there are also VBO's and things like that you can use.

Mikael

KeSh
04-26-2004, 01:40 AM
Hmmm...i'm starting to use openGL....what the hell are VBO's? I've read about that a couple of times...but don't know what it is...Can you give me more details?

plasmonster
04-26-2004, 02:48 AM
(V)ertex (B)uffer (O)bjects provide a more efficient cpu -> gpu path for data. You can get the skinny here (http://oss.sgi.com/projects/ogl-sample/registry/) . (Look for ARB_vertex_buffer_object)