Skip to main content

Questions tagged [vertex-arrays]

1 vote
1 answer
703 views

So I have this middle-large mesh that is composed from vertices and respective indices. At some point I need to add new ones and remove some. But that brings me into trouble. Because if I have, for ...
Janis Taranda's user avatar
2 votes
0 answers
111 views

I want to make a function like areColliding which takes two polygons as args. I also want to cover cases like and the dreaded because I am trying to create a ...
user avatar
1 vote
0 answers
768 views

I'm considering two different approaches to vertex buffer management in my OpenGL game engine. The first one seems to be pretty usual, but I haven't seen the second one being proposed or used anywhere....
Jacajack's user avatar
  • 111
1 vote
1 answer
2k views

How general should vertex array objects be? I'd like to plan ahead and avoid a major revision down the road. I'm having a hard time wrapping my head around a few (possibly conflicting) pieces of ...
Felix's user avatar
  • 123
1 vote
0 answers
192 views

I am creating a level for my game and currently, there is a Tile class where I have a black RectangleShape rendering without any weirdness, except when I look at the FPS, its 200. Now, I have a pretty ...
Ameer Ali's user avatar
2 votes
1 answer
407 views

Imagine yourself a vertex array in OpenGL representing blocks in a platform game. But some vertices may be not used. The environment is dynamic, so there always some vertex may suddenly become ...
Franz Wexler's user avatar
0 votes
1 answer
445 views

How do i stream to a vertex buffer using Direct State Access? I want to update my vertex buffer of matrices every frame so i can use it in my Shader. This is how i specify my buffer. I do this once ...
simulate's user avatar
  • 145
0 votes
1 answer
823 views

I'm a fresher on engine programming. I have a question of how we can get the vertices buffers of vertex formats from the mesh file. For example, in OBJ file or FBX file, we save the positions, ...
LLL's user avatar
  • 3

15 30 50 per page