MagicaVoxel 3D Art Tutorial

Learn how to create 3D voxel art for your games using MagicaVoxel! By Chris Language.

Leave a rating/review
Save for later
Share

Since the dawn of time, humans have embraced their inner creativity. From the primitive cave paintings of ancient hominids, to the majesty and grace of such masterpieces as Leonardo da Vinci’s “Mona Lisa”, art has constantly evolved with time. You stand at the dawn of a new era, where the modern programmer will gift the world with programmer art! Grog and Leonardo would have been proud. :]

Prototyping apps, especially games, requires graphics — lots of graphics. Proper graphics take a very long time to create, and time is something most coders just don’t have. Programmer art is a nice compromise; you create a rough concept of the required art and use it as a placeholder until you can get around to making (or paying for) some decent game art.

Getting Started

Voxel graphics are a super easy and extremely fast way to create 3D content, and have become extremely popular for this reason. Out of the many tools available, MagicaVoxel is one of the best. Why? Because it’s free! Oh, and it’s pretty darn awesome too. :]

Note: Grab yourself a copy of MagicaVoxel at https://ephtracy.github.io and install it before you continue. It’s only a single download and runs on both macOS and Windows. Be sure to thank @ephtracy on Twitter for such an amazing free product.

Once installed, you’ll be greeted by a very interesting and unique UI. This is clearly a program created by a programmer, for programmers. Fear not, there is definitely some method to this madness; once you get the hang of it, you’ll fall in love with it.

You’ll notice that the UI is divided into expandable columns. Here’s what you’ll see from left to right:

Rotate by holding the right-mouse button down while dragging, Zoom by rolling the mouse wheel up or down, and perform the selected Action by clicking the left-mouse button on the scene.

Set the Name of your voxel creation at the top of the editor. You can also set the Dimensions of your voxel creation; this model has the dimensions 20 21 20 noted at the top-right side of the editor.

  • Color Palette: The left-most column is your color palette. Here you can pick and choose from a whole spectrum of colors. You can even pick your very own custom color right at the bottom.
  • Brush: This is the second column, right next to the Color Palette. Here you can pick your brush mode. You can choose from modes like V (Voxel), F (Face), B (Box), L (Line), C (Center) and P (Pattern). You can also choose an action to Attach, Erase, Paint or Move voxels using the current brush.
  • View Options: You can find this section just below the Brush section in the same column. Here you can quickly toggle various display options like DG (Display Ground), SW (Display Shadow), BG (Display Background), Grid (Display Grid), Edge (Display Edges) and Frame (Display Frame).
  • Editor: This middle section is where you’ll edit all your voxel creations. You can navigate through this area with your mouse.
  • Edit Options: The second last column on the right contains a set of common, useful operations that you might want to perform on your voxel creation. Zero empties the model, Fill fills the model with same color, Full sets the model to full volume. There are also operations to Rotate, Flip and Loop your model around an axis.
  • File Options: The very last column is where you can Load, Save, Save As, Duplicate and even Delete voxel models and patterns.
  • Export Options: You’ll find this section right at the bottom of the right-most column. These are all the available export options MagicaVoxel has to offer.
Note: Feel free to play around a bit first. Don’t be afraid, you won’t break anything. Review the above sections again in more detail to get a good feel for the entire UI before you continue with the next section. There is also an excellent video tutorial on their site.

Creating a Voxel Model

Time to get those clean hands dirty and build something spectacular: a handsome little Mr. Pig!

In this section you will follow precise instructions to build your own Mr. Pig. The process is quite similar to how you’d dissect a poor little frog in Biology class — only in reverse. :]

Note: The following workflow covers most of the basic techniques used to build voxel models using MagicaVoxel. Follow the steps carefully, and take particular notice of how you configure the brush in each step.

Creating a New Model

Start off by creating a blank slate for yourself.

Select New under File Options to create a new model. Set the voxel model dimensions to 9 9 9, then click Zero under the Editor Options to clear out the entire model.

Name the model MrPig at the top of the editor and press Enter when you’re done. Select Save when prompted:

Note: Your model will also now be available on the right-hand side, under the File Options.

Creating the Base

You’ll start by creating the base of Mr. Pig’s body.

Select a nice light piggy-pink color from the color palette on the left.

Set the brush by pressing B to go into Box Mode, then press T to select Attach.

Hover to position (x: 1, y: 7, z: -1). Left-click and hold the mouse button while dragging to (x: 7, y: 7, z: -1). Release once you’re there to create a one voxel-high base.

Extruding the Base

Change the brush by pressing F to go into Face Mode, and make sure Attach is still selected.

Left-click the top face of the base layer to extrude it one voxel upwards. Repeat this until the base box is 6 voxels high:

You can toggle Grid in View Options to help see the dimensions more clearly.

Creating the Head

Now to create the section that houses the most important part of Mr. Pig — his brains! It’s also important to point out that the accuracy of a voxel pig’s anatomy is never to be questioned. :]

Change the brush back to Box Mode by pressing B, again making sure that Attach is selected.

Start off at position (x: 2, y: 6, z: 5). Left-click and drag to (x: 6, y: 4, z: 5):