Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Good OpenGL tutorial for Linux/Ubuntu? [closed]

I'm looking for a good Ubuntu OpenGL tutorial for a friend who already knows how to use OpenGL in Windows. Can anyone recommend any?

like image 628
dieki Avatar asked Jun 14 '10 20:06

dieki


1 Answers

OpenGL is the same in Linux, Windows and MacOSX, the difference is the windowing system. If you just want to get quickly into building multi-platform OpenGL applications, take a look at GLUT (open-source alternatives, Ubuntu comes with freeglut). GLUT is source-compatible between operating systems, so you can compile the same code, without modifications (theoretically), in Windows and Linux.

If you need something more elaborate, you should start using either GTK+ or Qt to build your application GUI. GTK+ has a GtkGLExt extension that creates a widget that contains a OpenGL context you can draw. Qt comes with the QtOpenGL module, which provides the QGLWidget widget.

like image 56
Juliano Avatar answered Oct 12 '22 19:10

Juliano