Meshroom icon indicating copy to clipboard operation
Meshroom copied to clipboard

Retopologized mesh fails to load into meshroom (zero points, triangle, normals in log)[bug]

Open straycat0000 opened this issue 2 years ago • 2 comments

Describe the bug Mesh imported into meshroom from blender fails to load.

To Reproduce Steps to reproduce the behavior:

  1. Created a mesh from photogrammetry.
  2. Exported to blender.
  3. Retopologized in blender and changed UV layout.
  4. Exported to meshroom by pasting the name of the mesh into the texturing node and disconnecting the texturing node from meshfiltering. The goal is to project the texture data on the new UV layout.
  5. "unable to load" when pressing compute on texturing node.

Expected behavior Mesh should load

Screenshots If applicable, add screenshots to help explain your problem.

Log If applicable, copy paste the relevant log output (please embed the text in a markdown code tag "```" )

`Program called with the following parameters:

  • angleHardThreshold = 90
  • bestScoreThreshold = 0.1
  • correctEV = 0
  • downscale = Unknown Type "unsigned int"
  • fillHoles = 0
  • flipNormals = 0
  • forceVisibleByAllVertices = 0
  • imagesFolder = "c:/meshroom_files/test1/MeshroomCache/PrepareDenseScene/cce8b0c6185ef40b9abc8eaf6e08515eeaa978c9"
  • input = "c:/meshroom_files/test1/MeshroomCache/Meshing/42772c28f16aba399813eb1139629435d999c8fb/densePointCloud.abc"
  • inputMesh = "C:/meshroom_files/test1/MeshroomCache/Texturing/c7315f71/test1_retopologized.obj"
  • multiBandDownscale = Unknown Type "unsigned int"
  • multiBandNbContrib = Unknown Type "class std::vector<int,class std::allocator >"
  • output = "c:/meshroom_files/test1/MeshroomCache/Texturing/3745923c065f47ed2d97773d6faad7d855de6721"
  • outputTextureFileType = "png"
  • padding = Unknown Type "unsigned int"
  • processColorspace = "sRGB"
  • subdivisionTargetRatio = 0.8
  • textureSide = Unknown Type "unsigned int"
  • unwrapMethod = "Basic"
  • useScore = 1
  • useUDIM = 1
  • verboseLevel = "info"
  • visibilityRemappingMethod = "PullPush"

[12:49:35.130134][info] Load dense point cloud. [12:49:35.226877][warning] Alembic LOAD: NO OBSERVATIONS_WITH_FEATURES: , mvg_visibilityFeatId: 0, mvg_visibilityFeatPos: 0, OBSERVATIONS_WITH_FEATURES flag: false [12:49:35.637804][info] Found 1 image dimension(s): [12:49:35.637804][info] - [4080x3072] [12:49:35.701635][info] Overall maximum dimension: [4080x3072] [12:49:35.701635][info] Load input mesh. [12:49:35.701635][info] Loading mesh from obj file: C:/meshroom_files/test1/MeshroomCache/Texturing/c7315f71/test1_retopologized.obj [12:49:35.701635][info] - # vertices: 0 - # normals: 0 - # uv coordinates: 0 - # triangles: 0 [12:49:35.701635][info] Mesh loaded: - #points: 0 - # triangles: 0 [12:49:35.780395][fatal] Unable to load: C:/meshroom_files/test1/MeshroomCache/Texturing/c7315f71/test1_retopologized.obj `

Desktop (please complete the following and other pertinent information):

  • OS: WIN10
  • Python version [e.g. 2.6]
  • Qt/PySide version 3.7.4
  • Meshroom version: please specify if you are using a release version or your own build Version 2021.1.0

Additional context The model has not been scaled, rotated or moved during the process. The model appears to have no triangles or points in this log, however the exported obj file works as expected in other applications. I have attempted export options like triangulate faces, or keep vertex order, deleting other geometry in the blender file before exporting.

After that I also attempted to load a default cube into meshroom, failed the same way, so I wonder if there is something set up the wrong way in the meshroom file for this.

straycat0000 avatar Jan 12 '22 11:01 straycat0000

Could be caused by blender export settings: https://github.com/alicevision/meshroom/wiki/Texturing-after-external-re-topology (scroll down)

natowi avatar Jan 12 '22 19:01 natowi

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 12 '22 18:06 stale[bot]