Home »
Posts tagged "OpenGL"
With the newer versions of OpenGL we are able to manipulate the OpenGL Rendering Pipeline. This gives a lot of power to the developers to do graphical manipulations and visual effects. So far we have used the classical method to display 3D graphics.This (simplified) OpenGL pipeline is: Essentially...
Continue reading »
September 27, 2014 admin Advanced No Comment
With the newer versions of OpenGL we are able to manipulate the OpenGL Rendering Pipeline. This gives a lot of power to the developers to do graphical manipulations and visual effects. So far we have used the classical method to display 3D graphics.This (simplified) OpenGL pipeline is: Essentially...
Continue reading »
September 26, 2014 admin Advanced No Comment
We can generate 3D faces from 2D flat images. Using OpenGL this can be challenging, after all it is not a lot more than a primitive triangle rendering API. The technique we will use in this tutorial is very similar, if not nearly identical, to terrain generation in our previous tutorial....
Continue reading »
September 21, 2014 admin Intermediate
In this tutorial we will render terrains. Essentially a terrain is a complex 3d model. It conists of vertexes, faces, texture coordinates, normal vectors etc. Al though it is possible to load complete models such as Wavefront OBJ models, it is generally better to dynamically generate them. First, we...
Continue reading »
September 20, 2014 admin Intermediate
We have extended the previous tutorial to draw a nice looking maze. We have defined a matrix A of NxM with the elements {0,1}. If an element is {1} a cube will be placed, if an element is {0} nothing will happen. Thus, we define the matrix as:...
Continue reading »
April 23, 2014 admin Easy
In this tutorial we will explain to you how to make a textured cube using OpenGL and SDL. You will need to have the GNU C Compiler (short gcc) installed. Furthermore you of course need OpenGL and SDL installed. If you are on Ubuntu Linux you can use...
Continue reading »
April 23, 2014 admin Easy