Top "Opengl" questions

OpenGL (Open Graphics Library) is a graphics standard and API which is platform independent and available for desktop, workstation and mobile devices.

What's the concept of and differences between Framebuffer and Renderbuffer in OpenGL?

I'm confused about concept of Framebuffer and Renderbuffer. I know that they're required to render, but I want to understand …

opengl rendering framebuffer
Row-major vs Column-major confusion

I've been reading a lot about this, the more I read the more confused I get. My understanding: In row-major …

c opengl matrix linear-algebra
glewInit() Failed, OpenGL App

I'm trying to build an OpenGL App with glew/glfw. I've downloaded the binaries, placed them in the root of …

opengl glew
Passing a list of values to fragment shader

I want to send a list of values into a fragment shader. It is a possibly large (couple of thousand …

opengl glsl
How to take screenshot in OpenGL

How to take a screenshot of an OpenGL window in C++ and save it to file. I found the glReadPixels() …

c++ opengl save screenshot glreadpixels
How do I get the current color of a fragment?

I'm trying to wrap my head around shaders in GLSL, and I've found some useful resources and tutorials, but I …

opengl shader glsl fragment-shader
Installation of all OpenGL libraries for development in Ubuntu 11.10

I've got a just installed ubuntu 11.10. I follow the first answer in this question. I installed: freeglut3 freeglut3-dev igor@…

c++ c opengl ubuntu glew
No OpenGL context found in the current thread, how do I fix this error?

I'm working on a card game, and currently have a good foundation but I'm running into an error when I …

java opengl lwjgl slick2d
Multiple textures in GLSL - only one works

My problem is getting more than one texture accessible in a GLSL shader. Here's what I'm doing: Shader: uniform sampler2…

opengl textures glsl
How does the centripetal Catmull–Rom spline work?

From this site, which seems to have the most detailed information about Catmull-Rom splines, it seems that four points are …

c++ opengl graphics directx spline