title: Use of Vertex Array Objects and Vertex Buffer Objects
body: <p>I am trying to understand these two, how to use them and how they are related. Let's say I want to create a simple terrain and a textured cube. For both objects I have the array of triangles vertices and for the cube I have an array containing the texture's data. My question is: <strong>how do I use VAOs and VBOs to create and render these two?</strong></p>
  
  <ol>
  <li>Would I have to create a VAO and VBO for each object?</li>
  <li>or should create a VAO for each object's VBO (vertices, texture data, etc.)?</li>
  </ol>
  
  <p>There are many tutorials and books but I still don't get the very idea of how these concepts must be understood and used.</p>