上海城市模型 本地化

This commit is contained in:
hawk86104 2025-01-08 10:03:22 +08:00
parent f03f07b1ba
commit 8c04c43d84
3 changed files with 2 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -29,7 +29,7 @@ import importantBuildings from './importantBuildings.vue'
initMeshBvh()
const { scene }
= await useGLTF('https://opensource-1314935952.cos.ap-nanjing.myqcloud.com/model/digitalCity/shanghaiDraco.gltf',
= await useGLTF('./plugins/digitalCity/model/shanghaiDraco/shanghaiDraco.gltf',
{ draco: true, decoderPath: './draco/' },
)
// console.log(scene)