vao Questions
5
Solved
I am just starting to learn OpenGL today from this tutorial: http://openglbook.com/the-book/
I got to chapter 2, where I draw a triangle, and I understand everything except VAOs (is this acronym OK...
Detoxicate asked 6/8, 2012 at 0:30
2
Solved
I'm trying to render multiple objects in OpenGL using multiple VAO's and VBO's. To render multiple objects using the same vertices I've done it, but what I want to do is to use different vertices f...
1
Solved
I need to create a grid like this:
----------------
| | | | | |
----------------
| | | | | |
----------------
| | | | | |
----------------
and rendering it just with lines.
This is how I ...
1
Solved
2
Solved
As far as I understand it: A VAO represents a certain state. If I bind a VAO, add some VBOs and element buffers for indicies and stuff I can save a certain state of the object(s) I want to draw and...
Grallatorial asked 8/4, 2015 at 13:1
1
Solved
Suppose I set up two VAOs, using the new (as of OpenGL 4.3) glBindVertexBuffer mechanism:
glGenVertexArrays(1, &vaoIndex0);
glGenVertexArrays(1, &vaoIndex1);
...
glBindVertexArray(vaoIn...
2
Solved
When created, do VAOs track just VBO indices (via glBindVertexBuffer), or also which VBO names are bound to those indices? If I specify a binding index of, say, 0 using glVertexAttribBinding during...
4
Solved
Im facing an issue which I believe to be VAO-dependant, but Im not sure..
I am not sure about the correct usage of a VAO, what I used to do during GL initialization was a simple
glGenVertexArrays...
1
Solved
I currently do this to setup my vao:
glBindVertexArray(vao);
glBindBuffer(GL_ARRAY_BUFFER, vbo);
...
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, ibo);
glBindVertexArray(0);
My question is: do I need...
2
Solved
2
Solved
I am trying to understand these two, how to use them and how they are related. Let's say I want to create a simple terrain and a textured cube. For both objects I have the array of triangles vertic...
1
Solved
I am writing an OpenGL3+ application and have some confusion about the use of VAOs. Right now I just have one VAO, a normalised quad set around the origin. This single VAO contains 3 VBOs; one for ...
1
Solved
How can I get the name of the currently bound Vertex Array Object?
I looked in the manual but couldn't find an enum to use with glGet().
1
Solved
I have the following code which should simply draw a green triangle to the screen. It is using Vertex Array Objects and index buffers to draw and has the simplest shader I could make.
At first I w...
2
Solved
Question 1
Do vertex buffer objects created under a certain VAO deleted once that VAO is deleted?
An example:
glGenBuffers(1, &bufferObject);
glGenVertexArrays(1, &VAO);
glBindVertexArr...
1
© 2022 - 2024 — McMap. All rights reserved.