Meshroom icon indicating copy to clipboard operation
Meshroom copied to clipboard

[bug] Custom Bounding Box does not appear in 3D Viewer

Open Beep6581 opened this issue 1 year ago • 2 comments

Describe the bug Enabling Meshing > Custom Bounding Box should make a cube appear in the 3D Viewer, but nothing changes in the 3D Viewer when I toggle that checkbox. I right-clicked in the 3D Viewer and selected "Fit All".

To Reproduce

  1. New Pipeline > Photogrammetry Draft
  2. Save as...
  3. Import dataset_monstree/full/
  4. Start
  5. Click on the Meshing node, enable Custom Bounding Box.

Expected behavior Bounding box cube should appear in 3D Viewer.

Screenshots screenshot_20231217_021050 screenshot_20231217_021102

Log

[2023-12-17 02:02:23.346875] [0x00007f1145b15000] [trace]   Embedded OCIO configuration file: '/home/morgan/Downloads/Meshroom-2023.3.0/aliceVision/share/aliceVision/config.ocio' found.
Program called with the following parameters:
 * addLandmarksToTheDensePointCloud = 0
 * angleFactor = 15
 * boundingBox =  Unknown Type "11BoundingBox"
 * colorizeOutput = 0
 * contributeMarginFactor = 2
 * densifyNbBack = 0 (default)
 * densifyNbFront = 0 (default)
 * densifyScale = 1 (default)
 * depthMapsFolder = ""
 * estimateSpaceFromSfM = 1
 * estimateSpaceMinObservationAngle = 10
 * estimateSpaceMinObservations = 3
 * exportDebugTetrahedralization = 0
 * fullWeight = 1
 * helperPointsGridSize = 10
 * input = "/home/morgan/Downloads/dataset_monstree/MeshroomCache/StructureFromMotion/c1f32b24e859acff1cb2bbcf4f38dd1f453abfc1/sfm.abc"
 * invertTetrahedronBasedOnNeighborsNbIterations = 10
 * maskBorderSize = 1 (default)
 * maskHelperPointsWeight = 0 (default)
 * maxCoresAvailable =  Unknown Type "j" (default)
 * maxInputPoints = 50000000
 * maxMemoryAvailable = 18446744073709551615 (default)
 * maxNbConnectedHelperPoints = 50
 * maxPoints = 5000000
 * maxPointsPerVoxel = 1000000
 * minAngleThreshold = 1
 * minSolidAngleRatio = 0.2
 * minStep = 2
 * minVis = 2
 * nPixelSizeBehind = 4
 * nbSolidAngleFilteringIterations = 2
 * output = "/home/morgan/Downloads/dataset_monstree/MeshroomCache/Meshing/b561f346db918a5de2915332dfbf30498ee4baa4/densePointCloud.abc"
 * outputMesh = "/home/morgan/Downloads/dataset_monstree/MeshroomCache/Meshing/b561f346db918a5de2915332dfbf30498ee4baa4/mesh.obj"
 * partitioning =  Unknown Type "17EPartitioningMode"
 * pixSizeMarginFinalCoef = 4
 * pixSizeMarginInitCoef = 2
 * refineFuse = 1
 * repartition =  Unknown Type "16ERepartitionMode"
 * saveRawDensePointCloud = 0
 * seed =  Unknown Type "j"
 * simFactor = 15
 * simGaussianSize = 10
 * simGaussianSizeInit = 10
 * universePercentile = 0.999 (default)
 * verboseLevel = "info"
 * voteFilteringForWeaklySupportedSurfaces = 1
 * voteMarginFactor = 4

Hardware : 
	Detected core count : 24
	OpenMP will use 24 cores
	Detected available memory : 27296 Mo

[02:02:23.386897][info] Found 1 image dimension(s): 
[02:02:23.386969][info] 	- [4032x3024]
[02:02:23.393890][info] Overall maximum dimension: [4032x3024]
[02:02:23.393943][warning] repartitionMode: 1
[02:02:23.393950][warning] partitioningMode: 1
[02:02:23.393954][info] Meshing mode: multi-resolution, partitioning: single block.
[02:02:23.393965][info] bounding Box : length: -2, width: -2, height: -2
[02:02:23.394271][info] Creating dense point cloud.
[02:02:23.397709][warning] Add 0 new points for the SfM.
[02:02:23.397720][warning] Add 41 new points for the 41 cameras centers.
[02:02:23.397731][info] Add grid helper points.
[02:02:23.397746][info] Build nanoflann KdTree index.
[02:02:23.397761][info] KdTree created for 41 points.
[02:02:23.403279][warning] Add 1331 new helper points for a 3D grid of 10x10x10 (1331 points).
[02:02:23.403305][warning] Add 6 points to prevent singularities
[02:02:23.403317][warning] Final dense point cloud: 1378 points.
[02:02:23.411630][info] 9027 cells created by tetrahedralization.
[02:02:23.414232][info] coutInvalidVertices: 0
[02:02:23.414240][info] neighboringCellsPerVertexTmp: 1378
[02:02:23.414246][info] verticesCoords: 1378
[02:02:23.415053][info] DelaunayGraphCut::voteFullEmptyScore
[02:02:23.415062][info] nPixelSizeBehind: 4
[02:02:23.415077][info] DelaunayGraphCut::displayCellsStats
[02:02:23.415109][info]  [acc_nrc] min: 0 max: 0 mean: 0 median: 0
[02:02:23.415115][info]  [acc_camSize] min: 0 max: 0 mean: 0 median: 0
[02:02:23.416019][info]  [cellScore] min: 0 max: 0 mean: 0 median: 0
[02:02:23.416025][info]  [cellSWeight] min: 0 max: 0 mean: 0 median: 0
[02:02:23.416030][info]  [cellTWeight] min: 0 max: 0 mean: 0 median: 0
[02:02:23.416034][info]  [gEdgeVisWeight] min: 0 max: 0 mean: 0 median: 0
[02:02:23.416039][info]  [fullnessScore] min: 0 max: 0 mean: 0 median: 0
[02:02:23.416044][info]  [emptinessScore] min: 0 max: 0 mean: 0 median: 0
[02:02:23.416048][info]  [on] min: 0 max: 0 mean: 0 median: 0
[02:02:23.416061][info] countPositiveSWeight: 0
[02:02:23.416067][info] Computing s-t graph weights.
fillGraphPartPtRc
0%   10   20   30   40   50   60   70   80   90   100%
|----|----|----|----|----|----|----|----|----|----|
***************************************************
***Abnormal program termination: floating point exception detected: integer divide by zero

**Desktop

Beep6581 avatar Dec 17 '23 01:12 Beep6581

The bounding box should appear after you double click the meshing node in the graph editor.

msanta avatar Dec 17 '23 11:12 msanta

Double-clicking the node worked. I'm new to this, but that was not intuitive.

Beep6581 avatar Dec 19 '23 23:12 Beep6581