Tagged Questions
0
votes
1answer
335 views
Refactoring an immediate drawing function into VBO, access violation error
I have a MD2 model loader, I am trying to substitute its immediate drawing function with a Vertex Buffer Object one....
I am getting a really annoying access violation reading error and I can't ...
2
votes
1answer
614 views
how can I specify interleaved vertex attributes and vertex indices
I'm writing a generic ShaderProgram class that compiles a set of Shader objects, passes args to the shader (like vertex position, vertex normal, tex coords etc), then links the shader components into ...
0
votes
2answers
196 views
vertex array with smoothness
I'm using vertex array to draw 2d geometry,
but I can't achieve smoothness.
This is the code I'm using:
glEnableClientState(GL_COLOR_ARRAY);
glEnableClientState(GL_VERTEX_ARRAY);
...