Meshroom icon indicating copy to clipboard operation
Meshroom copied to clipboard

Having a problem with the model generation

Open scparker opened this issue 1 year ago • 7 comments

Describe the problem See my post at www.ilovefpv.com Everything works up to the last step.

Screenshots Screenshot is on the web link

Dataset Data set is on the web link.

scparker avatar Oct 26 '23 22:10 scparker

me too... i have the same problem, the points cloud looks good, but the mesh is a mess... i tried a lot of things, but none solve the problem, what can i do?

points_cloud

JamesMoriartyDecripto avatar Oct 29 '23 16:10 JamesMoriartyDecripto

@scparker I tried your dataset and it worked for me (all settings left at default, using 2023.2).

image

Please provide the log from the Texturing node.

msanta avatar Oct 30 '23 11:10 msanta

@JamesMoriartyDecripto Can you show what the mesh looks like without the point cloud.

msanta avatar Oct 30 '23 11:10 msanta

@msanta Thanks for doing that! How cool!

I will check the logs tonight.

scparker avatar Oct 30 '23 12:10 scparker

Here's what I see during texturing:

[2023-10-30 20:14:09.579484] [0x0000e4e4] [trace] Embedded OCIO configuration file: 'C:\Users\steve\Downloads\Meshroom-2023.2.0-win64\Meshroom-2023.2.0\aliceVision/share/aliceVision/config.ocio' found. Program called with the following parameters:

  • angleHardThreshold = 90
  • bestScoreThreshold = 0.1
  • bumpType = Unknown Type "enum aliceVision::mesh::EBumpMappingType" (default)
  • colorMappingFileType = Unknown Type "enum aliceVision::image::EImageFileType"
  • correctEV = 0
  • displacementMappingFileType = Unknown Type "enum aliceVision::image::EImageFileType" (default)
  • downscale = Unknown Type "unsigned int"
  • fillHoles = 0
  • flipNormals = 0
  • forceVisibleByAllVertices = 0
  • heightFileType = Unknown Type "enum aliceVision::image::EImageFileType" (default)
  • imagesFolder = "F:/Project/2023/Meshroom Log 2/MeshroomCache/PrepareDenseScene/aba990d111cb94f5cde748d66594fcf61479e7a9"
  • input = "F:/Project/2023/Meshroom Log 2/MeshroomCache/Meshing/df000fcc49437ad33aa71d04b116595f7a7b2d1e/densePointCloud.abc"
  • inputMesh = "F:/Project/2023/Meshroom Log 2/MeshroomCache/MeshFiltering/9e6da904aa93a307f2d76ebd2e0d9abd4eb5dc50/mesh.obj"
  • inputRefMesh = ""
  • maxCoresAvailable = Unknown Type "unsigned int" (default)
  • maxMemoryAvailable = 18446744073709551615 (default)
  • multiBandDownscale = Unknown Type "unsigned int"
  • multiBandNbContrib = Unknown Type "class std::vector<int,class std::allocator >"
  • normalFileType = Unknown Type "enum aliceVision::image::EImageFileType" (default)
  • output = "F:/Project/2023/Meshroom Log 2/MeshroomCache/Texturing/b39e1c691504eb9c62acb4f68dff7534fcf986f3"
  • outputColorSpace = Unknown Type "enum aliceVision::image::EImageColorSpace"
  • outputMeshFileType = Unknown Type "enum aliceVision::mesh::EFileType"
  • padding = Unknown Type "unsigned int"
  • subdivisionTargetRatio = 0.8
  • textureSide = Unknown Type "unsigned int"
  • unwrapMethod = "Basic"
  • useScore = 1
  • useUDIM = 1
  • verboseLevel = "info"
  • visibilityRemappingMethod = "PullPush"
  • workingColorSpace = Unknown Type "enum aliceVision::image::EImageColorSpace"

Hardware : Detected core count : 12 OpenMP will use 12 cores Detected available memory : 5495 Mo

[20:14:09.581493][info] Load dense point cloud. [20:14:09.630763][warning] Alembic LOAD: NO OBSERVATIONS_WITH_FEATURES: , mvg_visibilityFeatId: 0, mvg_visibilityFeatPos: 0, OBSERVATIONS_WITH_FEATURES flag: false [20:14:09.802206][info] Found 1 image dimension(s): [20:14:09.802206][info] - [4160x6240] [20:14:09.837851][info] Overall maximum dimension: [4160x6240] [20:14:09.837851][info] Load input mesh. [20:14:11.181074][info] Convert dense point cloud into ref mesh [20:14:11.338874][info] remapMeshVisibility based on triangles start. [20:14:11.966580][info] remapMeshVisibility done. [20:14:11.972602][info] Input mesh has no UV coordinates, start unwrapping (Basic) [20:14:11.972602][info] Generating UVs (textureSide: 8192; padding: 5). [20:14:11.972602][info] Creating texture charts. [20:14:12.675756][info] Packing texture charts (670996 charts). [20:14:13.542966][info] Finalize packed charts (1950 charts). [20:14:13.568984][info] Creating texture atlases. [20:14:13.568984][info] - texture atlas 1 [20:14:13.574996][info] Filled with 1436 charts. [20:14:13.576998][info] - texture atlas 2 [20:14:13.577996][info] Filled with 514 charts. [20:14:13.760937][info] Unwrapping done. [20:14:13.760937][info] Save F:/Project/2023/Meshroom Log 2/MeshroomCache/Texturing/b39e1c691504eb9c62acb4f68dff7534fcf986f3\texturedMesh.obj mesh file [20:14:18.582508][info] Save mesh to obj done. [20:14:18.595511][info] Subdivide mesh. [20:14:18.595511][info] nb pts init: 335856 [20:14:18.595511][info] nb tris init: 670996 [20:14:18.595511][info] nb points in refMesh: 335879 [20:14:18.595511][info] targetNbPts: 268703 [20:14:18.647586][info] No subdivision needed. [20:14:18.647586][info] Number of triangle subdivisions: 0 [20:14:18.647586][info] updateAtlases [20:14:18.741191][info] remapMeshVisibility based on triangles start. [20:14:19.328040][info] remapMeshVisibility done. [20:14:19.335038][info] Generate textures. [20:14:19.335038][info] Texturing: Use multiband blending with the following contributions per band: [20:14:19.335038][info] - 1 [20:14:19.335038][info] - 5 [20:14:19.335038][info] - 10 [20:14:19.335038][info] Texturing in srgb colorspace. [20:14:19.340565][info] Images loaded from cache with: no exposure correction [20:14:19.340565][info] nbAtlas: 2 [20:14:19.340565][info] availableRam: 5263 [20:14:19.340565][info] availableMem: 2887 [20:14:19.340565][info] memoryPerAtlas: 4260

scparker avatar Oct 31 '23 00:10 scparker

Is that the entire log? I would have expected to see an error message at the end. You can try changing the Verbose Level for the Texturing node to debug or trace and run it again. Maybe that will provide more information on what it is trying to do before it crashes.

msanta avatar Oct 31 '23 01:10 msanta

@msanta. Thanks, tried again based on your feedback. I closed other apps, especially Blender and magically it worked!

https://www.ilovefpv.com

scparker avatar Nov 01 '23 01:11 scparker