vertex-array 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

5

Solved

I was recently writing some OpenGL 3.3 code with Vertex Array Objects (VAO) and tested it later on Intel graphics adapter where I found, to my disappointment, that element array buffer binding is...
Spandrel asked 23/1, 2012 at 15:4

2

I want to use VAO in my native-c application for Android. The problem is, that GL_OES_vertex_array_object is supported and I can even get the addresses of glBindVertexArrayOES and glDeleteVertexAr...
Gap asked 19/9, 2012 at 7:53

2

Which is the best way (lowest memory, fastest speed) to texture a cube? after a while i have find this solution: data struct: GLfloat Cube::vertices[] = {-0.5f, 0.0f, 0.5f, 0.5f, 0.0f, 0.5f, 0.5...
Somatic asked 24/1, 2013 at 16:22

1

Solved

I'm currently using the GLTools classes that come along with the Superbible 5th edition. I'm looking in the GLTriangleBatch class and it has the following code: // Create the master vertex array o...
Hagiocracy asked 21/6, 2011 at 3:42

1

Solved

I'm trying to draw a terrain with GL_TRIANGLE_STRIP and glDrawElements but I'm having a really hard time understanding the indices thing behind glDrawElements... Here's what I have so far: void T...
Ta asked 24/4, 2011 at 22:57

4

Solved

I have a problem where I have a series of points for a simple, non-convex polygon (I hope I have the terminology correct). But the points are not necessarily in order (ie, clockwise or counterclock...
Lukelukens asked 4/4, 2011 at 1:44

1

Solved

I'm working on making some moderately simple shapes with vertex arrays, and I'm making some good headway, but now I want to draw 2 (or more) triangle fan objects. Is there any way to only make one ...
Salzman asked 8/12, 2010 at 11:24

2

Solved

I'm trying to load .obj files that I've formatted into: vertexX vertexY vertexZ normalX normalY normalZ and: index1 index2 index3 format into vector and vector arrays, which I then directly r...
Sport asked 1/12, 2010 at 19:47
1

© 2022 - 2024 — McMap. All rights reserved.