zaterdag 31 december 2011

Opengl GUI, in C++

It seems that my test/welcome article has been successfully posted, not that anything could go wrong with a blogging service, especially not when owned and maintained by google :).

So today i will be posting my first, real, article. Its about a project i abandon a year ago, although i kinda stopped putting a lot of time into it even a year before that.

How could this be?
The answer to that question is rather easy to answer if you have ever taken a look at the code, its horrifying.
A year after abandoning the project i have decided to take a look again at the code, just for fun.
But suddenly i remembered why i quit.

I started coding random things, i had just finished reading "Aan de slag met C++" wich is a dutch book for learning the programming language C++, i had already bought myself a book about learning Opengl.

I have learned a lot by making this GUI, which basically involves 1 basic class which contains coordinates, size and other classes which inherit from it since coordinates and such can be reused.
As i have already said, i have learned a lot of it, but also put many hours into debugging it.
But as a beginner, you make beginner mistakes and since programming isnt exactly shallow curved, you keep making them for a long time.

The GUI was the only thing i have finished in that period of my life, other stuff i will post later this week.

This is the only watchable material i have of the GUI, on request i might undust the program and upload some more pics of it if people actually care :-).

#edit: the source code can be found here:
(please do not try to learn from it :P)


Ive decided to start blogging since it seems to be the hot topic these days.
This blog will mostly be about coding projects, some legit (game) hacking, research and personal stuff.

I am not as motivated about coding as i used to be, spending hours of debugging and such, i hope that this blog will give me the motivation boost i need to get stuff done, might even make a few youtube vids just to put em up here and to share it with the rest of y'all.

I hope that you, the visistor, will enjoy your stay here ;).