fixed # 修复作物绘制位置异常的BUG

This commit is contained in:
2026-10-21 10:16:58 +08:00
parent 07a2f0f53e
commit e5bec1a2b6
10 changed files with 671 additions and 70 deletions
+161 -4
View File
@@ -1,9 +1,166 @@
{
"schema": 2,
"mode": "full_canvas_bottom_center",
"schema": 4,
"mode": "visible_contact_center",
"reference_soil_height": 79.5,
"growth_scale": 0.75,
"common_scale": 0.5,
"wither_down": 8,
"basis": "WebGLMainSceneLandController.SetCropTexture and mainscene RectTransform"
"basis": "Local visible ground-contact centroid aligned to actual land center; upright uniform sprite scaling",
"reference_soil_width": 153,
"source_land_order": [
1,
4,
7,
10,
13,
16,
2,
5,
8,
11,
14,
17,
3,
6,
9,
12,
15,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30
],
"source_land_centers": [
[
-55.50004959106445,
162.5499725341797
],
[
24.300010681152344,
123.5999984741211
],
[
104.4000015258789,
84.69998168945312
],
[
180.5999298095703,
45.89997100830078
],
[
256.9000244140625,
7.49997615814209
],
[
335.9000244140625,
-30.500019073486328
],
[
-132.0,
122.80000305175781
],
[
-52.199981689453125,
83.8499984741211
],
[
27.899959564208984,
44.95000076293945
],
[
104.09992218017578,
6.14999532699585
],
[
180.40000915527344,
-32.25
],
[
259.4000244140625,
-70.25
],
[
-208.50010681152344,
83.05000305175781
],
[
-128.6999969482422,
44.099998474121094
],
[
-48.60007095336914,
5.200003623962402
],
[
27.599895477294922,
-33.600006103515625
],
[
103.89999389648438,
-72.0
],
[
182.89999389648438,
-110.0
],
[
-285.0,
43.29999923706055
],
[
-205.199951171875,
4.350001811981201
],
[
-125.10001373291016,
-34.549991607666016
],
[
-48.90004348754883,
-73.3499984741211
],
[
27.400035858154297,
-111.74999237060547
],
[
106.40003967285156,
-149.74998474121094
],
[
-361.5000305175781,
3.5499942302703857
],
[
-281.6999206542969,
-35.400001525878906
],
[
-201.60000610351562,
-74.30000305175781
],
[
-125.40000915527344,
-113.0999984741211
],
[
-49.09993362426758,
-151.49998474121094
],
[
29.900068283081055,
-189.49998474121094
]
],
"contact_alpha_threshold": 32,
"contact_band_fraction": 0.2,
"sprite_axes": "upright"
}
+176 -4
View File
@@ -6479,13 +6479,185 @@
"sample_rate": 24
},
"placement": {
"basis": "WebGLMainSceneLandController.SetCropTexture and mainscene RectTransform",
"basis": "Local visible ground-contact centroid aligned to actual land center; upright uniform sprite scaling",
"common_scale": 0.5,
"contact_alpha_threshold": 32,
"contact_band_fraction": 0.2,
"grid_fit": {
"maximum": 9.082568081176591,
"points": 30,
"rms": 4.178633329197882
},
"growth_scale": 0.75,
"mode": "full_canvas_bottom_center",
"mode": "visible_contact_center",
"reference_soil_height": 79.5,
"schema": 2,
"wither_down": 8
"reference_soil_width": 153,
"scene_transform": [
[
1.467423053281315,
0.07509807118862355
],
[
0.02736505575131576,
-1.4715307877291894
]
],
"schema": 4,
"source_land_centers": [
[
-55.50004959106445,
162.5499725341797
],
[
24.300010681152344,
123.5999984741211
],
[
104.4000015258789,
84.69998168945312
],
[
180.5999298095703,
45.89997100830078
],
[
256.9000244140625,
7.49997615814209
],
[
335.9000244140625,
-30.500019073486328
],
[
-132.0,
122.80000305175781
],
[
-52.199981689453125,
83.8499984741211
],
[
27.899959564208984,
44.95000076293945
],
[
104.09992218017578,
6.14999532699585
],
[
180.40000915527344,
-32.25
],
[
259.4000244140625,
-70.25
],
[
-208.50010681152344,
83.05000305175781
],
[
-128.6999969482422,
44.099998474121094
],
[
-48.60007095336914,
5.200003623962402
],
[
27.599895477294922,
-33.600006103515625
],
[
103.89999389648438,
-72.0
],
[
182.89999389648438,
-110.0
],
[
-285.0,
43.29999923706055
],
[
-205.199951171875,
4.350001811981201
],
[
-125.10001373291016,
-34.549991607666016
],
[
-48.90004348754883,
-73.3499984741211
],
[
27.400035858154297,
-111.74999237060547
],
[
106.40003967285156,
-149.74998474121094
],
[
-361.5000305175781,
3.5499942302703857
],
[
-281.6999206542969,
-35.400001525878906
],
[
-201.60000610351562,
-74.30000305175781
],
[
-125.40000915527344,
-113.0999984741211
],
[
-49.09993362426758,
-151.49998474121094
],
[
29.900068283081055,
-189.49998474121094
]
],
"source_land_order": [
1,
4,
7,
10,
13,
16,
2,
5,
8,
11,
14,
17,
3,
6,
9,
12,
15,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30
],
"sprite_axes": "upright"
},
"plants": {
"ATTomato": {