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...
Deforce asked 7/2, 2019 at 22:35

1

Solved

I need to create a grid like this: ---------------- | | | | | | ---------------- | | | | | | ---------------- | | | | | | ---------------- and rendering it just with lines. This is how I ...
Castiglione asked 21/10, 2019 at 21:9

1

Solved

I'm trying to draw two triangles in a window in OpenGL 3.3. I'm using the GLFW library for the windowing system. From what I understand, I should have two VBOs (one for each triangle) and one VAO ...
Gourmand asked 17/11, 2016 at 10:50

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...
Quartz asked 23/3, 2015 at 21:6

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...
Androsterone asked 5/11, 2014 at 21:59

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...
Devoice asked 19/1, 2012 at 8:42

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...
Obstinate asked 20/8, 2014 at 19:18

2

Solved

I'm trying to wrap my head around how to use VAOs appropriately for instanced rendering (specifically in Qt 5.2, using OpenGL 3.3). My understanding is that VAOs save the state of the VBOs and asso...
Upbuild asked 19/5, 2014 at 7:27

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...
Manicure asked 26/4, 2014 at 18:15

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 ...
Mujik asked 28/8, 2013 at 10:28

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().
Equate asked 5/6, 2013 at 21:32

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...
Paraguay asked 16/1, 2013 at 18:46

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...
Perigynous asked 12/11, 2012 at 10:52
1

© 2022 - 2024 — McMap. All rights reserved.