stpete2 commited on
Commit
bdcd245
·
verified ·
1 Parent(s): dc19f42

Upload log.md

Browse files
Files changed (1) hide show
  1. log.md +38 -194
log.md CHANGED
@@ -1,5 +1,5 @@
1
-
2
- [preprocess_manual.js] ===== MODULE LOADING =====
3
  main.js:16 [MAIN] DOMContentLoaded fired
4
  main.js:269 [MAIN] Calling setupPathsFromUrlOrSelect...
5
  main.js:46 [MAIN] setupPathsFromUrlOrSelect started
@@ -16,85 +16,37 @@ main.js:259 [MAIN] Waiting for file load promise...
16
  main.js:175 [MAIN] ===== Manual mode button clicked! =====
17
  main.js:178 [MAIN] Opening manual file input...
18
  main.js:184 [MAIN] ===== Manual file input changed! =====
19
- main.js:186 [MAIN] File object:
20
- File
21
- lastModified
22
- :
23
- 1765861881968
24
- lastModifiedDate
25
- :
26
- Tue Dec 16 2025 14:11:21 GMT+0900 (日本標準時) {}
27
- name
28
- :
29
- "fountain_trim7.ply"
30
- size
31
- :
32
- 65171963
33
- type
34
- :
35
- ""
36
- webkitRelativePath
37
- :
38
- ""
39
- [[Prototype]]
40
- :
41
- File
42
  main.js:190 [MAIN] Manual file selected: fountain_trim7.ply Extension: ply
43
  main.js:198 [MAIN] Reading manual file...
44
  main.js:201 [MAIN] Manual file read complete, size: 65171963
45
  main.js:209 [MAIN] Manual mode file loaded: fountain_trim7.ply
46
- main.js:210 [MAIN] gsPath: blob:http://127.0.0.1:5500/51e1934f-51af-4048-b79a-2bc7a8a1b220
47
  main.js:211 [MAIN] gsFileName: fountain_trim7.ply
48
  main.js:110 [MAIN] Hiding select UI
49
  main.js:215 [MAIN] ===== Resolving with MANUAL MODE =====
50
- main.js:261 [MAIN] File load promise resolved:
51
- Object
52
- gsPath
53
- :
54
- "blob:http://127.0.0.1:5500/51e1934f-51af-4048-b79a-2bc7a8a1b220"
55
- gvrmPath
56
- :
57
- undefined
58
- manualMode
59
- :
60
- true
61
- [[Prototype]]
62
- :
63
- Object
64
- main.js:271 [MAIN] setupPathsFromUrlOrSelect returned:
65
- Object
66
- gsPath
67
- :
68
- "blob:http://127.0.0.1:5500/51e1934f-51af-4048-b79a-2bc7a8a1b220"
69
- gvrmPath
70
- :
71
- undefined
72
- manualMode
73
- :
74
- true
75
- [[Prototype]]
76
- :
77
- Object
78
  main.js:277 [MAIN] After pathResult:
79
- main.js:278 - gsPath: blob:http://127.0.0.1:5500/51e1934f-51af-4048-b79a-2bc7a8a1b220
80
  main.js:279 - gvrmPath: undefined
81
  main.js:280 - isManualMode: true
82
  main.js:283 [MAIN] Initializing renderer...
83
  main.js:289 [MAIN] Initializing camera...
84
  main.js:316 [MAIN] Initializing scene...
85
  main.js:323 [MAIN] Three.js initialization complete
86
- main.js:506 [MAIN] Processing GS file: blob:http://127.0.0.1:5500/51e1934f-51af-4048-b79a-2bc7a8a1b220
87
  main.js:507 [MAIN] Manual mode: true
88
  main.js:519 [MAIN] fileName: fountain_trim7.gvrm
89
  main.js:529 [MAIN] ===== STARTING MANUAL PREPROCESSING MODE =====
90
  main.js:530 [MAIN] Parameters:
91
  main.js:531 - vrmPath: ./assets/sotai.vrm
92
- main.js:532 - gsPath: blob:http://127.0.0.1:5500/51e1934f-51af-4048-b79a-2bc7a8a1b220
93
  main.js:533 - fileName: fountain_trim7.gvrm
94
  preprocess_manual.js:977 [preprocessManual] ===== FUNCTION CALLED =====
95
  preprocess_manual.js:978 [preprocessManual] Parameters:
96
  preprocess_manual.js:979 vrmPath: ./assets/sotai.vrm
97
- preprocess_manual.js:980 gsPath: blob:http://127.0.0.1:5500/51e1934f-51af-4048-b79a-2bc7a8a1b220
98
  preprocess_manual.js:981 fileName: fountain_trim7.gvrm
99
  preprocess_manual.js:984 [preprocessManual] Creating Promise...
100
  preprocess_manual.js:84 [createManualUI] Creating manual preprocessing UI...
@@ -104,141 +56,33 @@ main.js:541 [MAIN] preprocessManual called, waiting for promise...
104
  preprocess_manual.js:991 [preprocessManual] UI initialized, starting manual process...
105
  preprocess_manual.js:1005 [preprocessManual] PLY loaded: 262784 vertices
106
  preprocess_manual.js:1011 [preprocessManual] ===== ANALYZING PLY COORDINATE SYSTEM =====
107
- preprocess_manual.js:1026 [PCA] Center:
108
- Object
109
- x
110
- :
111
- -0.2652678845128372
112
- y
113
- :
114
- 1.1990953609667259
115
- z
116
- :
117
- 0.923559379148402
118
- [[Prototype]]
119
- :
120
- Object
121
- preprocess_manual.js:1052 [PCA] Covariance matrix:
122
- Object
123
- cxx
124
- :
125
- "0.38"
126
- cxy
127
- :
128
- "0.18"
129
- cxz
130
- :
131
- "0.09"
132
- cyy
133
- :
134
- "1.10"
135
- cyz
136
- :
137
- "1.00"
138
- czz
139
- :
140
- "1.24"
141
- [[Prototype]]
142
- :
143
- Object
144
- preprocess_manual.js:1067 [PCA] Variance ratios:
145
- Object
146
- x
147
- :
148
- "14.0%"
149
- y
150
- :
151
- "40.4%"
152
- z
153
- :
154
- "45.6%"
155
- [[Prototype]]
156
- :
157
- Object
158
  preprocess_manual.js:1080 [PCA] Is aligned with world axes: false
159
- preprocess_manual.js:1100 [preprocessManual] ===== STARTING AUTO-ALIGNMENT =====
160
- preprocess_manual.js:1105 [preprocessManual] Step 1: Centering PLY using center of mass...
161
- preprocess_manual.js:1121 [DEBUG] Center of mass:
162
- Object
163
- x
164
- :
165
- "-0.265"
166
- y
167
- :
168
- "1.199"
169
- z
170
- :
171
- "0.924"
172
- [[Prototype]]
173
- :
174
- Object
175
- preprocess_manual.js:1127 [DEBUG] First vertex BEFORE centering:
176
- Object
177
- x
178
- :
179
- "-0.738"
180
- y
181
- :
182
- "0.244"
183
- z
184
- :
185
- "0.749"
186
- [[Prototype]]
187
- :
188
- Object
189
- preprocess_manual.js:1151 [DEBUG] First vertex AFTER centering:
190
- Object
191
- x
192
- :
193
- "-0.473"
194
- y
195
- :
196
- "-0.955"
197
- z
198
- :
199
- "-0.175"
200
- [[Prototype]]
201
- :
202
- Object
203
- preprocess_manual.js:1168 [DEBUG] Average after centering:
204
- Object
205
- x
206
- :
207
- "-0.000000"
208
- y
209
- :
210
- "0.000000"
211
- z
212
- :
213
- "0.000000"
214
- [[Prototype]]
215
- :
216
- Object
217
- preprocess_manual.js:1180 [DEBUG] ✓ Centering SUCCESS! Average is ~0
218
- preprocess_manual.js:1183 [preprocessManual] ✓ PLY centered at origin
219
- preprocess_manual.js:1188 [preprocessManual] Step 2: Recalculating bounding box...
220
- preprocess_manual.js:1205 [preprocessManual] Centered sizes:
221
- Object
222
- preprocess_manual.js:1214 [preprocessManual] Step 3: Checking if rotation is needed...
223
- preprocess_manual.js:1215 [preprocessManual] Longest axis: Y
224
- preprocess_manual.js:1231 [preprocessManual] ✓ Y-axis is already the longest, no rotation needed
225
- preprocess_manual.js:1255 [preprocessManual] Step 4: Skipped (no rotation needed)
226
- preprocess_manual.js:1262 [preprocessManual] Step 5: Final verification...
227
- preprocess_manual.js:1283 [preprocessManual] Final PLY bounds:
228
- Object
229
  error.js:58 [preprocessManual] ❌ ERROR: Final center is not at origin!
230
- error.js:58 [preprocessManual] Got:
231
- Object
232
- x
233
- :
234
- 1.2055131552419023
235
- y
236
- :
237
- -1.5664161369524434
238
- z
239
- :
240
- 0.21558900518425483
241
- [[Prototype]]
242
- :
243
- Object
244
-
 
1
+ Live reload enabled.
2
+ preprocess_manual.js:16 [preprocess_manual.js] ===== MODULE LOADING =====
3
  main.js:16 [MAIN] DOMContentLoaded fired
4
  main.js:269 [MAIN] Calling setupPathsFromUrlOrSelect...
5
  main.js:46 [MAIN] setupPathsFromUrlOrSelect started
 
16
  main.js:175 [MAIN] ===== Manual mode button clicked! =====
17
  main.js:178 [MAIN] Opening manual file input...
18
  main.js:184 [MAIN] ===== Manual file input changed! =====
19
+ main.js:186 [MAIN] File object: FilelastModified: 1765861881968lastModifiedDate: Tue Dec 16 2025 14:11:21 GMT+0900 (日本標準時) {}name: "fountain_trim7.ply"size: 65171963type: ""webkitRelativePath: ""[[Prototype]]: File
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  main.js:190 [MAIN] Manual file selected: fountain_trim7.ply Extension: ply
21
  main.js:198 [MAIN] Reading manual file...
22
  main.js:201 [MAIN] Manual file read complete, size: 65171963
23
  main.js:209 [MAIN] Manual mode file loaded: fountain_trim7.ply
24
+ main.js:210 [MAIN] gsPath: blob:http://127.0.0.1:5500/a518177a-2b71-4aa4-ae7e-25f7d5b9dec4
25
  main.js:211 [MAIN] gsFileName: fountain_trim7.ply
26
  main.js:110 [MAIN] Hiding select UI
27
  main.js:215 [MAIN] ===== Resolving with MANUAL MODE =====
28
+ main.js:261 [MAIN] File load promise resolved: ObjectgsPath: "blob:http://127.0.0.1:5500/a518177a-2b71-4aa4-ae7e-25f7d5b9dec4"gvrmPath: undefinedmanualMode: true[[Prototype]]: Object
29
+ main.js:271 [MAIN] setupPathsFromUrlOrSelect returned: ObjectgsPath: "blob:http://127.0.0.1:5500/a518177a-2b71-4aa4-ae7e-25f7d5b9dec4"gvrmPath: undefinedmanualMode: true[[Prototype]]: Object
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  main.js:277 [MAIN] After pathResult:
31
+ main.js:278 - gsPath: blob:http://127.0.0.1:5500/a518177a-2b71-4aa4-ae7e-25f7d5b9dec4
32
  main.js:279 - gvrmPath: undefined
33
  main.js:280 - isManualMode: true
34
  main.js:283 [MAIN] Initializing renderer...
35
  main.js:289 [MAIN] Initializing camera...
36
  main.js:316 [MAIN] Initializing scene...
37
  main.js:323 [MAIN] Three.js initialization complete
38
+ main.js:506 [MAIN] Processing GS file: blob:http://127.0.0.1:5500/a518177a-2b71-4aa4-ae7e-25f7d5b9dec4
39
  main.js:507 [MAIN] Manual mode: true
40
  main.js:519 [MAIN] fileName: fountain_trim7.gvrm
41
  main.js:529 [MAIN] ===== STARTING MANUAL PREPROCESSING MODE =====
42
  main.js:530 [MAIN] Parameters:
43
  main.js:531 - vrmPath: ./assets/sotai.vrm
44
+ main.js:532 - gsPath: blob:http://127.0.0.1:5500/a518177a-2b71-4aa4-ae7e-25f7d5b9dec4
45
  main.js:533 - fileName: fountain_trim7.gvrm
46
  preprocess_manual.js:977 [preprocessManual] ===== FUNCTION CALLED =====
47
  preprocess_manual.js:978 [preprocessManual] Parameters:
48
  preprocess_manual.js:979 vrmPath: ./assets/sotai.vrm
49
+ preprocess_manual.js:980 gsPath: blob:http://127.0.0.1:5500/a518177a-2b71-4aa4-ae7e-25f7d5b9dec4
50
  preprocess_manual.js:981 fileName: fountain_trim7.gvrm
51
  preprocess_manual.js:984 [preprocessManual] Creating Promise...
52
  preprocess_manual.js:84 [createManualUI] Creating manual preprocessing UI...
 
56
  preprocess_manual.js:991 [preprocessManual] UI initialized, starting manual process...
57
  preprocess_manual.js:1005 [preprocessManual] PLY loaded: 262784 vertices
58
  preprocess_manual.js:1011 [preprocessManual] ===== ANALYZING PLY COORDINATE SYSTEM =====
59
+ preprocess_manual.js:1026 [PCA] Center: Objectx: -0.2652678845128372y: 1.1990953609667259z: 0.923559379148402[[Prototype]]: Object
60
+ preprocess_manual.js:1052 [PCA] Covariance matrix: Objectcxx: "0.38"cxy: "0.18"cxz: "0.09"cyy: "1.10"cyz: "1.00"czz: "1.24"[[Prototype]]: Object
61
+ preprocess_manual.js:1067 [PCA] Variance ratios: Objectx: "14.0%"y: "40.4%"z: "45.6%"[[Prototype]]: Object
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  preprocess_manual.js:1080 [PCA] Is aligned with world axes: false
63
+ preprocess_manual.js:1107 [preprocessManual] ===== STARTING AUTO-ALIGNMENT =====
64
+ preprocess_manual.js:1112 [preprocessManual] Step 1: Calculating center of mass...
65
+ preprocess_manual.js:1127 [DEBUG] Center of mass: Objectx: "-0.265268"y: "1.199095"z: "0.923559"[[Prototype]]: Object
66
+ preprocess_manual.js:1133 [DEBUG] First vertex BEFORE centering: Objectx: "-0.738219"y: "0.244090"z: "0.748940"[[Prototype]]: Object
67
+ preprocess_manual.js:1142 [preprocessManual] Step 2: Centering PLY (creating new objects)...
68
+ preprocess_manual.js:1170 [DEBUG] First vertex AFTER centering: Objectx: "-0.472951"y: "-0.955005"z: "-0.174620"[[Prototype]]: Object
69
+ preprocess_manual.js:1179 [preprocessManual] Step 3: Verifying centering...
70
+ preprocess_manual.js:1192 [DEBUG] Average after centering: Objectx: "-0.000000000"y: "0.000000000"z: "0.000000000"[[Prototype]]: Object
71
+ preprocess_manual.js:1214 [DEBUG] ✓ Centering SUCCESS! Average is effectively zero
72
+ preprocess_manual.js:1215 [preprocessManual] ✓ PLY centered at origin
73
+ preprocess_manual.js:1220 [preprocessManual] Step 4: Calculating bounding box...
74
+ preprocess_manual.js:1239 [preprocessManual] Centered bounding box: Objectmax: {x: '3.545', y: '2.136', z: '2.193'}min: {x: '-1.134', y: '-5.269', z: '-1.762'}size: {x: '4.680', y: '7.404', z: '3.955'}[[Prototype]]: Object
75
+ preprocess_manual.js:1248 [preprocessManual] Step 5: Checking if rotation is needed...
76
+ preprocess_manual.js:1249 [preprocessManual] Longest axis: Y (7.40m)
77
+ preprocess_manual.js:1266 [preprocessManual] ✓ Y-axis is already the longest, no rotation needed
78
+ preprocess_manual.js:1292 [preprocessManual] Step 6: Skipped (no rotation needed)
79
+ preprocess_manual.js:1299 [preprocessManual] Step 7: Final verification...
80
+ preprocess_manual.js:1320 [preprocessManual] Final PLY state: Object
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  error.js:58 [preprocessManual] ❌ ERROR: Final center is not at origin!
82
+ console.error @ error.js:58Understand this error
83
+ error.js:58 [preprocessManual] Expected: (0, 0, 0)
84
+ console.error @ error.js:58Understand this error
85
+ error.js:58 [preprocessManual] Got: Objectx: "1.205513"y: "-1.566416"z: "0.215589"[[Prototype]]: Object
86
+ console.error @ error.js:58Understand this error
87
+ error.js:58 [preprocessManual] Tolerance: 0.001 m
88
+ console.error @ error.js:58Understand this err