What Can Super Mario Teach Us About Graphics Technology?

what-can-super-mario-teach-us-about-graphics-technology photo 1

If you ever played Super Mario Brothers or Mario Galaxy, you probably thought it was only a fun videogame—but fun can be serious.  Super Mario has lessons to teach you might not expect about graphics and the concepts behind them.

The basics of image technology (and then some) can all be explained with a little help from everybody’s favorite little plumber. So read on to see what we can learn from Mario about pixels, polygons, computers and math, as well as dispelling a common misconception about those blocky old graphics we remember from when me first met Mario.

Resolution, Sprites, Bitmaps and Super Mario Brothers

what-can-super-mario-teach-us-about-graphics-technology photo 2

Videogames are rendered on televisions and monitors in single pieces of image information called pixels, short for picture elements. These base units used to make up the only kind of artwork that videogames could have, in the days of older, more basic videogames and consoles. These are sometimes called sprites, which in context of video games, is another name for bitmap image. Bitmap is the simplest term for an image file—you might glean from the name it is a simple map of the bits that make up the image.

When you think of classic Super Mario Brothers-era Mario, you think of the big clunky pixels those sprites were drawn with. As it turns out, the original Nintendo Entertainment System only had an effective resolution of 256 x 224 pixels, with only a total of 256 x 240 even possible.

what-can-super-mario-teach-us-about-graphics-technology photo 3

Compared to modern game consoles, the NES is pitifully low resolution. Resolution can be defined as the total number of pixels available for display. This can apply to any type of graphic, whether it’s Mario, a bitmap of a logo, or a digital photograph. More pixels is always more opportunity to create a better image.

Even the Wii console, which is only capable of Standard Definition of 480p, displays 640 x 480 pixels, even on high definition televisions capable of much more. However, the difference is pretty clear—Mario is considerably more high resolution than he used to be.

Sprites vs Polygons, or Pixels vs Vectors

what-can-super-mario-teach-us-about-graphics-technology photo 4

Many modern videogames have abandoned the aesthetic of older games, following a more recent trend in graphics. These games create their characters with vector shapes called polygons, which you may (or may not) remember from geometry. Polygons can be defined as “any shape that can be created from a limited number of points and line segments.”

Bitmaps, or sprites, are made from files that are a literal mapping of colors laid out on a grid, hence creating the blocky texture we’re used to seeing on classic Mario. Newer Mario, sculpted in a three dimensional space with polygons, is less limited than older Mario. He “exists” in a sort of “world” made out of math, graphed out by increasingly speedy computers the same way you might draw a polygon when blocking out an algebraic graph on a whiteboard.

These basic polygons, line segments, and points are called primitives, and they are the base units of this mathematical world the same way that pixels are the base units of bitmaps. However, unlike bitmaps, they don’t have resolution. Think of how the camera zooms in on Mario in the newer games, and how he never seems to revert to any blocky, clunky pixel version of himself. Basically, you can move a polygonal Mario any way you want, and he’ll stay clean, crisp and high resolution.

Image Rasterization, or How Donkey Kong Came to The Super Nintendo

what-can-super-mario-teach-us-about-graphics-technology photo 5

If you’ve played any of the recent Mario Kart Games, you are probably familiar with Mario’s old nemesis Donkey Kong. Donkey Kong starred in a series of Mario-style run and jump action games in the mid-nineties called Donkey Kong Country, which boasted computer-rendered, polygonal-style graphics on a system that wasn’t truly capable of it—the Super Nintendo. What miracle had been pulled off to make this work?

what-can-super-mario-teach-us-about-graphics-technology photo 6

As it turns out, Nintendo and partner RARE sort of pulled a fast one on their audience. Donkey Kong Country, its sequels, and many other games from RARE used a process called rasterization to turn polygonal graphics into two dimensional, pixel-based representations.  This created the illusion of advanced, computer-rendered graphics in an age when they were considered high-tech, beautiful and exotic.

Rasterization can be thought of as taking a digital photograph of a polygonal graphic—lining up the 3D, non-pixel based graphics to a grid and rendering it in pixels. The word raster itself is often used as a synonym for “bitmap.” There was really nothing “3-D” about the “3D Adventure in the Kingdom of Kong,” but rather humble pixel sprites made from the best computer generated graphics of the day. (At least, according to Nintendo.)

8-Bit Images vs 8-Bit Processors

what-can-super-mario-teach-us-about-graphics-technology photo 7

One of the most frequent misconceptions is that the NES graphics were 8-Bit graphics and SNES and SEGA systems were 16-Bit. While those numbers were closely associated with those systems, they were not accurate in describing the images on screen. The NES actually had 6 Bit graphics, while the Super Nintendo had 15 bit color, but was limited to only 8 bit graphics on screen at any one time. Confused? Let’s take a quick look at what those 8 and 16-bits really meant.

what-can-super-mario-teach-us-about-graphics-technology photo 8

A Bit is the smallest bit of information a computer processes, and an 8-bit processor has a capability to process an octet (8 bits) in a single cycle. The Nintendo Entertainment System had such an 8-bit processor, as the SNES and Sega Genesis had processors capable of 16 bits per cycle. Modern processors in most computers have an architecture that allows for 32 or 64 bits per cycle, which occur in billions of cycles per second.

what-can-super-mario-teach-us-about-graphics-technology photo 9what-can-super-mario-teach-us-about-graphics-technology photo 10what-can-super-mario-teach-us-about-graphics-technology photo 11

But when you’re talking about images, 8-bit means something entirely different. An 8-Bit image has 28 colors available, or a total of 256 colors. A garden variety JPG will be 24 bit, consisting of three channels for Red, Green, and Blue with 28 colors in each channel. So the NES actually had 26 colors available, while the SNES had 215 but could only display 28. When you look at the images of Mario above, the first two are the only ones that are actually 8-bit representations, the first rendered in 256 shades of gray, with the second rendered with GIF style diffusion in 256 shades of color. The third is a 24 bit JPG, with a total of 224 colors. So the next time somebody talks about “8 Bit graphics” you can proudly correct them, and tell them you learned it with a little help from Super Mario!


Have questions or comments concerning Graphics, Photos, Filetypes, or Photoshop? Send your questions to [email protected], and they may be featured in a future How-To Geek Graphics article.

All images of Mario copyright Nintendo, assumed fair use. Minecraft Mario by Swarmer2010.

More stories

Watson Ties Against Human Jeopardy Opponents

In January we showed you a video of Waton in a practice round against Jeopardy champions Ken Jennings and Brad Rutter. Last night they squared off in a real round of Jeopardy with Watson in a tie with Rutter.

SnapBird Supercharges Your Twitter Searches

Twitter’s default search tool is a bit anemic. If you want to supercharge your Twitter search, fire up web-based search tool SnapBird and dig into your past tweets as well as those of friends and followers.

Desktop Fun: Springtime Personas Themes for Firefox

With weeks of winter weather left to go, it can be a bit depressing to look outside and see nothing but bland, lifeless scenery. To help bridge the time gap until you can open the windows, enjoy the warmth of the sun, and feel the spring breeze upon your face we present our Springtime Personas

How to Get MacBook-Style Finger Gestures on Ubuntu Linux

Apple users have been swiping, pinching, and rotating Mac’s user interfaces to their fingers’ content. In today’s article, we’ll show you how to do groovy things like expanding and reducing windows, and changing desktops using finger gestures.

KeyCounter Tracks Your Keystrokes and Mouse Clicks

If you’ve ever had a burning need to know just how many times you strike the keyboard and click your mouse every day, KeyCounter–a tiny portable app–can help satisfying your geeky statistical needs.

The Best and Worst Ways to Send a Resume

With so many people looking for jobs, the slightest edge in your resume presentation has potential to make or break your chances. But not all filetypes or methods are created equal—read on to see the potential pitfalls your resume faces.

How to Configure the Linux Grub2 Boot Menu the Easy Way

We, like many Linux geeks, have had some trouble making the transition to Grub2, or for some of us, learning how to configure it from scratch. Fortunately, a new graphical tool has made this process easy and straightforward!