The Art of Demomaking - Issue 01 - Prologue by (23 August 1999) |
Return to The Archives |
Introduction
|
Welcome to the first series of The Art Of Demomaking. It will be composed of 8 tutorials, starting with very basic computer graphics, and gradually moving towards higher quality effects. I will also include explanations of other important techniques, even though not directly related to graphics. The articles will be posted weekly on flipCode, and if the column is a success, I'll write another series. |
Demomakers & Demomaking
|
Demomaking originated when crackers wanted to leave their marks on programs they had cracked. At the beginning, this mark usually was a simple screen of ASCII graphics, but they very quickly evolved into impressive effects. Obviously rivalry between different groups appeared, and competitions started to take place. The most talented people from the demo-scene have now broken away from the illegal aspect of software piracy and hacking, but the "Dark Side" still remains. Nowadays legal demo-parties can attract thousands of people, but only a few of which are serious demomakers. The others are mostly curious gamers, that tag along for the good atmosphere and the network games. To give you an idea of what a demo is, go to http://www.cubic.org/gallery/. I strongly recommend downloading Toasted presented at Assembly '96, one of the most prestigious demo-parties in the world. You can also find recent productions, results from the parties, and anything else you need to know about the current demo-scene at http://www.scene.org. As you will quickly realise, demomaking has always been about showing off talent, by programming effects, composing music, creating pictures... I always think demomaking as a combination of the best of two worlds: Science and Art. Putting all this knowledge together in a single good demo takes a lot of skill, part of which I will try to teach you. |
Building Blocks
|
I will assume you have basic knowledge in C++ programming, but any C or Pascal programmers should have no trouble. Basic mathematics would also be a bonus. And let's not forget a bit of patience to read through and understand the provided source code. But most importantly, you need IMAGINATION. What I will try to teach you is only a base on which you can build your own effects. Demomaking is all about originality!! |
Installing DJGPP
|
We will use DJGPP for this series, mainly because anyone can get it for free. It's also a great compiler, extremely easy to use, and most good libraries that we'll make use of support DJGPP. The down side being it is DOS based, but never the less all the principles you will learn are also applicable to any OS. If you don't already have DJGPP installed, point your browsers to http://www.delorie.com/djgpp/ and go to Zip Picker. It doesn't really matter what options you chose, just as long as both C and C++ are selected. You can also just go directly to the "Get DJGPP" section and download the following files:
That's about 7 mb of downloads, but definitely worth it :) To install DJGPP, just extract all the ZIP files to a same directory. Then create a batch file called DJSET.BAT:
That's supposing you installed in C:\PROG\DJGPP of course. Building programs with DJGPP is very easy. Just open up a DOS box and run DJSET.BAT. Then edit TEST.CPP with your favourite editor:
To compile just type:
|
Closing words
|
Next week we'll be getting right into it. I will introduce you to basic computer graphics, then we will program a simple starfield effect. So make sure you have DJGPP up and running by then. Hope you can join me next week, Alex |