title: Drawing multiple models using multiple openGL VBO's
body: <p>rather than post lots of code, I will phrase this question intuitively. I hope you understand what I am getting at. </p>
  
  <p>I am making a game and in the code I have a model class that loads a model and sets up the VBO for it. </p>
  
  <p>In the loading function, it generates a new VBO ID and loads the vertex data from a file into that buffer by binding it etc. (This works fine)</p>
  
  <p>At the beginning of the program I make one model object and load a .obj file.</p>
  
  <p>In the render function, I simply call the DrawArrays() function (with the neccessary extra stuff) and as I said, <strong>everything works fine</strong> as the model appears on the screen with no problems.</p>
  
  <p>The problem however, is when I make two model objects at the beginning of the program and load a different .obj file into each one.</p>
  
  <p>The issue is that when I play, only the second model is drawn on screen. </p>
  
  <p>The problem is because I don't properly understand how VBO's work.</p>
  
  <p>This is how I "think" VBO's work. </p>
  
  <p>You can generate as many VBO ID's as you want.
  You can bind each ID to make it the active buffer.
  You can load vertex data into that buffer.
  You now effectively have many  different ID's each referring to a "set of vertex data".
  By calling the DrawArray function it draws every buffer you have generated (effectively displaying all your models on screen)</p>
  
  <p>Now I know this is wrong because in my limited understanding I can't see how I could turn models on/off. But no matter how many tutorials I look at I can't answer this question because they all focus on <strong>displaying that ONE FIRST VBO</strong>, which incidentally I can do.</p>
  
  <p>So... if that made sense, could anyone enlighten me?</p>