mkazhdan / TextureSignalProcessing

Gradient-Domain Processing within a Texture Atlas
70 stars 12 forks source link

Bug report #15

Closed niyunsheng closed 2 years ago

niyunsheng commented 2 years ago

If using --jitter, I got some warnings and an exception as belows.

[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (3762,3436). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (3782,3490). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (3769,3513). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (176,1693). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (3317,3140). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (2504,2390). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (2521,2390). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (2684,3707). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (2691,3717). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (3290,3146). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (3074,2919). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (2384,3642). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (3893,3604). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (3909,3609). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (3230,1963). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (3215,1986). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (423,2792). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (431,2807). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (407,2809). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (317,3285). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (308,3296). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (1631,3991). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (218,3504). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (729,3156). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (716,3178). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (3885,3513). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (3910,3526). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (2952,2140). Polygon may self intersect!
+----------------------------------------------------------------------------+
| Interface Controls:                                                        |
|    [Left Mouse]:                rotate                                     |
|    [Right Mouse]:               zoom                                       |
|    [Left/Right Mouse] + [CTRL]: pan                                        |
|    [SPACE]:                     start solver                               |
|    'y':                         prescribe interpolation weight             |
+----------------------------------------------------------------------------+
[EXCEPTION] InitializeCoarseBoundaryToFineBoundaryProlongation: Invalid cell index. Node position 92.500000 285.852244

If I do not using --jitter, I got an error as belows.

[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (3777,3430). Polygon may self intersect!
[WARNING] InitializeChartQuadraticElements: Unexpected number of triangles produced by delaunay triangulation at global cell (1388,871). Polygon may self intersect!
+----------------------------------------------------------------------------+
| Interface Controls:                                                        |
|    [Left Mouse]:                rotate                                     |
|    [Right Mouse]:               zoom                                       |
|    [Left/Right Mouse] + [CTRL]: pan                                        |
|    [SPACE]:                     start solver                               |
|    'y':                         prescribe interpolation weight             |
+----------------------------------------------------------------------------+
Internal error in segmentintersection():
  Topological inconsistency after splitting a segment.
  Please report this bug to jrs@cs.berkeley.edu
  Include the message above, your input data set, and the exact
    command line you used to run Triangle.

For some reasons, the original mesh file is not convenient to send to you.

Can you give me any suggestions ? Thanks a lot.

niyunsheng commented 2 years ago

I have a question that can a texture triangle be different colors (which meaning different cameras) ? Could this situation cause the above error?

Below is an example.

TextureTriangles

In the figures above,I drew an 8*8 texture map, using different colors to represent different cameras, using black lines for texture triangles. My questions are:

niyunsheng commented 2 years ago

I think the above conjecture is wrong. There is no requirement for color consistency of a texture triangle.