Check the photoreal paths in the browser on a synthetic 3D Tiles set

A generated tileset (a plate at ellipsoid level, 50 m and 200 m blocks and
a pitched roof, 27 KB) replaces Google's tiles when a QA page passes
?qaTileset=/path; only a root-relative path on the page origin is
accepted, and the Google credit is not shown for it. The strict harness
serves the set from disk, so nothing reaches Google.

qa-tiles-fixture checks on both engines that sampleHeight reads the block
at 50 m, clampToHeight lands on the roof, tiles and terrain drapes draw
where they should, tilesLoaded turns true, surface points land on the
roof within their budget, and pick renders per pass stay within it.
This commit is contained in:
German Khokhlov committed 2026-11-10 15:49:52 +04:00
1 parent a90407d547
commit e9ba5e9859
17 files changed
+1855 -20

No files matched your search

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+805
View File
@@ -0,0 +1,805 @@
{
"asset": {
"version": "1.1"
},
"geometricError": 1000,
"root": {
"transform": [
0.9908821299915158,
-0.13473160157690048,
0,
0,
0.06790921036869463,
0.4994375649707324,
0.8636842350322285,
0,
-0.11636556024261228,
-0.8558092744488276,
0.5040332748507723,
0,
-742827.4189515795,
-5463116.347553584,
3195991.10594888,
1
],
"boundingVolume": {
"box": [
0,
0,
99,
300,
0,
0,
0,
300,
0,
0,
0,
101
]
},
"geometricError": 1000,
"refine": "ADD",
"children": [
{
"boundingVolume": {
"box": [
0,
0,
-1,
300,
0,
0,
0,
300,
0,
0,
0,
1
]
},
"geometricError": 0,
"content": {
"uri": "plate.glb"
}
},
{
"boundingVolume": {
"box": [
-160,
0,
25,
50,
0,
0,
0,
60,
0,
0,
0,
25
]
},
"geometricError": 0,
"content": {
"uri": "block50.glb"
}
},
{
"boundingVolume": {
"box": [
0,
170,
100,
50,
0,
0,
0,
50,
0,
0,
0,
100
]
},
"geometricError": 0,
"content": {
"uri": "block200.glb"
}
},
{
"boundingVolume": {
"box": [
160,
0,
50,
50,
0,
0,
0,
60,
0,
0,
0,
50
]
},
"geometricError": 0,
"content": {
"uri": "roof.glb"
}
}
]
},
"extras": {
"origin": {
"lon": -97.7431,
"lat": 30.2672
},
"datum": "WGS84 ellipsoid; local ENU heights in metres",
"probes": {
"plate": {
"position": {
"x": -742838.9635173421,
"y": -5463201.251939629,
"z": 3195844.2796289246
},
"cartographic": {
"longitude": -1.7059389161060694,
"latitude": 0.5282355305977933,
"height": 0.002275014548483431
},
"lon": -97.7431,
"lat": 30.265666492107215,
"height": 0.002275014548483431
},
"block50": {
"position": {
"x": -742991.7783703903,
"y": -5463137.580961054,
"z": 3196016.307612622
},
"cartographic": {
"longitude": -1.7059679361541311,
"latitude": 0.5282622951753985,
"height": 50.00200513183283
},
"lon": -97.7447627262752,
"lat": 30.267199989444443,
"height": 50.00200513183283
},
"block200": {
"position": {
"x": -742839.1474978654,
"y": -5463202.605022429,
"z": 3196238.7389238053
},
"cartographic": {
"longitude": -1.7059389161060696,
"latitude": 0.5282890592724478,
"height": 200.0022749319483
},
"lon": -97.74310000000001,
"lat": 30.26873345924785,
"height": 200.0022749319483
},
"roof": {
"position": {
"x": -742658.8348752414,
"y": -5463212.487220922,
"z": 3196033.444743967
},
"cartographic": {
"longitude": -1.7059062687258868,
"latitude": 0.528262295126465,
"height": 84.00253773142123
},
"lon": -97.74122944290338,
"lat": 30.267199986640765,
"height": 84.00253773142123
}
},
"points": [
{
"position": {
"x": -742701.1865288558,
"y": -5463227.075459457,
"z": 3195998.897374566
},
"cartographic": {
"longitude": -1.7059135237921106,
"latitude": 0.5282559977114081,
"height": 84.00166112171651
},
"lon": -97.74164512757808,
"lat": 30.26683917133616,
"height": 84.00166112171651
},
{
"position": {
"x": -742696.6975804468,
"y": -5463231.172354563,
"z": 3196000.9135076655
},
"cartographic": {
"longitude": -1.7059126169402343,
"latitude": 0.5282559977051193,
"height": 88.00177273310982
},
"lon": -97.74159316879293,
"lat": 30.26683917097584,
"height": 88.00177273310982
},
{
"position": {
"x": -742692.2086320379,
"y": -5463235.269249668,
"z": 3196002.929640765
},
"cartographic": {
"longitude": -1.7059117100894945,
"latitude": 0.528255997698471,
"height": 92.00188826158782
},
"lon": -97.7415412100729,
"lat": 30.266839170594917,
"height": 92.00188826158782
},
{
"position": {
"x": -742687.7196836289,
"y": -5463239.3661447745,
"z": 3196004.945773864
},
"cartographic": {
"longitude": -1.705910803239891,
"latitude": 0.5282559976914627,
"height": 96.00200770555026
},
"lon": -97.74148925141796,
"lat": 30.26683917019337,
"height": 96.00200770555026
},
{
"position": {
"x": -742683.2307352199,
"y": -5463243.46303988,
"z": 3196006.9619069635
},
"cartographic": {
"longitude": -1.7059098963914245,
"latitude": 0.5282559976840947,
"height": 100.00213106686036
},
"lon": -97.74143729282817,
"lat": 30.266839169771217,
"height": 100.00213106686036
},
{
"position": {
"x": -742677.810862329,
"y": -5463240.71346079,
"z": 3196004.945773864
},
"cartographic": {
"longitude": -1.7059089895065904,
"latitude": 0.5282559976684348,
"height": 96.00225834565195
},
"lon": -97.74138533215466,
"lat": 30.266839168873968,
"height": 96.00225834565195
},
{
"position": {
"x": -742672.390989438,
"y": -5463237.9638817,
"z": 3196002.929640765
},
"cartographic": {
"longitude": -1.7059080826206199,
"latitude": 0.5282559976524149,
"height": 92.002389541416
},
"lon": -97.74133337141606,
"lat": 30.2668391679561,
"height": 92.002389541416
},
{
"position": {
"x": -742666.9711165471,
"y": -5463235.21430261,
"z": 3196000.9135076655
},
"cartographic": {
"longitude": -1.705907175733513,
"latitude": 0.5282559976360354,
"height": 88.0025246520816
},
"lon": -97.74128141061233,
"lat": 30.26683916701762,
"height": 88.0025246520816
},
{
"position": {
"x": -742699.8283446485,
"y": -5463217.086708157,
"z": 3196016.1710592667
},
"cartographic": {
"longitude": -1.705913523745684,
"latitude": 0.5282591464650368,
"height": 84.0015666583481
},
"lon": -97.74164512491804,
"lat": 30.26701958162981,
"height": 84.0015666583481
},
{
"position": {
"x": -742695.3393962395,
"y": -5463221.183603263,
"z": 3196018.187192366
},
"cartographic": {
"longitude": -1.7059126168921497,
"latitude": 0.5282591464567652,
"height": 88.00167827023611
},
"lon": -97.74159316603789,
"lat": 30.267019581155882,
"height": 88.00167827023611
},
{
"position": {
"x": -742690.8504478304,
"y": -5463225.280498369,
"z": 3196020.2033254653
},
"cartographic": {
"longitude": -1.7059117100397518,
"latitude": 0.5282591464481338,
"height": 92.0017937984389
},
"lon": -97.74154120722285,
"lat": 30.267019580661337,
"height": 92.0017937984389
},
{
"position": {
"x": -742686.3614994214,
"y": -5463229.377393475,
"z": 3196022.2194585647
},
"cartographic": {
"longitude": -1.7059108031884906,
"latitude": 0.5282591464391424,
"height": 96.00191324267489
},
"lon": -97.74148924847293,
"lat": 30.26701958014617,
"height": 96.00191324267489
},
{
"position": {
"x": -742681.8725510124,
"y": -5463233.47428858,
"z": 3196024.2355916644
},
"cartographic": {
"longitude": -1.7059098963383656,
"latitude": 0.5282591464297914,
"height": 100.00203660347505
},
"lon": -97.74143728978812,
"lat": 30.2670195796104,
"height": 100.00203660347505
},
{
"position": {
"x": -742676.4526781215,
"y": -5463230.72470949,
"z": 3196022.2194585647
},
"cartographic": {
"longitude": -1.7059089894518735,
"latitude": 0.5282591464161143,
"height": 96.00216388302483
},
"lon": -97.74138532901962,
"lat": 30.267019578826755,
"height": 96.00216388302483
},
{
"position": {
"x": -742671.0328052306,
"y": -5463227.975130401,
"z": 3196020.2033254653
},
"cartographic": {
"longitude": -1.705908082564245,
"latitude": 0.5282591464020774,
"height": 92.00229507980886
},
"lon": -97.74133336818602,
"lat": 30.267019578022502,
"height": 92.00229507980886
},
{
"position": {
"x": -742665.6129323397,
"y": -5463225.225551311,
"z": 3196018.187192366
},
"cartographic": {
"longitude": -1.7059071756754798,
"latitude": 0.5282591463876805,
"height": 88.00243019067032
},
"lon": -97.74128140728727,
"lat": 30.26701957719762,
"height": 88.00243019067032
},
{
"position": {
"x": -742698.470160441,
"y": -5463207.097956859,
"z": 3196033.444743967
},
"cartographic": {
"longitude": -1.705913523699257,
"latitude": 0.5282622952185787,
"height": 84.00153517112447
},
"lon": -97.74164512225796,
"lat": 30.26719999191849,
"height": 84.00153517112447
},
{
"position": {
"x": -742693.981212032,
"y": -5463211.194851964,
"z": 3196035.460877067
},
"cartographic": {
"longitude": -1.7059126168440648,
"latitude": 0.528262295208324,
"height": 88.00164678309102
},
"lon": -97.74159316328283,
"lat": 30.267199991330937,
"height": 88.00164678309102
},
{
"position": {
"x": -742689.492263623,
"y": -5463215.29174707,
"z": 3196037.4770101663
},
"cartographic": {
"longitude": -1.705911709990009,
"latitude": 0.5282622951977096,
"height": 92.0017623126523
},
"lon": -97.7415412043728,
"lat": 30.267199990722776,
"height": 92.0017623126523
},
{
"position": {
"x": -742685.0033152141,
"y": -5463219.388642175,
"z": 3196039.4931432656
},
"cartographic": {
"longitude": -1.7059108031370898,
"latitude": 0.5282622951867355,
"height": 96.00188175721505
},
"lon": -97.74148924552787,
"lat": 30.267199990094007,
"height": 96.00188175721505
},
{
"position": {
"x": -742680.5143668051,
"y": -5463223.485537281,
"z": 3196041.509276365
},
"cartographic": {
"longitude": -1.705909896285307,
"latitude": 0.5282622951754012,
"height": 100.00200511623785
},
"lon": -97.74143728674808,
"lat": 30.267199989444602,
"height": 100.00200511623785
},
{
"position": {
"x": -742675.0944939142,
"y": -5463220.735958191,
"z": 3196039.4931432656
},
"cartographic": {
"longitude": -1.7059089893971566,
"latitude": 0.5282622951637073,
"height": 96.0021323949121
},
"lon": -97.74138532588458,
"lat": 30.267199988774586,
"height": 96.0021323949121
},
{
"position": {
"x": -742669.6746210232,
"y": -5463217.986379101,
"z": 3196037.4770101663
},
"cartographic": {
"longitude": -1.7059080825078698,
"latitude": 0.5282622951516531,
"height": 92.0022635916176
},
"lon": -97.74133336495596,
"lat": 30.267199988083934,
"height": 92.0022635916176
},
{
"position": {
"x": -742664.2547481323,
"y": -5463215.236800011,
"z": 3196035.460877067
},
"cartographic": {
"longitude": -1.7059071756174464,
"latitude": 0.5282622951392388,
"height": 88.00239870366701
},
"lon": -97.74128140396222,
"lat": 30.26719998737265,
"height": 88.00239870366701
},
{
"position": {
"x": -742697.1119762337,
"y": -5463197.109205559,
"z": 3196050.718428668
},
"cartographic": {
"longitude": -1.7059135236528302,
"latitude": 0.5282654439720338,
"height": 84.00156665806156
},
"lon": -97.7416451195979,
"lat": 30.267380402202193,
"height": 84.00156665806156
},
{
"position": {
"x": -742692.6230278247,
"y": -5463201.206100664,
"z": 3196052.7345617674
},
"cartographic": {
"longitude": -1.70591261679598,
"latitude": 0.5282654439597962,
"height": 88.00167827087749
},
"lon": -97.74159316052776,
"lat": 30.267380401501033,
"height": 88.00167827087749
},
{
"position": {
"x": -742688.1340794157,
"y": -5463205.30299577,
"z": 3196054.7506948668
},
"cartographic": {
"longitude": -1.705911709940266,
"latitude": 0.5282654439471988,
"height": 92.00179379845281
},
"lon": -97.74154120152274,
"lat": 30.26738040077925,
"height": 92.00179379845281
},
{
"position": {
"x": -742683.6451310067,
"y": -5463209.399890875,
"z": 3196056.766827966
},
"cartographic": {
"longitude": -1.7059108030856887,
"latitude": 0.5282654439342416,
"height": 96.00191324280611
},
"lon": -97.74148924258282,
"lat": 30.267380400036856,
"height": 96.00191324280611
},
{
"position": {
"x": -742679.1561825977,
"y": -5463213.496785982,
"z": 3196058.7829610654
},
"cartographic": {
"longitude": -1.7059098962322479,
"latitude": 0.5282654439209244,
"height": 100.00203660378942
},
"lon": -97.74143728370802,
"lat": 30.267380399273843,
"height": 100.00203660378942
},
{
"position": {
"x": -742673.7363097068,
"y": -5463210.747206892,
"z": 3196056.766827966
},
"cartographic": {
"longitude": -1.7059089893424393,
"latitude": 0.5282654439112129,
"height": 96.00216388304962
},
"lon": -97.74138532274951,
"lat": 30.26738039871741,
"height": 96.00216388304962
},
{
"position": {
"x": -742668.3164368159,
"y": -5463207.997627802,
"z": 3196054.7506948668
},
"cartographic": {
"longitude": -1.7059080824514945,
"latitude": 0.5282654439011418,
"height": 92.00229507962341
},
"lon": -97.74133336172589,
"lat": 30.267380398140382,
"height": 92.00229507962341
},
{
"position": {
"x": -742662.896563925,
"y": -5463205.248048712,
"z": 3196052.7345617674
},
"cartographic": {
"longitude": -1.7059071755594128,
"latitude": 0.5282654438907107,
"height": 88.00243019027465
},
"lon": -97.74128140063713,
"lat": 30.267380397542723,
"height": 88.00243019027465
},
{
"position": {
"x": -742695.7537920263,
"y": -5463187.120454259,
"z": 3196067.9921133686
},
"cartographic": {
"longitude": -1.7059135236064031,
"latitude": 0.528268592725402,
"height": 84.00166112141882
},
"lon": -97.74164511693783,
"lat": 30.26756081248092,
"height": 84.00166112141882
},
{
"position": {
"x": -742691.2648436173,
"y": -5463191.217349365,
"z": 3196070.008246468
},
"cartographic": {
"longitude": -1.7059126167478948,
"latitude": 0.5282685927111814,
"height": 88.00177273414431
},
"lon": -97.74159315777268,
"lat": 30.26756081166614,
"height": 88.00177273414431
},
{
"position": {
"x": -742686.7758952084,
"y": -5463195.314244471,
"z": 3196072.0243795672
},
"cartographic": {
"longitude": -1.705911709890523,
"latitude": 0.5282685926966009,
"height": 92.0018882615363
},
"lon": -97.74154119867266,
"lat": 30.267560810830734,
"height": 92.0018882615363
},
{
"position": {
"x": -742682.2869467994,
"y": -5463199.411139577,
"z": 3196074.040512667
},
"cartographic": {
"longitude": -1.7059108030342875,
"latitude": 0.5282685926816608,
"height": 96.0020077065962
},
"lon": -97.74148923963774,
"lat": 30.267560809974732,
"height": 96.0020077065962
},
{
"position": {
"x": -742677.7979983904,
"y": -5463203.508034682,
"z": 3196076.0566457664
},
"cartographic": {
"longitude": -1.7059098961791888,
"latitude": 0.5282685926663608,
"height": 100.00213106635087
},
"lon": -97.74143728066795,
"lat": 30.267560809098107,
"height": 100.00213106635087
},
{
"position": {
"x": -742672.3781254995,
"y": -5463200.758455592,
"z": 3196074.040512667
},
"cartographic": {
"longitude": -1.705908989287722,
"latitude": 0.5282685926586324,
"height": 96.00225834543971
},
"lon": -97.74138531961444,
"lat": 30.267560808655297,
"height": 96.00225834543971
},
{
"position": {
"x": -742666.9582526085,
"y": -5463198.0088765025,
"z": 3196072.0243795672
},
"cartographic": {
"longitude": -1.705908082395119,
"latitude": 0.5282685926505436,
"height": 92.00238954127981
},
"lon": -97.74133335849581,
"lat": 30.267560808191845,
"height": 92.00238954127981
},
{
"position": {
"x": -742661.5383797176,
"y": -5463195.259297413,
"z": 3196070.008246468
},
"cartographic": {
"longitude": -1.7059071755013793,
"latitude": 0.5282685926420952,
"height": 88.0025246543197
},
"lon": -97.74128139731205,
"lat": 30.267560807707792,
"height": 88.0025246543197
}
]
}
}