Dust DevilRavosity

Making a world that looks like it's made of clay

One of the things I wanted to accomplish with Dust Devil was to give the entire world a very particular look and feel. I didn't want everything to be perfectly round, perfectly smooth or necessarily even perfectly proportioned.

Think about something made out of clay. Part of what makes it interesting is that it isn't perfect. You can see where somebody pinched it, where they pressed two pieces together or where they inadvertently left a fingerprint.

Can we replicate those characteristics in a game without actually working with clay? Absolutely.

That's what we've done with Dust Devil.

Sculpting things without ever touching them

Every object in Dust Devil is built from relatively simple digital shapes. We don't import finished 3D models into the game.

Instead, we create those objects in code by taking basic shapes, manipulating their proportions and combining them to create something recognizable.

Think about how you'd make a cow out of clay. You'd probably start with a relatively large piece for the body and smaller pieces for the head, legs and everything else that makes a cow look like a cow.

We're doing essentially the same thing, except we're doing it programmatically.

The advantage is that we can manipulate those shapes to achieve the particular look we're after without ever having a physical object in front of us.

Introducing imperfections on purpose

One of the things computers are particularly good at is creating mathematically perfect shapes.

That's actually a bit of a problem when you're trying to make something look like it was made out of clay.

We have a piece of code we call "lumpify." Its purpose is to take those otherwise perfect shapes and introduce little imperfections into them.

A sphere is no longer a perfect sphere. It has little dents and irregularities that give it the appearance of having been pinched and manipulated.

In this particular case, making something technically less perfect makes it considerably better from an artistic standpoint.

Fingerprints without fingers

Take a close look at some of the surfaces in Dust Devil and you'll notice little details that you might not consciously pick up on while playing.

There are partial fingerprints, smudges and marks that look like somebody dragged a sculpting tool across the surface.

Did somebody actually leave those fingerprints on a piece of clay? Nope.

They're generated in code. We use those textures to manipulate the way light interacts with the surfaces of objects, giving them the appearance of having been physically worked on.

It's a relatively subtle thing, but when you start combining those little details with the irregularities in the shapes themselves, the result looks considerably different from a perfectly smooth digital object.

Making things move like clay

Getting the objects to look like clay is only part of the equation. How those objects move is every bit as important.

Traditional stop-motion animation involves physically moving an object, photographing it, moving it again and repeating that process over and over.

There's a technique called animating "on twos." In a sequence running at 24 frames per second, each pose is held for two frames, giving you 12 distinct poses per second.

We've incorporated that same concept into Dust Devil. The world poses at 12 frames per second to give it that recognizable stop-motion quality.

We even do something similar with facial expressions, swapping digital facial elements much like a traditional stop-motion production might swap out physical replacement heads.

Our television news anchor gets the same treatment.

Because, apparently, somebody needs to report on all those cows falling out of the sky.

Lighting makes a considerable difference

You can spend all the time in the world getting the shape and texture of an object right, but if the lighting doesn't complement what you're trying to accomplish, a lot of that work is lost.

We use warm lighting, soft shadows, light reflected from the surroundings and lighting around the edges of objects to bring out their shapes.

As your storm grows, some of that lighting becomes cooler. Your funnel also has a subtle cream-colored sheen around its edges.

We're not relying on heavy cartoon outlines to define everything. We're using light to help give those objects a sense of depth.

Giving a tornado some personality

How exactly should a tornado made to look like clay move?

Well, there isn't much in nature we can reference for that particular question.

The individual coils that make up your funnel move using simulated springs. They swing and settle as you move, giving your storm a little flexibility rather than having it look like one rigid object.

Add to that the changing facial expressions, the mouth you develop at F2 and the eyebrows at F3, and you've got something that starts to take on a personality of its own.

Is it actually clay?

Nope. Not a single piece of it.

What you're seeing is an artistic vision realized through code. The shapes, fingerprints, textures, lighting and animation are all digital.

The technology gives us the ability to create an interactive world with characteristics that we associate with something physically made out of clay.

And the really fun part is that rather than simply watching that world play out in front of you, you get to interact with it, explore it and, well, pretty much destroy it.

Go take a closer look at what we've created. Play in your browser or get Dust Devil on Google Play.

Play in your browserGet it on Google Play