Top "Glut" questions

The [Open]GL Utility Toolkit (GLUT) is a utility library for OpenGL applications to put the platform-dependent details (e.g. creating windows and responding to mouse events and key presses) under one hood, in an easy and portable way.

Scan-line fill OpenGL/GLUT algorithm in C++

I am trying to learn the scan-line fill algorithm implemented in OpenGL/GLUT. I cannot wrap my mind around the …

c++ opengl glut
OpenGL and GLUT in Eclipse on OS X

I have been trying to setup the OpenGL and GLUT libraries in Eclipse, with CDT, on OS X with not …

c++ macos opengl eclipse-cdt glut
Glew problems, unresolved externals

I want to start working with OpenGL 3+ and 4 but I'm having problems getting Glew to work. I have tried to …

c++ opengl glut glew
In OpenGL, can I draw a pixel that exactly at the coordinates (5, 5)?

By (5, 5) I mean exactly the fifth row and fifth column. I found it very hard to draw things using screen …

c opengl glut
X Error of failed request: GLXBadFBConfig

I'm trying to do a Sierpinski gasket as specified in "INTERACTIVE COMPUTER GRAPHICS A TOP-DOWN APPROACH WITH SHADER-BASED OPENGL®" 6th …

c++ opengl glut
How do I specify a keyboard's directional keys in glut?

I wanna use up, down, left, right as part of the controls of an opengl + glut application. How do I …

opengl glut
Understanding the relationship between glutDisplayFunc and glutPostRedisplay

When reading the redbook I found: glutDisplayFunc(void (*func)(void)) is the first and most important event callback function you …

opengl glut
getting the position of a user mouse click in C & GLUT

I would like to store the user's mouse click position on two variables float x,y; I'm using openGL with …

c mouse glut
OpenGL - Explain glutInitDisplayMode()

Explain in detail what functionality is provided by the settings in the line: glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGBA | GLUT_DEPTH); …

c++ opengl 3d glut glu
Removing console window for Glut/FreeGlut/GLFW?

Under Visual C++, I have played around with Glut/FreeGlut/GLFW. It seems that everyone of these projects adds a …

c++ configuration glut freeglut glfw