mkazhdan / PoissonRecon

Poisson Surface Reconstruction
MIT License
1.59k stars 431 forks source link

how can i get grid #223

Open flametyt opened 2 years ago

flametyt commented 2 years ago

Hi Professor, Thank you for sharing the code, but I have some problems after reading it. (1)How can i get the grid?[--grid ] Can you give me an example? (2)I am doing a ground reconstruction work, which requires Poisson reconstruction of the ground point cloud in the specified area. How can I control the output triangle mesh generated by the program? For example, the size and extent of the output triangle mesh.

mkazhdan commented 2 years ago
  1. To get the grid you simply add the "--grid" parameter with the name of the file to which the voxel grid will be written. For example, you can extract the voxel grid for the horse by running "PoissonRecon --in horse.npts --out horse.ply --grid horse.grid"
  2. The size of the triangle mesh is controlled by the --depth parameter. By default, the extent is 1.1 times the size of the bounding box of the point-cloud. Though you can control that via the --scale parameter.