Category Archives: OpenGL

Blender 3D – Using OpenGL include addon .

I have many source code to deal with OpenGL. The main goal come when you need to put objects into enviroment. Even you use C, C++, C#, assembly language or python – PyOpenGL module this will give you some problems when you need to import 3D objects. With this addon from here, all you need […]


Working with GLFW library under Fedora.

Today I will try to use GLFW library. GLFW is a C library that lets you using an OpenGL context and window, display modes and inputs like keyboard, mouse, joystick and time. GLFW supports Windows, Mac OS X and Unix, Linux and FreeBSD and any operating systems with the X Window System. Also you can […]


Make your shadres online with SpiderGL – MeShader interface.

SpiderGL is a JavaScript 3D Graphics library which relies on WebGL for realtime rendering. You can test it online using your browser using this website. The website allow you to write shaders and also rendering the output. About the web interface then has some windows to write your code and set the viewer. See the […]


How to get? the GLSL and OpenGL version.

You can get version from the OpenGL and GL Shading program by:

If don’t initialize the OpenGL you can get it:

Let’s try one simple example.

The output will be print on the shell.


How to create an executable in Linux using OpenGL.

I will try to show you briefly how to create a Linux OpenGL applications. We check if the graphics card and settings are done correctly, using the command:

As freeglut devel package provides libraries for OpenGL. Let’s install that package.

Then we see if we have the necessary files.

Let’s try a […]