diff --git a/.project b/.project index 714da39..c3a5c86 100644 --- a/.project +++ b/.project @@ -24,5 +24,14 @@ 1.0-name-matches-false-false-node_modules + + 1611555258146 + + 26 + + org.eclipse.ui.ide.multiFilter + 1.0-name-matches-false-false-node_modules + + diff --git a/Examples/3dtiles.html b/Examples/3dtiles.html index b56169c..17c073a 100644 --- a/Examples/3dtiles.html +++ b/Examples/3dtiles.html @@ -6,7 +6,7 @@ - 地形加载 + 3dtiles + + + + +
+ + + + + \ No newline at end of file diff --git "a/Examples/czml_\345\212\250\346\200\201\350\267\257\345\276\204.html" "b/Examples/czml_\345\212\250\346\200\201\350\267\257\345\276\204.html" index 3eb302e..e47de70 100644 --- "a/Examples/czml_\345\212\250\346\200\201\350\267\257\345\276\204.html" +++ "b/Examples/czml_\345\212\250\346\200\201\350\267\257\345\276\204.html" @@ -6,7 +6,7 @@ - CZML动态路径 + czml_动态路径
- + + + + + +
+ + + + + + \ No newline at end of file diff --git "a/Examples/\345\234\260\345\275\242.html" "b/Examples/\345\234\260\345\275\242.html" index 0f439d7..f168435 100644 --- "a/Examples/\345\234\260\345\275\242.html" +++ "b/Examples/\345\234\260\345\275\242.html" @@ -27,13 +27,13 @@
+ + + + + + +
+ + + + \ No newline at end of file diff --git "a/Examples/\346\226\271\351\207\217\350\256\241\347\256\227.html" "b/Examples/\346\226\271\351\207\217\350\256\241\347\256\227.html" new file mode 100644 index 0000000..6156408 --- /dev/null +++ "b/Examples/\346\226\271\351\207\217\350\256\241\347\256\227.html" @@ -0,0 +1,194 @@ + + + + + + + + 方量计算 + + + + + + + + + + +
+ + + + \ No newline at end of file diff --git "a/Examples/\346\235\220\350\264\250_\345\212\250\346\200\201\345\233\276\347\211\207.html" "b/Examples/\346\235\220\350\264\250_\345\212\250\346\200\201\345\233\276\347\211\207.html" index 424dc9f..84dd92f 100644 --- "a/Examples/\346\235\220\350\264\250_\345\212\250\346\200\201\345\233\276\347\211\207.html" +++ "b/Examples/\346\235\220\350\264\250_\345\212\250\346\200\201\345\233\276\347\211\207.html" @@ -6,7 +6,7 @@ - Entity实体 + 材质_动态图片 + + + + +
+ + + + + \ No newline at end of file diff --git "a/Examples/\346\265\201\345\212\250\347\272\271\347\220\206.html" "b/Examples/\346\265\201\345\212\250\347\272\271\347\220\206.html" index 78273b0..3d62dd2 100644 --- "a/Examples/\346\265\201\345\212\250\347\272\271\347\220\206.html" +++ "b/Examples/\346\265\201\345\212\250\347\272\271\347\220\206.html" @@ -110,11 +110,13 @@ {\n\ czm_material material = czm_getDefaultMaterial(materialInput);\n\ vec2 st = materialInput.st;\n\ - vec4 colorImage = texture2D(image, vec2(fract(st.s - time), st.t));\n\ + vec4 colorImage = texture2D(image, vec2(fract(st.s), st.t));\n\ material.alpha = colorImage.a * color.a;\n\ material.diffuse = (colorImage.rgb+color.rgb)/2.0;\n\ return material;\n\ }"; + + //vec4 colorImage = texture2D(image, vec2(fract(st.s - time), st.t));\n\ Cesium.Material._materialCache.addMaterial(Cesium.Material.PolylineTrailLinkType, { fabric: { type: Cesium.Material.PolylineTrailLinkType, @@ -136,7 +138,7 @@ positions: Cesium.Cartesian3.fromDegreesArrayHeights([104, 30, 1000, 114, 30, 100000, 114, 50, 1000000]), - width: 15, + width: 5, material: new Cesium.PolylineTrailLinkMaterialProperty(Cesium.Color.ORANGE, 3000) } }); diff --git "a/Examples/\346\270\220\345\217\230\345\273\272\347\255\221\347\211\251.html" "b/Examples/\346\270\220\345\217\230\345\273\272\347\255\221\347\211\251.html" index 4374342..9b4cb4f 100644 --- "a/Examples/\346\270\220\345\217\230\345\273\272\347\255\221\347\211\251.html" +++ "b/Examples/\346\270\220\345\217\230\345\273\272\347\255\221\347\211\251.html" @@ -118,8 +118,8 @@ let values = elevationRamp; let grd = isVertical ? ctx.createLinearGradient(0, 0, 0, 100) : ctx.createLinearGradient(0, 0, 100, 0); - grd.addColorStop(values[0], 'rgba(255,255,255,1)'); //black - grd.addColorStop(values[1], 'rgba(0,0,0,1)'); //white + grd.addColorStop(values[0], 'rgba(255,255,255,0.5)'); //black + grd.addColorStop(values[1], 'rgba(0,0,0,0.5)'); //white ctx.globalAlpha = 0.3; ctx.fillStyle = grd; diff --git "a/Examples/\346\270\220\345\217\230\347\272\271\347\220\206.html" "b/Examples/\346\270\220\345\217\230\347\272\271\347\220\206.html" index a560ba4..060a205 100644 --- "a/Examples/\346\270\220\345\217\230\347\272\271\347\220\206.html" +++ "b/Examples/\346\270\220\345\217\230\347\272\271\347\220\206.html" @@ -6,7 +6,7 @@ - 视频贴图 + 渐变纹理 + + + + +
+ + + + \ No newline at end of file diff --git a/README.md b/README.md index 0052366..715a37d 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,15 @@ Cesium示例,包括可视域分析、动画、渲染等 2. 绘制各种emtity 3. 绘制各种primitive 4. 添加材质,包括动画、动态图片和闪烁材质 -5. 添加雷达扫描效果,已经雷达范围 +5. 添加雷达扫描效果,以及雷达范围 6. 动态扩散点 7. 动态立体墙 8. 渐变建筑物 -9. 可视域分析,包括地形和3DTiles(类似有超图的可视域分析暂未上传,参考可与作者联系) +9. 可视域分析,包括地形和3DTiles 10. 设置视场角大小 11. 日照分析 12. 添加空间三角形 +13. 站心坐标转WGS84(已知A点经纬度,以A点为站心观测到B点仰角为elevation,方位角为azimuth,距离为distance,求B点坐标) +14. 地形开挖 +15. 方量计算 +16. FlowLine Style diff --git a/Source/Images/excavate_bottom_min.jpg b/Source/Images/excavate_bottom_min.jpg new file mode 100644 index 0000000..192da09 Binary files /dev/null and b/Source/Images/excavate_bottom_min.jpg differ diff --git a/Source/Images/excavate_side_min.jpg b/Source/Images/excavate_side_min.jpg new file mode 100644 index 0000000..08ebd76 Binary files /dev/null and b/Source/Images/excavate_side_min.jpg differ