Support me!
If you enjoy these webpages and you want to show your gratitude, feel free to support me in anyway!
Like Me On Facebook! Megabyte Softworks Facebook
Like Me On Facebook! Megabyte Softworks Patreon
Donate $1
Donate $2
Donate $5
Donate $10
Donate Custom Amount
OpenGL4 Tutorial 19 about loading models using Assimp added!

Hello guys! . So after 6 long weeks, I come with another tutorial! And finally I have implemented reading models using Assimp library. Check it out here:

019.) Assimp Model Loading

It took me a while to finish it, but the problem was adding Assimp to all of this was a bit more difficult then I have expected. At the moment, I haven't done CMake version yet, only this VS2017 version and it seems to work, I'm just not very happy with the way I have solved it, but at least it works (on my machine at least ). One simply has to download prerequisities after cloning repository by launching the added script download_prerequisities.bat (it updates submodules and also downloads pre-built Assimp libraries, as they're quite huge to reside in repository). Soon I will also add CMake version and maybe later I will make a better solution for this VS2017.

Anyway I didn't want to prolong this forever, so enjoy the current version for now at least .

Article to OpenGL4 tutorial 018 has been finally added!

Hello guys! It's been a while since any update and it's because I've been super busy in the summer - there was just lots of events happening that I have attended lately (family visits and 3 weddings) and every weekend I've been travelling to somewhere else, so I wasn't stabilized in order to write an article. But finally, I did it during this weekend and you can find it here :

018.) Heightmap Pt. 3 - Multiple Layers

As mentioned before, my next tutorial will finally be about loading 3D models from files, so stay tuned!

Tutorial 018 about multilayered heightmap has been added!

Another week went by and again I bring something new! This time, it's the last tutorial about heightmaps for a while and it teaches you how to use multiple layers within a heightmap and how to transition smoothly between them! Check it out here:

018.) Heightmap Pt. 3 - Multiple Layers

The article will be written a bit later as usual . My next tutorial will finally be about loading 3D models from files, so stay tuned! I hope I finish article next weekend and then within two weeks new tutorial .

All the best for the upcoming week fellow readers !

CMake support for Windows has been added!

Finally I've finished CMake support for my tutorials, but only on Windows for now. It took me a while, as I had several problems with FreeType especially, but after lots of googling and trying, I just made it my way for now and it works in the end, so that's cool .

Linux support is going to be added soon. I know that on Linux things work much more different than on Windows, but from my work I know how to use CMake on Linux properly, I just need some more time for that and a native Linux computer, where I can test the compiled code, if it works properly.

18th tutorial is on its way and will come next weekend !

Article to 17th tutorial about heightmaps and skybox has been added!

As promised, I'm bringing you yet another article to my latest tutorial! Check it out right here!

017.) Heightmap Pt.2 - From Image and Skybox

I wanted to finish it during the weekend, but it's just so hot in Slovakia (and everywhere), that it's really difficult to sit by computer . But finally I've done it, so I hope it will serve you well .

Tutorial 017 about heightmaps from image and skybox has been added!

After 3 weeks, I come with a new tutorial! This time, it's about extending skybox class with loading a terrain from image and surrounding our scene with a skybox! Check it out here in this link:

017.) Heightmap Pt.2 - From Image and Skybox

As usually, I will come with article a bit later, I suppose next weekend . Besides, I have started to work on CMake support for my tutorials! It's done to some extent in a separate branch called cmake-support, in case you would be interested. I should finish it in relatively close time, just had some problem with FreeType.

I wish you a nice and successful week !

Article to 16th tutorial about Heightmap is finally up!

Took me a while, but I've finally written the article for the Heightmap tutorial! Check it out right here:

016.) Heightmap Pt.1 - Random Terrain

It took me a while to write it, but the reason is, that I've been on a vacation with my wife in Dominican Republic for 2 weeks and during that time, I was not working of course . But now the article is there for you to read, I hope you'll enjoy .

OpenGL4 Tutorial 016 about Heightmap added!

After a bit longer time, I'm back with a new tutorial! This time it's heightmap - what is it, how to implement it and how can one generate a random terrain using it! you can check it out here:

016.) Heightmap Pt.1 - Random Terrain

Last weeks I've been just travelling a lot, every weekend some place else, so I just couldn't find a continuous time to finish the tutorial. Article will be added as soon as possible - I hope I will do it during next weekend .

Article to Tutorial 015 about Geometry Shaders is up!

Finally, I've made it! I have added article to the 15th tutorial about geometry shaders after 2 weeks! Sorry for the delay, it's just typical that before Easter holidays life is usually a bit busier than otherwise. Check it out here:

015.) Geometry Shaders

I hope you will enjoy it .

Tutorial 015 about Geometry Shaders is up!

Another week has passed and another tutorial has been added! This time it's about geometry shaders and how can we use them to render normals of our geometry. Check it out right now here!

015.) Geometry Shaders

As usual, article will be written a bit later, I suppose next weekend. Stay tuned!

Article to Tutorial 014 Normals and Diffuse Lighting has been added!

Finally I have written article to the 14th tutorial of my OpenGL4 series about normals and diffuse lighting:

014.) Normals and Diffuse Lighting

Took me a while to write this one for two reasons - one is that I've been travelling a lot around Slovakia lately (because of presidential elections) and also the article itself is pretty long . Enjoy!

OpenGL4 Tutorial 014 about Normals and Diffuse Lighting is up!

Today I have added yet another tutorial of my OpenGL4 series. It's been added in a relatively quick succession, just 5 days after previous . You can find it here:

014.) Normals and Diffuse Lighting

However, article will be written a bit later, it's going to be a bit longer. Until then, you can play around with this tutorial, there are pretty many controls you can play around with and see the different settings having different effects!

OpenGL4 Tutorial 013 about Blending has been added!

Hello! I have finished OpenGL4 tutorial about basics of blending. You can check it out here:

013.) Blending Pt.1

This time I bring a new tutorial along with article at once! This one is not so long to read through and also for me it was a bit easier to write code for (unlike fonts ). Enjoy and stay tuned!

Article to 12th tutorial has been added!

Hello guys! The article about FreeType fonts has finally been written and is online! You can check it out here:

012.) FreeType Fonts Pt. 1

I hope you will enjoy the reading . I'm already working on 13th tutorial, but I will keep its contents a surprise . So stay tuned!

OpenGL4 Tutorial 012 about rendering fonts added!

Hello guys! I am bringing you yet another tutorial, this one is about rendering fonts! Finally, we don't have to set window title to provide some information to the user . You can check it out here:

012.) FreeType Fonts Pt. 1

This one took me a bit longer to create, because it was not an easy thing to do. Although I have created FreeType tutorial in the past, some things have also changed and today, I wanted to make sure, that I am programming it the right way and as optimal as possible .

Article will be added I suppose next week or week after .

Article to 11th tutorial - Indexed Rendering Torus online

I have finally written an article to the indexed rendering of torus. This has been one of the longest articles I have ever written, so take your time reading it .

011.) Indexed Rendering Torus

Tutorial 011 about indexed rendering is up!

Hello guys! I have written another tutorial, this time it is about indexed rendering. The object, that is rendered using indexed rendering is torus. Check it out below:

011.) Indexed Rendering Torus

As usual, you can pull the latest GitHub tutorial repository changes to access it or directly download the prebuilt version. Article will be written during next week I suppose .

Article to tutorial 010 added!

Finally! I have found some time and I have written an article to the 10th OpenGL4 tutorial, which is about refactoring. Check it out below:

010.) First Great Refactoring

Took me a bit longer to write, but it's new year and it took me a while to really boot up to 100% capacity . Next tutorial is in progress and will be about indexed rendering. We will use that to render cylinder .

Happy New Year & OpenGL4 Tutorial 010 added!

First of all, I would like to wish you happy new year, may it be full of success, joy and happiness !

I have just added another OpenGL tutorial . You can check it out here:

010.) First Great Refactoring

This one does not bring a new scene, but it definitely improved the quality of the code and introduces more systematic approach to maintain larger scenes in future tutorials. Article will be written in the coming days for sure .

Article to Orthographic 2D Projection tutorial is up!

I have written the article to my latest tutorial, check it out:

009.) Orthographic 2D Projection

This one is not too long, ideal for reading by the hearth during long winter nights . Enjoy!