   Do I need to use arrays for bigger performance?
  Hello,Not long ago I started learning OpenGL. I have read that using arrays instead several calls to glVertex*() ,glColor*() and etc. gives biger performace because the data is packed and transfer to the graphic hardware is faster. But from another source i have read that this isn't true. I'll be very happy to understand the truth. Thanks in avance.   
  I think it's better to use arrays. By the way, calls to glBegin,glVertex*,glEnd etc. etc. ( immediate mode ) is outdated. You should give a try to arrays, and after it, learn VBOs( Vertex Buffer Objects ), I've read, that the vertex data is uploaded to the VGA's memory, so the data travel will be faster between the memory and the VGA.   ;Quote:Original post by TheUnnamableI think it's better to use arrays. By the way, calls to glBegin,glVertex*,glEnd etc. etc. ( immediate mode ) is outdated. You should give a try to arrays, and after it, learn VBOs( Vertex Buffer Objects ), I've read, that the vertex data is uploaded to the VGA's memory, so the data travel will be faster between the memory and the VGA.Really? Maybe that's the reason why graphics cards have lots of onboard memory for the last 8 years.   ;  No, that would more have to do with the size of texture resources and whatnot.   ;  Yeah, geometry uses comparatively little memory. That's not the reason for skyrocketing VRAM quantities, it's primarily textures.To answer the OP though, yes, vertex arrays will be much faster than using immediate mode as each OpenGL call has an overhead as it must communicate with the driver, then the driver needs to communicate with the graphics card. If your application uses very little geometry you won't notice any performance issue on many cards (even relatively ancient ones). As your geometry complexity increases this overhead will become more apparent and you'll eventually have no choice but to pursue batch operations. It's not a difficult jump to learn vertex arrays, and will be well worth your time learning for both experience and performance.   ;  Thank you very much. The info is very helpful. I made some exersizes with arrays and realized that there are very comfortable to use too.   