

Although baking is generally done with a texture, MagicaVoxel actually stores the lighting information in each vertex (point) of the model. Baking is a process that saves the lighting information of a model in the mesh itself.

obj doesn’t give good enough results, you might want to go to the next level: baking. Each dot on the texture represents the faces that are “unfolded”, so that the program knows where to apply the texture.īaking your model in MagicaVoxel and export in. Here is the model open in Blender, a 3d editing program. The mesh and the texture work together in this way: each face of the mesh is “unfolded” in a specific place in the texture, and that is how Sketchfab retrieves the color information, and is able to display your model’s colors like you would expect. The model (mesh) exported with this method is not exactly a voxel model: it’s just the “shell” and all the voxels that are inside are not taken into account. All of the settings you might have set in the MagicaVoxel renderer will NOT be exported (lighting, emissive materials, transparency, metal…). This method exports two elements: your model, and a texture containing all of the colors in your palette. There are actually 3 solutions to export your model. The good news is, it doesn’t have to be that complicated. Unfortunately, there is no “one solution” to this. So, you’ve been hearing alot about MagicVoxel exports, formats, baking… it might be confusing to figure out what is the best way to export your model to Sketchfab with minimum hassle: after all, MagicaVoxel alone has nine different export formats, and it’s not always easy to know what does what. However, editing or baking with Blender won’t be covered in detail, you can learn more about it in my previous tutorial, ‘ Creating a 3D Star Wars scene in voxels using MagicaVoxel, Blender and VoxelShop‘. We will also discuss the other methods for exporting your model, like MagicaVoxel baking or baking in a 3d program like Blender, and what to expect with each method.

In this tutorial, we will cover all the techniques to make the most out of your model with just MagicaVoxel, Sketchfab, and a 2d editing program like Krita, Gimp (both are free), or Photoshop. However, when importing it into Sketchfab, it doesn’t look as you expected…įortunately, there are some very easy tricks to improve the render of your model on Sketchfab, and even add effects like lighting and transparency without having to use any other 3d application. So you’ve made a great MagicaVoxel model, and you rendered it in MagicaVoxel’s renderer: it looks amazing! In this tutorial, we’re going to explore the different options for exporting a model from MagicaVoxel to Sketchfab. Hi! My name is Gabriel de Laubier, or Elbriga here on Sketchfab, I currently work as a lead artist with Vida Systems for Google Expeditions, and as a freelance 3d artist and voxel artist.
