Terrain generation engine using voxels