uos / lvr2

Las Vegas Reconstruction 2.0
BSD 3-Clause "New" or "Revised" License
100 stars 20 forks source link

H5 conversion tool fixes #20

Closed Cakem1x closed 4 months ago

Cakem1x commented 4 months ago

This PR moves the hdf5 mesh builder tool from experimental to the default tools. The tool can be used to convert e.g. a .ply file to .h5.

In addition, this PR also fixes a crash that occurs when converting an input file without color information.

Cakem1x commented 4 months ago

How to use: $PATH_TO_BINARY_DIR/lvr2_hdf5_mesh_tool --inputFile ~/datasets/rmcl_tray/tray.ply --outputFile ~/datasets/rmcl_tray/tray.h5 As you can see, I used the tray model from rmcl_tray, but converted it to .ply via meshlab. Using the .dae file yields incorrect results. :/