mirror of
https://gitee.com/ice-gl/icegl-three-vue-tres.git
synced 2025-04-05 06:22:43 +08:00
上海城市模型 本地化
This commit is contained in:
parent
f03f07b1ba
commit
8c04c43d84
BIN
public/plugins/digitalCity/model/shanghaiDraco/shanghaiDraco.bin
Normal file
BIN
public/plugins/digitalCity/model/shanghaiDraco/shanghaiDraco.bin
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user