Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output of ReconstructMesh #1142

Open
Harr7y opened this issue May 28, 2024 · 7 comments
Open

Output of ReconstructMesh #1142

Harr7y opened this issue May 28, 2024 · 7 comments

Comments

@Harr7y
Copy link

Harr7y commented May 28, 2024

Why the outputs of ReconstructMesh scene_dense.mvs -p scene_dense.ply are "scene_dense_mesh.mlp", "scene_dense_mesh.ply", "scene_dense_mesh_raw.ply"? I didn't get the "scene_mesh.mvs" for RefineMesh .

cmake -DCMAKE_BUILD_TYPE=Debug ..
The repo is built in a debug mode, otherwise, I will get an error "Assertion failed: (facets.empty() && inter.type == intersection_t::VERTEX && inter.v1 == vi)", cmake -DCMAKE_BUILD_TYPE=Release .. doesn't work.

@Harr7y
Copy link
Author

Harr7y commented May 28, 2024

-- Found CUDA: /usr/local/cuda (found version "12.1")
-- The CUDA compiler identification is NVIDIA 12.1.66
-- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc
-- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc -- works
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- WARNING: BREAKPAD was not found: Please specify BREAKPAD directory using BREAKPAD_ROOT env. variable
-- Can't find BreakPad. Continuing without it.
-- Found Python3: /usr/bin/python3.8 (found version "3.8.10") found components: Interpreter Development
-- Python 3.8 found (include: /usr/include/python3.8)
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found components: iostreams program_options system serialization python38
-- Found Eigen3: /usr/local/include/eigen3 (Required is at least version "3.4")
-- Eigen 3.4.0 found (include: /usr/local/include/eigen3)
-- Found OpenCV: /usr (found version "4.2.0")
-- OpenCV 4.2.0 found (include: /usr/include/opencv4)
-- Using header-only CGAL
-- Targetting Unix Makefiles
-- Using /usr/bin/c++ compiler.
-- Found GMP: /usr/lib/x86_64-linux-gnu/libgmp.so
-- Found MPFR: /usr/lib/x86_64-linux-gnu/libmpfr.so
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.48")
-- Boost include dirs: /usr/include
-- Boost libraries:
-- Using gcc version 4 or later. Adding -frounding-math
-- VCG found (include: /usr/local/include)
-- GLEW 2.1.0 found (include: /usr/include)
-- GLFW3 3.3.2 found (include: )
-- Configuring done
-- Generating done
-- Build files have been written to: /home/harry/LAST/openMVS/make

@cdcseacave
Copy link
Owner

First of all pls build in release mode.
Second you do not need an mvs file from mesh. The mesh and scene-dense.mvs are what you need

@Harr7y
Copy link
Author

Harr7y commented May 29, 2024

Thanks for your reply.

  1. How to build in release mode??
    cmake -DCMAKE_BUILD_TYPE=Release .. doesn't work.
  2. So what should I feed into RefineMesh?
    replace RefineMesh **scene_mesh.mvs** -m scene_dense_mesh.ply -o scene_dense_mesh_refine.mvs with RefineMesh **scene_dense.mvs** -m scene_dense_mesh.ply -o scene_dense_mesh_refine.mvs ? It didn't work.
  3. How can we convert export the PLY projects to MVS or OBJ formats?

@Xiaohei-Luo
Copy link

Thanks for your reply.

  1. How to build in release mode??
    cmake -DCMAKE_BUILD_TYPE=Release .. doesn't work.
  2. So what should I feed into RefineMesh?
    replace RefineMesh **scene_mesh.mvs** -m scene_dense_mesh.ply -o scene_dense_mesh_refine.mvs with RefineMesh **scene_dense.mvs** -m scene_dense_mesh.ply -o scene_dense_mesh_refine.mvs ? It didn't work.
  3. How can we convert export the PLY projects to MVS or OBJ formats?

The second issue, you may refer to #1058.

@Harr7y
Copy link
Author

Harr7y commented May 29, 2024

Thanks for your reply.

  1. How to build in release mode??
    cmake -DCMAKE_BUILD_TYPE=Release .. doesn't work.
  2. So what should I feed into RefineMesh?
    replace RefineMesh **scene_mesh.mvs** -m scene_dense_mesh.ply -o scene_dense_mesh_refine.mvs with RefineMesh **scene_dense.mvs** -m scene_dense_mesh.ply -o scene_dense_mesh_refine.mvs ? It didn't work.
  3. How can we convert export the PLY projects to MVS or OBJ formats?

The second issue, you may refer to #1058.

Thanks for your advice. But I want to refine the mesh because the generated mesh (through ReconstructMesh) is coarse. I want it to be finer.

@cdcseacave
Copy link
Owner

RefineMesh scene_dense.mvs -m scene_dense_mesh.ply

@Harr7y
Copy link
Author

Harr7y commented May 30, 2024

Thanks for your reply.
I have one more question, how to convert the final '.mvs' format (scene_dense_mesh_refine.mvs) into '.ply' format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants