Questions tagged [vertex-array]

109 questions
0
votes
1 answer

What is a practical size limit to vertex buffer size?

In OpenGL, you generally get better performance by using vertex buffers, and even better performance by putting many objects into the same vertex buffer, so that lots of vertices can be drawn with a single glDrawArrays call. But, what is the…
bobobobo
  • 64,917
  • 62
  • 258
  • 363
0
votes
1 answer

OpenGL Mapping Textures to a Grid Stored Inside Vertex Array

I have code that uses indices and vertices to draw a set of triangles in the shape of a grid. All the vertices are drawn using glDrawElements(). Now for each vertex I will set its corresponding Texture Coordinates to 0 or 1 for each set of triangles…
Matthew Hoggan
  • 7,402
  • 16
  • 75
  • 140
0
votes
1 answer

DirectX - Creating buffer with vertices array as argument

today I started working with DirectX(D3D9), everything went fine until I created a Static-mesh class. This class contains methods for generating the buffer, drawing and releasing the buffer. The problem is in the buffer generation function. If I…
zeluisping
  • 213
  • 7
  • 17
-2
votes
1 answer

Error when calling GL30.glGenVertexArrays();

i am trying to learn usinf opengl and lwjgl with java and i have amde a program and am trying to render some mesh but the class handling the Vaos and Vbos is faulty.After doing some research , i have learnt that this may be cause because of the…
1 2 3 4 5 6 7
8