cdcseacave / openMVS

open Multi-View Stereo reconstruction library
http://cdcseacave.github.io
GNU Affero General Public License v3.0
3.28k stars 901 forks source link

Texturing seemed to have failed #568

Open zdq1114 opened 4 years ago

zdq1114 commented 4 years ago

Hi, recently I'm learning how to use openmvg and openmvs. I've tried with the images of Sceaux Castle and it worked well. However, when I tried with my own images it seemed to work fine, but when I opened the texture.ply file in Meshlab the model was all white and no other color was on it. I've searched many solutions to it but didn't work. Hope you can give me some suggestions. Thanks a lot.

cdcseacave commented 4 years ago

I suggest to check every single stage and make sure you get the expected results for each

zdq1114 commented 4 years ago

I suggest to check every single stage and make sure you get the expected results for each

Thanks for replying me in your spare time and I'm also sorry to bother you. I checked every steps and examined the output mvs files with the Viewer tool. The scene_dense.mvs file which is outputed by DensifyPointCloud tool is fine and with color on it. Then the mesh file and refined mesh file are out of the question (in my opinion) because they are successfully displayed on my screen and I can see the difference between the two mesh file. The only question is that the texture file is displayed all white (not like the two mesh.mvs files, it is just white) which confused me. I'm quite new to openmvs and I just followed the steps others posted. These are the steps that I use: ./DensifyPointCloud scene.mvs ./ReconstructMesh -d 4 scene_dense.mvs ./RefineMesh --resolution-level=4 scene_dense_mesh.mvs ./TextureMesh scene_dense_mesh_refine.mvs So is there some possibility that I miss some steps? By the way, I'm using Ubuntu16.04 os on virtual machine. Thanks a lot again.

cdcseacave commented 4 years ago

All looks good, so it might just be a problem with your graphic card, having trouble displaying textured mesh. Try some textured meshes from the internet. And try other PC as well.

wwmlhy commented 2 years ago

Hi, I also encountered this problem, did you solve this problem?