Skip to main content

Questions tagged [opengl]

Open Graphics Library - API for 2D and 3D computer graphics

-5 votes
1 answer
256 views

I have been thinking about this here and there for several years but haven't gotten around to having the time to actually implement it. I am getting closer to being able to implement a graphics ...
Lance Pollard's user avatar
1 vote
1 answer
249 views

I'm working on a winforms project that involves 3d models, Opengl graphics, hierarchical project files and uses an MVP approach. Currently i have things setup such that when the user manipulates ...
PeteByte's user avatar
8 votes
1 answer
706 views

I am currently working on an OpenGl program whose performance I would like to improve. The performance is okay but not ideal on powerful dedicated GPUs, but is abysmal on integrated graphics (< 10 ...
john01dav's user avatar
  • 889
5 votes
2 answers
3k views

It is generally understood in software engineering that global state is bad. However, OpenGL has been designed very much embracing the concept of global state. many of the things you modify will ...
Makogan's user avatar
  • 261
6 votes
2 answers
2k views

I have gone down the rabbit hole that is abstracting away a working game engine in OpenGL and C++. Before reaching the other side I'd like to ask about my current design, which is - the more I look at ...
Felix's user avatar
  • 387
8 votes
2 answers
20k views

I've been seeing people combine SDL2 and OpenGL (glfw.h or glut.h) for a while now, I've done some research and found out SDL2 runs on OpenGL. So why does people combine these two? Some people ...
Nfagie Yansaneh's user avatar
-3 votes
1 answer
1k views

I have posted the same question to StackOverflow and Stackexchange and both got downvoted to oblivion as "too broad". So maybe this will be a better place for it. I am working on a rendering engine ...
j8a2b0e7's user avatar
1 vote
2 answers
5k views

I would like to follow up on this question, except that I have no code to show, so I decided to ask it here. In the linked question, the OP was looking for an algorithm which could generate a plane ...
qreon's user avatar
  • 339
7 votes
0 answers
224 views

There is an existing real-time, scientific visualization application that uses OpenCL and OpenGL to render complex 2D graphs. My goal is to incorporate this application into a 3D rendered scene. At ...
Liam Kelly's user avatar
3 votes
1 answer
2k views

Games written using OpenGL are relatively easy to port to many platforms, and look and feel the same everywhere implementing their own UI. Web browsers have to solve a very similar problem. So, why ...
sapna's user avatar
  • 59
6 votes
1 answer
524 views

In OpenGL you have to bind an object to the context to be used in subsequent calls, instead of just using it as an argument in those calls. For example, in OpenGL you write this glGenBuffers( 1, &...
Hedede's user avatar
  • 177
5 votes
1 answer
4k views

I have been using OpenGL and OpenGL ES for a long time, and I know them pretty well. They're also really, really annoying to use, and I haven't really seen this discussed anywhere. Here are some ...
nukeop's user avatar
  • 99
6 votes
2 answers
8k views

Now this question might sound (/ is) stupid, but I'm just getting into OpenGL. So I installed GLFW source and I'm looking at some easy examples. What I'm noticing is, that the code still contains "...
hgiesel's user avatar
  • 831
1 vote
1 answer
171 views

I am learning OpenGL/C++ by following a tutorial series on in2gpu. I set up my Project just like the autor did. It is an Empty Visual C++ Project. Inside the project I linked glew and freeglut, the ...
チーズパン's user avatar
-1 votes
1 answer
1k views

I am trying to animate a texture in OpenGL. I feel like it should be easy, as I know how to animate in SDL and other libraries but I am having trouble. I have a x,y,w,h that holds the texture ...
Mithreindeir's user avatar

15 30 50 per page