mihaibujanca / dynamicfusion

Implementation of Newcombe et al. CVPR 2015 DynamicFusion paper
BSD 3-Clause "New" or "Revised" License
391 stars 105 forks source link

How to save the result model? #71

Open LordLiang opened 5 years ago

LordLiang commented 5 years ago

Hello, @mihaibujanca Thank you for your great work! Now I already run the umbrella demo successfully and I want to save the restructed model into a file (.obj or .ply) instead of frames. Maybe does the code not include such part for saving?

mihaibujanca commented 5 years ago

Not implemented yet, but you can look into marching cubes for saving the models, there are quite a few open source implementations, including one from the NVIDIA cuda samples. You'll need to adapt it to work with tesfVolume.

Alternatively just save the pointcloud using kfusion::cuda::TsdfVolume::fetchCloud, and triangulate it afterwards (e.g with something like poisson surface reconstruction in Meshlab)

Hope this helps