修改模型

qzc-dev
秦子超 2025-10-20 11:14:29 +08:00
parent 04728a9ca1
commit 8dc703eb58
16 changed files with 106 additions and 1272 deletions

View File

Before

Width:  |  Height:  |  Size: 205 KiB

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB

View File

Before

Width:  |  Height:  |  Size: 355 KiB

After

Width:  |  Height:  |  Size: 355 KiB

View File

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 68 KiB

View File

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 68 KiB

View File

@ -1736,16 +1736,16 @@
"alphaMode": "OPAQUE"
},
{
"name": "fallback Material",
"name": "node1",
"pbrMetallicRoughness": {
"baseColorFactor": [
0,
0,
0,
0.2541520943200296,
0.2541520943200296,
0.2541520943200296,
1
],
"metallicFactor": 0,
"roughnessFactor": 1
"roughnessFactor": 0
},
"emissiveFactor": [
0,

View File

@ -1,11 +0,0 @@
Model Information:
* title: El Pontón de la Oliva | PATONES, MADRID
* source: https://sketchfab.com/3d-models/el-ponton-de-la-oliva-patones-madrid-eb3cb2b70a8d439aa8abf598989315c3
* author: Arqueomodel3D (https://sketchfab.com/juanbrualla)
Model License:
* license type: CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)
* requirements: Author must be credited. Commercial use is allowed.
If you use this 3D model in your project be sure to copy paste this credit wherever you share it:
This work is based on "El Pontón de la Oliva | PATONES, MADRID" (https://sketchfab.com/3d-models/el-ponton-de-la-oliva-patones-madrid-eb3cb2b70a8d439aa8abf598989315c3) by Arqueomodel3D (https://sketchfab.com/juanbrualla) licensed under CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 MiB

View File

@ -114,6 +114,11 @@ export default class Map3D extends BaseMap {
skyAtmosphere: false,//去掉球边缘
});
viewer.clock.currentTime = Cesium.JulianDate.fromIso8601('2000-01-01T04:00:07Z');//设置当前时间
// setTimeout(() => {
// viewer.clock.currentTime = Cesium.JulianDate.fromIso8601('2000-07-01T04:00:07Z');//设置当前时间
// }, 4000);
//设置地表透明
let globe = viewer.scene.globe;
globe.depthTestAgainstTerrain = false;//关闭深度测试
@ -123,6 +128,7 @@ export default class Map3D extends BaseMap {
viewer.scene.globe.enableLighting = false; //关闭光照
viewer.scene.light.intensity = 12 //默认光源强度,太低了模型显示效果差
viewer.shadows = false;//关闭阴影
viewer.scene.globe.depthTestAgainstTerrain = false;//解决地形遮挡entity问题
@ -239,11 +245,11 @@ export default class Map3D extends BaseMap {
this.layerMgr = new LayerMgr3D(viewer);
this.demo = new Demo3D()
this.demo.getGltf(viewer) //模型
this.demo.getWxyx(viewer) //卫星影像
this.demo.getQxsy(viewer) //倾斜摄影
this.demo.getDem(viewer) //地形图
this.demo.getWxyx(viewer) //卫星影像
// this.demo.getCzml2(viewer) //demo
// this.demo.getGltf(viewer) //模型
// this.demo.getWater(viewer)//简单淹没分析
// this.demo.getWater2(viewer)
// this.demo.getRlt2(viewer)

File diff suppressed because one or more lines are too long

View File

@ -221,7 +221,8 @@ function ShuikuMarker({ data, dispatch, setting, zoom, distSq }) {
bottom: 0,
left: 0,
transformOrigin: 'bottom center',
transform: `translateX(-50%)${markerZoom > 1 ? ' scale(' + markerZoom + ')' : ''}`,
// transform: `translateX(-50%)${markerZoom > 1 ? ' scale(' + markerZoom + ')' : ''}`,
transform: 'translateX(-50%) scale(1.2)',
lineHeight: 1,
zIndex: zindexmarker.shuiku + zindexOffset + (highlight ? zindexmarker.hilightPlus : 0),
cursor:"pointer"

View File

@ -45,6 +45,9 @@ const Page = ({ showPanels }) => {
const demo = new Demo3D()
demo.getCzml2(mapObj)
// setTimeout(() => {
// mapObj.clock.currentTime = Cesium.JulianDate.fromIso8601('2000-01-01T04:00:03Z');
// }, 2000);
}else{
mapObj.dataSources._dataSources.forEach(dataSource => {
if (dataSource.name === 'CZML1111') { // 确保你知道你想要移除的数据源名称