Added rendering mode to voxelmodel