Fydar.Vox is a collection of libraries for parsing, meshing and rendering voxel models.
In order to test my library; I made a Blazor application that was capable of rendering voxel art. This allowed me to rapidly iterate on the library and share my progress with others in a portable fashion.
Eventually, I decided to include the voxel art models on my website. You can see them scattered around my project pages, and I even created voxel art versions of the AWS icons for my network programming skills page.
The meshing library is responsible for turning voxel data into a 3d mesh.
The meshing library offers optimizations for creating performant meshes, at either runtime or design time. Below is a mesh with all hidden faces being culled.
Another optimization that the library provides is known as "Greedy Meshing". This is the process of combining faces that are immediately adjacent of eachother into a single face.
For a lot of my voxel artwork, I use MagicaVoxel. I added support to my voxel library for loading the voxel data directly from .vox files.
I implemented the library for reading .vox files as a Unity ScriptedImporter; which allowed me to import .vox files directly into a Unity game.