Home »
Archive by category "Easy"
The reflection effect is very easy to create in OpenGL, but at the same time it is a very cool effect. Creating reflection in OpenGL can be done simply by drawing the exact same scene twice, once in the positive and once in the negative direction. We can...
Continue reading »
September 24, 2014 admin Easy
Using the code given in the last tutorial, it is easy to create a cube font. We have altered the code to display letters, but used the same principle. Again, we have defined a matrix A of MxN but this time we have increased its with to fit...
Continue reading »
April 23, 2014 admin Easy
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