title: Loading model with texture in GLGravity Iphone project
body: <p>I have downloaded the GLGravity project from apple site. I tried loading a new model to display instead of teapot. the model is loading but without using the defined textures.</p>
  
  <p>I am trying to display the model using the following code but unable to display the texture.</p>
  
  <p>// in setupView method</p>
  
  <pre><code>glEnableClientState(GL_VERTEX_ARRAY);
  glEnableClientState(GL_NORMAL_ARRAY);
  glEnableClientState(GL_TEXTURE_COORD_ARRAY);
  
  glVertexPointer(3, GL_FLOAT, 0, camaro_objVerts);
  glNormalPointer(GL_FLOAT, 0, camaro_objNormals);
  glTexCoordPointer(2, GL_FLOAT, 0, camaro_objTexCoords);
  </code></pre>
  
  <p>in drawView method</p>
  
  <pre><code>// draw data
  glDrawArrays(GL_TRIANGLES, 0, camaro_objNumVerts);
  </code></pre>
  
  <p>I have also tried disabling lightning, but the model loads with white color and without texture.</p>