Skip to main content
2 votes
1 answer
103 views

I am trying to make a square from triangles using indices and vertices, but when I run the code it says this: System.AccessViolationException: 'Attempted to read or write protected memory. This is ...
ourenia's user avatar
  • 21
0 votes
1 answer
803 views

I'm doing some stuff with 2D opengl rendering. Is there a way to render a vertex array object but have the data be passed through multiple shaders? For example, a shader that applies a normal map to ...
DaNubCoding's user avatar
1 vote
1 answer
66 views

I'm new to this but what I'm trying to do is using vertex array object to display something on a phone emulator. But the problem is that it isn't displaying anything on the phone. What I have ...
apo's user avatar
  • 43
1 vote
1 answer
95 views

I'm studying Opengl and the book i've been using is OpenGL(R) ES 3.0 Programming Guide, 2nd Edition. And at chapter 6 they talk about Vertex arrays and they have a example code that uses Vertex Array ...
apo's user avatar
  • 43
3 votes
1 answer
2k views

I use the following code to render a simple quad using a vertex array and an index buffer. In the Vertex specification, I see The index buffer binding is stored within the VAO. But in my code, in ...
Syscall's user avatar
  • 19.8k
0 votes
1 answer
926 views

I have multiple objects, each one of them has its own index buffer, vertex buffer, some have a different shader or texture, and all of them have the same vertex format (x, y, z, u, v, nx, ny, nz). I ...
Dave F.'s user avatar
  • 175
3 votes
1 answer
218 views

I've read that a VBO (Vertex Buffer Object) essentially keeps a reference count, so that if the VBO's name is given to glDeleteBuffers(), it isn't truly dismissed if a living VAO (Vertex Array Object) ...
Anne Quinn's user avatar
  • 13.2k
-1 votes
2 answers
475 views

I have been experimenting with modern OpenGL and I am trying to make draw functions to automate drawing basic shapes I have done quads successfully but I can't get circles to work my code is good ...
Farouk's user avatar
  • 270
0 votes
1 answer
573 views

hi everyone I new to OPENGL and I want to update the vertices and indices when I translate the 3d object I make vertices vector and indices vector these vector hold all the data of the 3d object is ...
مهند خليل's user avatar
1 vote
0 answers
161 views

I'm trying to write a simple program to display an icosahedron using PyOpenGL but I can't get past generating the VAO. The problem is not solved in glGenVertexArrays Mac OSX PyOpenGL as I am creating ...
bresslem's user avatar
0 votes
1 answer
946 views

I try to use 2 VBO inside a VAO and I end up with a crash (far beyond my app). The idea is to make a first VBO (and optionnally an IBO) to stucture the geometry. This worked well, until I get the idea ...
Sébastien Bémelmans's user avatar
-2 votes
1 answer
630 views

i am trying to learn usinf opengl and lwjgl with java and i have amde a program and am trying to render some mesh but the class handling the Vaos and Vbos is faulty.After doing some research , i have ...
ORIGAMI Mittal's user avatar
0 votes
1 answer
382 views

I'm trying to create a game with WebGL. I currently have three textures, one with letters for the font, a sprite sheet for the character, and a tilemap for the world. So I have a few large textures ...
user1801359's user avatar
0 votes
1 answer
2k views

I want to draw multiple vertex arrays. This is the initialization: unsigned int va1; unsigned int vb1; void init_va1() { glGenVertexArrays(1, &va1); glBindVertexArray(va1); ...
Ababwa's user avatar
  • 141
2 votes
1 answer
2k views

I'm attempting to move a vertex by modifying it's positional vertex attribute. As a test, I have added the line vertices[0] = 0.4f; both before and after the creation of my VAO procedure, to see ...
MattyAB's user avatar
  • 375

15 30 50 per page
1
2 3 4 5