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.

Getting smooth, big points in OpenGL

I started playing around with OpenGL and GLUT. I would like to draw some points, but the problem is that …

c opengl glut
Permission denied running my own program on Linux?

I have Ubuntu 9.4. I've built the program, some basic OpenGL. The program just makes a rotating square. Then run it …

opengl permission-denied ubuntu-9.04
GL_TRIANGLE_STRIP vs GL_TRIANGLE_FAN

I need an example of a polygon that can be done only by GL_TRIANGLE_STRIP and another polygon that …

opengl gl-triangle-strip
Initializing OpenGL without GLUT

every introduction and sample that I can find seems to use GLUT or some other framework to "initialize" OpenGL. Is …

opengl glut
Camera position in world coordinate from cv::solvePnP

I have a calibrated camera (intrinsic matrix and distortion coefficients) and I want to know the camera position knowing some 3…

c++ opengl opencv computer-vision pose-estimation
Multithreaded Rendering on OpenGL

I have a multithreaded application, in which I'm trying to render with different threads. First I tried to use the …

c++ multithreading opengl rendering
How to initialize a glm::mat4 with an array?

I'm using the OpenGL Mathematics Library (glm.g-truc.net) and want to initialize a glm::mat4 with a float-array. float …

c++ opengl math glm-math
How to do ray tracing in modern OpenGL?

So I'm at a point that I should begin lighting my flatly colored models. The test application is a test …

opengl graphics raytracing opengl-3
OpenGL transformations (glScale, glTranslate, etc)

I'm learning about openGL and how to do transformations such as translating and scaling. I know you have to usually …

opengl scale transformation translate
How does glDrawArrays know what to draw?

I am following some begginer OpenGL tutorials, and am a bit confused about this snippet of code: glBindBuffer(GL_ARRAY_…

opengl graphics rendering vertex