Original Post
hey all. I want to load heightmap of type ".bmp" into my scene using vertex buffer object. The thing is from what i got from nehe tutorial the scene is loaded successfully but using gldrawarray. I want to load the scene as gldrawelements to improve performance more. The problem is how can i get the index array for each vertex loaded from heightmaps. I tried google but nothing, can someone help. tnx in advance...