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.

How to get the GL library/headers?

#include <gl\gl.h> #include <gl\glu.h> #include <gl\glaux.h> This is …

c++ opengl
How to compile for Windows on Linux with gcc/g++?

I have written some effects in C++ (g++) using freeglut on Linux, and I compile them with g++ -Wall -lglut …

c++ opengl gcc glut freeglut
Using OpenGl with C#?

Is there free OpenGL support libraries for C#? If so, which one do I use and where do I find …

c# opengl
How do you install GLUT and OpenGL in Visual Studio 2012?

I just installed Visual Studio 2012 today, and I was wondering how can you install GLUT and OpenGL on the platform?

opengl visual-studio-2012 glut
How to debug a GLSL shader?

I need to debug a GLSL program but I don't know how to output intermediate result. Is it possible to …

opengl debugging glsl
How do you render primitives as wireframes in OpenGL?

How do you render primitives as wireframes in OpenGL?

opengl
How to draw text using only OpenGL methods?

I don't have the option to use but OpenGL methods (that is glxxx() methods). I need to draw text using …

c++ c opengl graphics
glm rotate usage in Opengl

I am rendering a cone, and I would like to rotate it, 90 degrees anti-clockwise, so that the pointy end faces …

c++ opengl glm-math
How to use glOrtho() in OpenGL?

I can't understand the usage of glOrtho. Can someone explain what it is used for? Is it used to set …

c++ c opengl
Understanding glm::lookAt()

I am following a tutorial to learn OpenGL in which they used glm::lookAt() function to build a view but …

c++ opengl glm-math