Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Portable toolkit library for creating OpenGL applications

Tags:

c

opengl

glut

I am new to OpenGL and I have been doing some tutorials utilizing GLUT.

GLUT seems to be quite clunky and "old-fashioned" (if you know what I mean :D) so I am asking if there are a bit more straightforward and easier (perhaps more intuitive) libraries to substitute GLUT functionality?

like image 961
GLnewb Avatar asked Apr 20 '11 14:04

GLnewb


People also ask

Is a free software open source alternative to the OpenGL Utility Toolkit library?

freeglut is a free-software/open-source alternative to the OpenGL Utility Toolkit (GLUT) library. GLUT was originally written by Mark Kilgard to support the sample programs in the second edition OpenGL 'RedBook'.

Where can I find opengl32 lib?

The OpenGL library can usually be found by the name opengl32. dll under the \system32 folder, located in your system's root folder (usually c:\windows).

Is GLFW part of OpenGL?

GLFW is an Open Source, multi-platform library for OpenGL, OpenGL ES and Vulkan development on the desktop. It provides a simple API for creating windows, contexts and surfaces, receiving input and events.

How do I run OpenGL program in Visual Studio?

In Visual Studio, right-click on your project, and select "Open Folder in File Explorer...". A folder will appear that contains the files for your project. Drag the openGL files from the folder you created in step 1, into this folder.


1 Answers

Sounds like GLFW is what you are looking for. It is pretty simple library but much more intuitive than GLUT. It has basic support for keyboard, mouse and joystick inputs too.

It is also a pretty small library so it does have small overhead too. Typically GLFW adds only 20-30kb overhead if linked statically. Portability is excellent too, platform support includes all major desktop platforms (Windows, Mac OS X, Unix like system with X Window System such as FreeBSD and Linux).

like image 189
Athabaska Dick Avatar answered Sep 19 '22 22:09

Athabaska Dick