Upload log.md
Browse files
log.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
| 2 |
preprocess_manual.js:16 [preprocess_manual.js] ===== MODULE LOADING =====
|
| 3 |
main.js:16 [MAIN] DOMContentLoaded fired
|
| 4 |
main.js:269 [MAIN] Calling setupPathsFromUrlOrSelect...
|
|
@@ -16,37 +18,85 @@ 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 |
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/
|
| 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:
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
main.js:277 [MAIN] After pathResult:
|
| 31 |
-
main.js:278 - gsPath: blob:http://127.0.0.1:5500/
|
| 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/
|
| 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/
|
| 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/
|
| 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,33 +106,120 @@ main.js:541 [MAIN] preprocessManual called, waiting for promise...
|
|
| 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:
|
| 60 |
-
|
| 61 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
preprocess_manual.js:1080 [PCA] Is aligned with world axes: false
|
| 63 |
-
preprocess_manual.js:
|
| 64 |
-
preprocess_manual.js:
|
| 65 |
-
|
| 66 |
-
preprocess_manual.js:
|
| 67 |
-
|
| 68 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
index.html:624 Live reload enabled.
|
| 4 |
preprocess_manual.js:16 [preprocess_manual.js] ===== MODULE LOADING =====
|
| 5 |
main.js:16 [MAIN] DOMContentLoaded fired
|
| 6 |
main.js:269 [MAIN] Calling setupPathsFromUrlOrSelect...
|
|
|
|
| 18 |
main.js:175 [MAIN] ===== Manual mode button clicked! =====
|
| 19 |
main.js:178 [MAIN] Opening manual file input...
|
| 20 |
main.js:184 [MAIN] ===== Manual file input changed! =====
|
| 21 |
+
main.js:186 [MAIN] File object:
|
| 22 |
+
File
|
| 23 |
+
lastModified
|
| 24 |
+
:
|
| 25 |
+
1765861881968
|
| 26 |
+
lastModifiedDate
|
| 27 |
+
:
|
| 28 |
+
Tue Dec 16 2025 14:11:21 GMT+0900 (日本標準時) {}
|
| 29 |
+
name
|
| 30 |
+
:
|
| 31 |
+
"fountain_trim7.ply"
|
| 32 |
+
size
|
| 33 |
+
:
|
| 34 |
+
65171963
|
| 35 |
+
type
|
| 36 |
+
:
|
| 37 |
+
""
|
| 38 |
+
webkitRelativePath
|
| 39 |
+
:
|
| 40 |
+
""
|
| 41 |
+
[[Prototype]]
|
| 42 |
+
:
|
| 43 |
+
File
|
| 44 |
main.js:190 [MAIN] Manual file selected: fountain_trim7.ply Extension: ply
|
| 45 |
main.js:198 [MAIN] Reading manual file...
|
| 46 |
main.js:201 [MAIN] Manual file read complete, size: 65171963
|
| 47 |
main.js:209 [MAIN] Manual mode file loaded: fountain_trim7.ply
|
| 48 |
+
main.js:210 [MAIN] gsPath: blob:http://127.0.0.1:5500/5ac93bf8-fcb6-4d78-adb0-a7f5ccae3a75
|
| 49 |
main.js:211 [MAIN] gsFileName: fountain_trim7.ply
|
| 50 |
main.js:110 [MAIN] Hiding select UI
|
| 51 |
main.js:215 [MAIN] ===== Resolving with MANUAL MODE =====
|
| 52 |
+
main.js:261 [MAIN] File load promise resolved:
|
| 53 |
+
Object
|
| 54 |
+
gsPath
|
| 55 |
+
:
|
| 56 |
+
"blob:http://127.0.0.1:5500/5ac93bf8-fcb6-4d78-adb0-a7f5ccae3a75"
|
| 57 |
+
gvrmPath
|
| 58 |
+
:
|
| 59 |
+
undefined
|
| 60 |
+
manualMode
|
| 61 |
+
:
|
| 62 |
+
true
|
| 63 |
+
[[Prototype]]
|
| 64 |
+
:
|
| 65 |
+
Object
|
| 66 |
+
main.js:271 [MAIN] setupPathsFromUrlOrSelect returned:
|
| 67 |
+
Object
|
| 68 |
+
gsPath
|
| 69 |
+
:
|
| 70 |
+
"blob:http://127.0.0.1:5500/5ac93bf8-fcb6-4d78-adb0-a7f5ccae3a75"
|
| 71 |
+
gvrmPath
|
| 72 |
+
:
|
| 73 |
+
undefined
|
| 74 |
+
manualMode
|
| 75 |
+
:
|
| 76 |
+
true
|
| 77 |
+
[[Prototype]]
|
| 78 |
+
:
|
| 79 |
+
Object
|
| 80 |
main.js:277 [MAIN] After pathResult:
|
| 81 |
+
main.js:278 - gsPath: blob:http://127.0.0.1:5500/5ac93bf8-fcb6-4d78-adb0-a7f5ccae3a75
|
| 82 |
main.js:279 - gvrmPath: undefined
|
| 83 |
main.js:280 - isManualMode: true
|
| 84 |
main.js:283 [MAIN] Initializing renderer...
|
| 85 |
main.js:289 [MAIN] Initializing camera...
|
| 86 |
main.js:316 [MAIN] Initializing scene...
|
| 87 |
main.js:323 [MAIN] Three.js initialization complete
|
| 88 |
+
main.js:506 [MAIN] Processing GS file: blob:http://127.0.0.1:5500/5ac93bf8-fcb6-4d78-adb0-a7f5ccae3a75
|
| 89 |
main.js:507 [MAIN] Manual mode: true
|
| 90 |
main.js:519 [MAIN] fileName: fountain_trim7.gvrm
|
| 91 |
main.js:529 [MAIN] ===== STARTING MANUAL PREPROCESSING MODE =====
|
| 92 |
main.js:530 [MAIN] Parameters:
|
| 93 |
main.js:531 - vrmPath: ./assets/sotai.vrm
|
| 94 |
+
main.js:532 - gsPath: blob:http://127.0.0.1:5500/5ac93bf8-fcb6-4d78-adb0-a7f5ccae3a75
|
| 95 |
main.js:533 - fileName: fountain_trim7.gvrm
|
| 96 |
preprocess_manual.js:977 [preprocessManual] ===== FUNCTION CALLED =====
|
| 97 |
preprocess_manual.js:978 [preprocessManual] Parameters:
|
| 98 |
preprocess_manual.js:979 vrmPath: ./assets/sotai.vrm
|
| 99 |
+
preprocess_manual.js:980 gsPath: blob:http://127.0.0.1:5500/5ac93bf8-fcb6-4d78-adb0-a7f5ccae3a75
|
| 100 |
preprocess_manual.js:981 fileName: fountain_trim7.gvrm
|
| 101 |
preprocess_manual.js:984 [preprocessManual] Creating Promise...
|
| 102 |
preprocess_manual.js:84 [createManualUI] Creating manual preprocessing UI...
|
|
|
|
| 106 |
preprocess_manual.js:991 [preprocessManual] UI initialized, starting manual process...
|
| 107 |
preprocess_manual.js:1005 [preprocessManual] PLY loaded: 262784 vertices
|
| 108 |
preprocess_manual.js:1011 [preprocessManual] ===== ANALYZING PLY COORDINATE SYSTEM =====
|
| 109 |
+
preprocess_manual.js:1026 [PCA] Center:
|
| 110 |
+
Object
|
| 111 |
+
x
|
| 112 |
+
:
|
| 113 |
+
-0.2652678845128372
|
| 114 |
+
y
|
| 115 |
+
:
|
| 116 |
+
1.1990953609667259
|
| 117 |
+
z
|
| 118 |
+
:
|
| 119 |
+
0.923559379148402
|
| 120 |
+
[[Prototype]]
|
| 121 |
+
:
|
| 122 |
+
Object
|
| 123 |
+
preprocess_manual.js:1052 [PCA] Covariance matrix:
|
| 124 |
+
Object
|
| 125 |
+
cxx
|
| 126 |
+
:
|
| 127 |
+
"0.38"
|
| 128 |
+
cxy
|
| 129 |
+
:
|
| 130 |
+
"0.18"
|
| 131 |
+
cxz
|
| 132 |
+
:
|
| 133 |
+
"0.09"
|
| 134 |
+
cyy
|
| 135 |
+
:
|
| 136 |
+
"1.10"
|
| 137 |
+
cyz
|
| 138 |
+
:
|
| 139 |
+
"1.00"
|
| 140 |
+
czz
|
| 141 |
+
:
|
| 142 |
+
"1.24"
|
| 143 |
+
[[Prototype]]
|
| 144 |
+
:
|
| 145 |
+
Object
|
| 146 |
+
preprocess_manual.js:1067 [PCA] Variance ratios:
|
| 147 |
+
Object
|
| 148 |
+
x
|
| 149 |
+
:
|
| 150 |
+
"14.0%"
|
| 151 |
+
y
|
| 152 |
+
:
|
| 153 |
+
"40.4%"
|
| 154 |
+
z
|
| 155 |
+
:
|
| 156 |
+
"45.6%"
|
| 157 |
+
[[Prototype]]
|
| 158 |
+
:
|
| 159 |
+
Object
|
| 160 |
preprocess_manual.js:1080 [PCA] Is aligned with world axes: false
|
| 161 |
+
preprocess_manual.js:1113 [preprocessManual] ===== STARTING AUTO-ALIGNMENT =====
|
| 162 |
+
preprocess_manual.js:1117 [DEBUG] Original vertices reference:
|
| 163 |
+
Array(262784)
|
| 164 |
+
preprocess_manual.js:1118 [DEBUG] Original first vertex:
|
| 165 |
+
Object
|
| 166 |
+
x
|
| 167 |
+
:
|
| 168 |
+
"-0.738219"
|
| 169 |
+
y
|
| 170 |
+
:
|
| 171 |
+
"0.244090"
|
| 172 |
+
z
|
| 173 |
+
:
|
| 174 |
+
"0.748940"
|
| 175 |
+
[[Prototype]]
|
| 176 |
+
:
|
| 177 |
+
Object
|
| 178 |
+
preprocess_manual.js:1127 [preprocessManual] Step 1: Calculating center of mass...
|
| 179 |
+
preprocess_manual.js:1142 [DEBUG] Center of mass:
|
| 180 |
+
Object
|
| 181 |
+
x
|
| 182 |
+
:
|
| 183 |
+
"-0.265268"
|
| 184 |
+
y
|
| 185 |
+
:
|
| 186 |
+
"1.199095"
|
| 187 |
+
z
|
| 188 |
+
:
|
| 189 |
+
"0.923559"
|
| 190 |
+
[[Prototype]]
|
| 191 |
+
:
|
| 192 |
+
Object
|
| 193 |
+
preprocess_manual.js:1148 [DEBUG] First vertex BEFORE centering:
|
| 194 |
+
Object
|
| 195 |
+
x
|
| 196 |
+
:
|
| 197 |
+
"-0.738219"
|
| 198 |
+
y
|
| 199 |
+
:
|
| 200 |
+
"0.244090"
|
| 201 |
+
z
|
| 202 |
+
:
|
| 203 |
+
"0.748940"
|
| 204 |
+
[[Prototype]]
|
| 205 |
+
:
|
| 206 |
+
Object
|
| 207 |
+
preprocess_manual.js:1157 [preprocessManual] Step 2: Centering PLY (in-place modification)...
|
| 208 |
+
preprocess_manual.js:1166 [DEBUG] First vertex AFTER centering:
|
| 209 |
+
Object
|
| 210 |
+
x
|
| 211 |
+
:
|
| 212 |
+
"-0.472951"
|
| 213 |
+
y
|
| 214 |
+
:
|
| 215 |
+
"-0.955005"
|
| 216 |
+
z
|
| 217 |
+
:
|
| 218 |
+
"-0.174620"
|
| 219 |
+
[[Prototype]]
|
| 220 |
+
:
|
| 221 |
+
Object
|
| 222 |
+
preprocess_manual.js:1173 [DEBUG] Vertices reference after centering:
|
| 223 |
+
Array(262784)
|
| 224 |
+
preprocess_manual.js:1174 [DEBUG] Is same reference? true
|
| 225 |
preprocess_manual.js:1179 [preprocessManual] Step 3: Verifying centering...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|