What’s something very hard that programmers make look easy? x

· Medium ·

2 min read Original article ↗

Tom Smykowski

I’ve published this article thanks to my subscribers. Become one to see more quality articles.

Making a 3D game

Lets look back a while shall we?

1981

A first 3D game called Tempest is published. Please notice that developers of this game found a way to calculate points and lines in 3D and found where to display 3D objects on a 2D screen:

After a while developers found a way to display walls and fake flat characters. This screen comes from a Wofenstein game:

After a bad flat guy a new era of game characters was started with 3D modelling. I could not mention here Lara Croft from Tomb Raider. She was a beauty:

And at that time some new technologies was developed. MMX kicked in. It was a set of instructions to do more precise and fast operations on a CPU.

Accelerated graphics cards and OpenGL enabled a new era of operating on 3D objects with direct instructions.

So the real fun began. But obstacles were found. Mainly for years to come problems were two: too little memory and too low processing power.

How to workaround too little RAM problem? Let’s load pixel graphics if player is far away and call it mip mapping:

Press enter or click to view image in full size

But it is not yet good. Everything looks flat… lets make a map of bumps and apply it to object to immitate bumps and light…

Textures got broken when we rotate it. We need to develop a perspective correction:

wers

To continue reading this article go to my blog: read the full article on my blog