How to render a radial field in OpenGL?

Will interleaving my texture map coordinates in my vertex array objects improve OpenGL render performance? Why?

  • Answer:

    It will, but the gain will not be that huge.  As a general principle of programming, information locality is important -- i.e. keeping data that will be accessed in the same point in code close together in memory space.  This results in less thrashing and/or context switching.

Gavan Woolery at Quora Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.