Questions tagged [vbo]

A Buffer Object is an OpenGL object that allows users to store data on the GPU. Vertex Buffer Objects (VBOs) are buffer objects used to store vertex data for non-immediate-mode rendering.

VBOs offer substantial performance gains over immediate mode rendering primarily because the data resides in the video device memory rather than the system memory and so it can be rendered directly by the video device.

The Vertex Buffer Object specification has been standardized by the OpenGL Architecture Review Board as of OpenGL Version 1.5. Similar functionality was available before the standardization of VBOs via the Nvidia-created extension "Vertex Array Range"

Source: https://www.khronos.org/opengl/wiki/Vertex_Specification#Vertex_Buffer_Object

908 questions
-1
votes
1 answer

How do I use VBOs to render a texture in LWJGL?

I am using the Lightweight Java Game Library to attempt to make a BrickBreaker-type game. I have made an extremely simple 16x16 png texture for the brick - I know how to render the texture using immediate mode, but how can I do it with Vertex Buffer…
Daniel Bezden
  • 426
  • 3
  • 8
  • 20
-2
votes
1 answer

OpenGL crashing before it can render a frame - VBOs

After giving up on the slow glBegin/glEnd technique, I finally decided to use VBOs. After hours and hours of frustration, I finally got it to compile. But it doesn't mean it works. The function "CreateVBO" executes without errors, but as soon as…
CrizerPL
  • 287
  • 2
  • 11
-2
votes
1 answer

Opengl vao with ebo

I'm currently learning OpenGL in my free time and lately I have been facing an "error" I don't understand. The thing is, I have no errors, only nothing appear on my screen. I'm using OpenGL with SFML. Here is my code. Here is my method: void…
-2
votes
1 answer

Retained Mode to draw 2D texture image

I'm trying to use the "retained mode" to draw my 2D images (loaded as texztures inside pygame with an opengl context), and the way i found to do so is using VBO, but i can't find a opengl tutorial that uses VBO to draw anything but primitives. Is…
-2
votes
1 answer

glDrawElements works perfectly on ubuntu, but does not work on mac

I was writing a VBO program some time ago. I finished coding and got the exact result as I want, but I only get a blackscreen in the mac with the same code. My guess is that there is something wrong with glDrawElements, but I used glGetError, it…
SkySource
  • 1
  • 1
-2
votes
1 answer

OpenGL - Very strange artifacts.. Only happens when there is a lot of instances of the same type of object

So basicly I am creating a 2D game. I am using VBOs and GLSL Shaders. Now what I do is that every texture I load, I create a VBO for it, so every drawable object that uses that texture it's elements will be inserted into that VBO. So a while ago I…
Amit Assaraf
  • 512
  • 11
  • 34
-2
votes
1 answer

OpenGL VBO without GLUT or GLEW

I am trying to create a 3D environment simulator of my own design using OpenGL, however my design requires me to have pretty much direct control of the run-time loop. I am trying to learn how to implement VBOs in OpenGL, but I'm having difficulty…
-4
votes
3 answers

OpenGL, screen doesn't update after adding Assimp 3D model

I am using OpenGL 4.0, I have 3 things in my scene, they are- 1- VBO Plane 2- Cube maps 3- 3D models [3ds/obj] I am using Assimp library to import 3D models, the code which I built to import models was done with the help of a tutorial on youtube…
2am
  • 699
  • 1
  • 7
  • 25
1 2 3
60
61