Skip to content

How to remove faces with no texture in TextureMesh #352

@XudongYong

Description

@XudongYong

Specifications like the version of the project, operating system, and hardware

openMVS master, Ubuntu 16.04 with 16G RAM

Steps to reproduce the problem

Hi @cdcseacave ,
Thanks for your great contribution! Currently, I'm trying to modify the normal pipeline (SparsePointCloud -> DensifyPointCloud -> Mesh -> Texture) without using the DensifyPointCloud step. Now, I can get a reasonable 3D model except one thing. From below snapshot, we can see there are several faces with no texture but just predefined yellow color and these faces are introduced owing to mesh with sparse point cloud.
To keep the effect, I want to remove these faces with no texture. I look deep into the source code and find the part named "create texture patches" in function FaceViewSelection() of SceneTexture.cpp, and I think maybe I can remove faces in the last element of texturePatches, but I don't know how to establish the relationship between "scene.mesh.faces" and "texturePatches.Last().faces".
For the problem "how to remove faces with no texutre", could you give me any suggestions?
snapshot00

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions