Open3D mesh voxelization (C++ version)

1. Introduction

Point clouds and triangle meshes are very flexible, but they are both irregular types of geometry. Voxel meshes are another type of 3D geometry defined on a regular 3D mesh, and voxels can be thought of as the 3D counterparts of 2D pixels. Open3D naturally provides the voxel geometry type VoxelGrid, which can be used to process voxel grids.

2. Implement the code

#include<iostream>

#define OPEN3D_VISUALIZATION_HEARER
#include

Guess you like

Origin blog.csdn.net/dayuhaitang1/article/details/132948751