Skip to content

Commit

Permalink
修改cdn地址
Browse files Browse the repository at this point in the history
  • Loading branch information
muyao1987 committed Dec 19, 2021
1 parent 1fdec27 commit 1515638
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions mars3d-vue3-cli/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const testApi = {
plane: new Cesium.Plane(Cesium.Cartesian3.UNIT_Z, 0.0),
dimensions: new Cesium.Cartesian2(4000.0, 4000.0),
material: mars3d.MaterialUtil.createMaterialProperty(mars3d.MaterialType.Image, {
image: "https://cdn.jsdelivr.net/gh/marsgis/mars3d-es5-example/example/gh/marsgis/mars3d-es5-example/example/img/textures/movingRiver.png",
image: "https://cdn.jsdelivr.net/gh/marsgis/mars3d-es5-example/example/img/textures/movingRiver.png",
transparent: true
})
}
Expand Down Expand Up @@ -267,7 +267,7 @@ const testApi = {
diffHeight: 500,
// 动画线材质
material: mars3d.MaterialUtil.createMaterialProperty(mars3d.MaterialType.LineFlow, {
image: "https://cdn.jsdelivr.net/gh/marsgis/mars3d-es5-example/example/gh/marsgis/mars3d-es5-example/example/img/textures/fence.png",
image: "https://cdn.jsdelivr.net/gh/marsgis/mars3d-es5-example/example/img/textures/fence.png",
color: "#00ff00",
speed: 10,
axisY: true
Expand Down Expand Up @@ -305,7 +305,7 @@ const testApi = {
],
style: {
material: mars3d.MaterialUtil.createMaterialProperty(mars3d.MaterialType.Water, {
normalMap: "https://cdn.jsdelivr.net/gh/marsgis/mars3d-es5-example/example/gh/marsgis/mars3d-es5-example/example/img/textures/waterNormals.jpg", // 水正常扰动的法线图
normalMap: "https://cdn.jsdelivr.net/gh/marsgis/mars3d-es5-example/example/img/textures/waterNormals.jpg", // 水正常扰动的法线图
frequency: 8000.0, // 控制波数的数字。
animationSpeed: 0.02, // 控制水的动画速度的数字。
amplitude: 5.0, // 控制水波振幅的数字。
Expand Down
6 changes: 3 additions & 3 deletions mars3d-vue3-vite/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const testApi = {
plane: new Cesium.Plane(Cesium.Cartesian3.UNIT_Z, 0.0),
dimensions: new Cesium.Cartesian2(4000.0, 4000.0),
material: mars3d.MaterialUtil.createMaterialProperty(mars3d.MaterialType.Image, {
image: 'https://cdn.jsdelivr.net/gh/marsgis/mars3d-es5-example/example/gh/marsgis/mars3d-es5-example/example/img/textures/movingRiver.png',
image: 'https://cdn.jsdelivr.net/gh/marsgis/mars3d-es5-example/example/img/textures/movingRiver.png',
transparent: true
})
}
Expand Down Expand Up @@ -265,7 +265,7 @@ const testApi = {
diffHeight: 500,
// 动画线材质
material: mars3d.MaterialUtil.createMaterialProperty(mars3d.MaterialType.LineFlow, {
image: 'https://cdn.jsdelivr.net/gh/marsgis/mars3d-es5-example/example/gh/marsgis/mars3d-es5-example/example/img/textures/fence.png',
image: 'https://cdn.jsdelivr.net/gh/marsgis/mars3d-es5-example/example/img/textures/fence.png',
color: '#00ff00',
speed: 10,
axisY: true
Expand Down Expand Up @@ -303,7 +303,7 @@ const testApi = {
],
style: {
material: mars3d.MaterialUtil.createMaterialProperty(mars3d.MaterialType.Water, {
normalMap: 'https://cdn.jsdelivr.net/gh/marsgis/mars3d-es5-example/example/gh/marsgis/mars3d-es5-example/example/img/textures/waterNormals.jpg', // 水正常扰动的法线图
normalMap: 'https://cdn.jsdelivr.net/gh/marsgis/mars3d-es5-example/example/img/textures/waterNormals.jpg', // 水正常扰动的法线图
frequency: 8000.0, // 控制波数的数字。
animationSpeed: 0.02, // 控制水的动画速度的数字。
amplitude: 5.0, // 控制水波振幅的数字。
Expand Down

0 comments on commit 1515638

Please sign in to comment.