diff --git a/mars3d-vue3-cli/src/App.vue b/mars3d-vue3-cli/src/App.vue index 68eae15..caa686a 100644 --- a/mars3d-vue3-cli/src/App.vue +++ b/mars3d-vue3-cli/src/App.vue @@ -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 }) } @@ -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 @@ -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, // 控制水波振幅的数字。 diff --git a/mars3d-vue3-vite/src/App.vue b/mars3d-vue3-vite/src/App.vue index a3f142e..84e9922 100644 --- a/mars3d-vue3-vite/src/App.vue +++ b/mars3d-vue3-vite/src/App.vue @@ -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 }) } @@ -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 @@ -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, // 控制水波振幅的数字。