Skip to main content
Filter by
Sorted by
Tagged with
2 votes
2 answers
654 views

I was hoping to make a tower of hanoi game using opengl. Eventually i came up to the problem of processing & transfering data from one buffer object to another. I have successfully stored my ...
Nani The Chaman's user avatar
6 votes
1 answer
4k views

VAO being Vertex Array Object and VBO being Vertex Buffer Object. The calls for creating and binding/unbinding VAOs and VBOs have a general format as given below: GLuint VAO, VBO; glGenVertexArrays(...
juztcode's user avatar
  • 1,431
1 vote
1 answer
507 views

I'm playing about with OpenGL ES 2.0. If I'm working with a simple 2D projection, if I have a large 2D grid of vertices which are pretty much static (think map tiles), of which only a small proportion ...
Mark's user avatar
  • 1,894
2 votes
0 answers
285 views

I'm thinking about tweaking my current batch render. What I currently do is run a loop with command like this : shader->setUniformValue("mvp_matrix", matrix * geo[x].geoMatrix); ...
Dariusz's user avatar
  • 1,076
1 vote
1 answer
225 views

I am trying to use glDrawElements , glTexCoordPointer and glTexImage1D to create a 1D texture, render a surface dataset and color the vertices according to their height value. GLuint tex = 0; My ...
tester's user avatar
  • 425
1 vote
1 answer
2k views

I'm currently working on a sprite renderer whose data changes every tick, so I've been looking for ways to stream a buffer object, I came across buffer orphaning... which confused me a bit. Firstly, ...
Whiteclaws's user avatar
1 vote
0 answers
395 views

I have written a program with OpenSceneGraph (interfaced into Qt Gui) at work and all was fine. Now that I took the program home (i.e. I got the source code home and compiled it at home), I don't see ...
Tare's user avatar
  • 635
-1 votes
1 answer
87 views

Are there any modeling formats that directly support Vertex Buffer Objects? Currently my game engine has been using Wavefront Models, but I have always been using them with immediate mode and display ...
Krythic's user avatar
  • 4,448
1 vote
1 answer
838 views

I use glVertexAttribPointer to load my vertex data each frame(~242kb) it takes about 8ms.Will I gain any performance increase by employing VBO?I think the answer is NO since I still have to load whole ...
undefined's user avatar
  • 685
0 votes
1 answer
816 views

In this program I want to draw polygons. Firstly I made sth like that: GLuint VertexArrayID; example of drawing polygon: if (figure == RECTANGLE) { data[0][0] = px1; data[0][1] = py1; ...
Jorgusss's user avatar
0 votes
0 answers
173 views

I'm trying to draw a lot of squares by loading vertex data (position and texture coordinates) into a VBO. My issue is when I try to load all of these vertices, for some reason it skips over some ...
George's user avatar
  • 3,060
0 votes
1 answer
1k views

I try to switch my openGL code from using display list to using VBO. In the code, I tried to draw a green-grid floor, which is composed by green lines in parallel with x-axis and green lines in ...
Shan-Hung Hsu's user avatar
0 votes
1 answer
1k views

I have looked at a lot of posts, and cannot find what is wrong with my code. I have bound my VBO however it doesn't work and gives me this error: Exception in thread "main" org.lwjgl.opengl....
nedb's user avatar
  • 706
0 votes
2 answers
2k views

I've got a training app written in winapi So, I've got GL initialized there and I've got node-based system, that can be described by couple of classes class mesh { GLuint vbo_index; //this is for ...
Antiusninja's user avatar
1 vote
1 answer
483 views

So I am working on a project which is a bit like Minecraft in that there are thousands of cubes. I hit a huge performance hit quite early on and so started looking at ways to improve the FPS I first ...
Burf2000's user avatar
  • 5,223
0 votes
1 answer
359 views

I have two programs which I am switching between. I loaded my position data up in a VBO and then set up my vertex attribute arrays for my first program. When I switch to the second program and attempt ...
David's user avatar
  • 1,710
1 vote
1 answer
39 views

What is the lowest possible android and opengl es version that i can go and still be able to use vertex buffer objects?
clamp's user avatar
  • 34.2k