Search code examples
polygonmeshvoxelopenvdb

Performance of converting polygons to voxels and vice versa


What is the performance of transforming between geometry primitives of polygons and voxels by VoxelizePolygons?

Is there any benchmark tests on it? I'm trying to estimate if it is a critical overhead for an application handling polygon meshes of around several hundred mega bytes in average size.


Solution

  • My research shows:

    • Using OpenVDB for voxel/mesh conversion has a time (processor) and space (memory) overhead
    • If done with Metal API (GPU) it can be done much faster with less memory consumption
    • Overhead of voxel/polygon conversion is annoying enough for some developers to switch to a custom voxel engine which uses Apple’s Metal API