Viktor PennskogViktor Pennskog
Density Voxel Engine preview

Density Voxel Engine

A Unity voxel engine experiment using density fields, marching cubes, and LODs to create smooth terrain.

Team
2 students
Duration
5 weeks
Scope
Engine + tools
Status
Course project
Overview

This project explores smooth and editable voxel terrain using density-based voxels and marching cubes. It uses chunk and octree structures for streaming and LOD handling.

Role

Engine programmer focused on terrain generation, streaming, and tooling.

Tech
UnityC#Marching CubesLODOctrees
Key contributions
  • Implemented marching cubes terrain extraction with adjustable resolution.
  • Built chunk- and octree-based storage for streaming and LOD transitions.
  • Added editable terrain tools for sculpting and runtime modification.
What I learned
  • Learned a lot about balancing terrain quality against performance, especially when working with LOD thresholds.
  • Compared chunk and octree approaches to better understand memory usage, streaming, and overall system tradeoffs.