refactor: 整理资源文件,添加legacy路由

- 将原版文件移到frontend/legacy/3dearthmult/
- 纹理文件移到frontend/public/earth/assets/
- vite.config添加/legacy/earth路由支持
- earth.js纹理路径改为assets/
This commit is contained in:
rayd1o
2026-03-19 11:10:33 +08:00
parent f50830712c
commit c2eba54da0
13 changed files with 36 additions and 1916 deletions

File diff suppressed because it is too large Load Diff

View File

Before

Width:  |  Height:  |  Size: 4.4 MiB

After

Width:  |  Height:  |  Size: 4.4 MiB

View File

Before

Width:  |  Height:  |  Size: 18 MiB

After

Width:  |  Height:  |  Size: 18 MiB

File diff suppressed because one or more lines are too long

View File

@@ -28,7 +28,7 @@ export function createEarth(scene) {
scene.add(earth);
const textureUrls = [
'./8k_earth_daymap.jpg',
'./assets/8k_earth_daymap.jpg',
'https://raw.githubusercontent.com/mrdoob/three.js/dev/examples/textures/planets/earth_atmos_2048.jpg',
'https://threejs.org/examples/textures/planets/earth_atmos_2048.jpg',
'https://assets.codepen.io/982762/earth_texture_2048.jpg'

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long