LinkedInTwitterFacebook

Tag Archives: OpenGL

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 […]

Share

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.

Share

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 […]

Share

Writing a basic game with C++ and OpenGL libs – part 1 .

This is a first part tutorial about linux game using C++ and OpenGL libs. Writing a C++ game can be difficult. You will need to focus on program structure and then to know how to create the necessary classes. Let’s see the files I used:

The main.cpp file is the main program. This file […]

Share