diff --git a/examples/cesiumEx/2.4.7、人工模型.html b/examples/cesiumEx/2.4.7、人工模型.html new file mode 100644 index 00000000..4836f49d --- /dev/null +++ b/examples/cesiumEx/2.4.7、人工模型.html @@ -0,0 +1,54 @@ + + + + +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/examples/cesiumEx/2.4.8、风力发电机.html b/examples/cesiumEx/2.4.8、风力发电机.html new file mode 100644 index 00000000..d22690b7 --- /dev/null +++ b/examples/cesiumEx/2.4.8、风力发电机.html @@ -0,0 +1,95 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/examples/cesiumEx/8.1.6、六边形网格.html b/examples/cesiumEx/8.1.6、六边形网格.html new file mode 100644 index 00000000..212fc354 --- /dev/null +++ b/examples/cesiumEx/8.1.6、六边形网格.html @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/examples/cesiumEx/config.js b/examples/cesiumEx/config.js index 04d321db..7f359bbe 100644 --- a/examples/cesiumEx/config.js +++ b/examples/cesiumEx/config.js @@ -11,7 +11,7 @@ var exampleConfig = { content: { "maxssp": { name: "综合应用", - name_en: "base", + name_en: "ba22222se", content: [ { name: "", @@ -94,6 +94,30 @@ var exampleConfig = { // }, ] }, + "maxs111sp": { + name: "常用工具", + name_en: "常用工具", + content: [ + { + name: "Goejson", + name_en: "Goejson", + thumbnail: "Goejson.jpg", + fileName: "https://geojson.io/" + }, + { + name: "mapshaper", + name_en: "mapshaper", + thumbnail: "mapshaper.jpg", + fileName: "https://mapshaper.org/" + }, + { + name: "sketchfab", + name_en: "sketchfab", + thumbnail: "sketchfab.jpg", + fileName: " https://sketchfab.com/feed" + }, + ] + }, } }, "base": { @@ -553,7 +577,18 @@ var exampleConfig = { thumbnail: "2.4.6、点击获取子节点.jpg", fileName: "2.4.6、点击获取子节点" }, - + { + name: "2.4.7、人工模型", + name_en: "2.4.7、人工模型", + thumbnail: "2.4.7、人工模型.jpg", + fileName: "2.4.7、人工模型" + }, + { + name: "2.4.8、风力发电机", + name_en: "2.4.8、风力发电机", + thumbnail: "2.4.8、风力发电机.jpg", + fileName: "2.4.8、风力发电机" + }, ] }, } diff --git a/examples/cesiumEx/img/2.4.7、人工模型.jpg b/examples/cesiumEx/img/2.4.7、人工模型.jpg new file mode 100644 index 00000000..0fb61fae Binary files /dev/null and b/examples/cesiumEx/img/2.4.7、人工模型.jpg differ diff --git a/examples/cesiumEx/img/2.4.8、风力发电机.jpg b/examples/cesiumEx/img/2.4.8、风力发电机.jpg new file mode 100644 index 00000000..70e2d291 Binary files /dev/null and b/examples/cesiumEx/img/2.4.8、风力发电机.jpg differ diff --git a/examples/cesiumEx/img/Goejson.jpg b/examples/cesiumEx/img/Goejson.jpg new file mode 100644 index 00000000..b2622840 Binary files /dev/null and b/examples/cesiumEx/img/Goejson.jpg differ diff --git a/examples/cesiumEx/img/mapshaper.jpg b/examples/cesiumEx/img/mapshaper.jpg new file mode 100644 index 00000000..c4a2c166 Binary files /dev/null and b/examples/cesiumEx/img/mapshaper.jpg differ diff --git a/examples/cesiumEx/img/sketchfab.jpg b/examples/cesiumEx/img/sketchfab.jpg new file mode 100644 index 00000000..9755de17 Binary files /dev/null and b/examples/cesiumEx/img/sketchfab.jpg differ diff --git a/examples/cesiumEx/sd.glb b/examples/cesiumEx/sd.glb new file mode 100644 index 00000000..78b79fe5 Binary files /dev/null and b/examples/cesiumEx/sd.glb differ diff --git a/examples/cesiumEx/tunnel_road/license.txt b/examples/cesiumEx/tunnel_road/license.txt new file mode 100644 index 00000000..f10ad58a --- /dev/null +++ b/examples/cesiumEx/tunnel_road/license.txt @@ -0,0 +1,11 @@ +Model Information: +* title: Tunnel Road +* source: https://sketchfab.com/3d-models/tunnel-road-9022ca0e48924aad96123389d5322a7d +* author: Low poly 3d Models (https://sketchfab.com/lowpoly3dmodels) + +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 "Tunnel Road" (https://sketchfab.com/3d-models/tunnel-road-9022ca0e48924aad96123389d5322a7d) by Low poly 3d Models (https://sketchfab.com/lowpoly3dmodels) licensed under CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/) \ No newline at end of file diff --git a/examples/cesiumEx/tunnel_road/scene.bin b/examples/cesiumEx/tunnel_road/scene.bin new file mode 100644 index 00000000..bc5b51de Binary files /dev/null and b/examples/cesiumEx/tunnel_road/scene.bin differ diff --git a/examples/cesiumEx/tunnel_road/scene.gltf b/examples/cesiumEx/tunnel_road/scene.gltf new file mode 100644 index 00000000..98277c42 --- /dev/null +++ b/examples/cesiumEx/tunnel_road/scene.gltf @@ -0,0 +1,221 @@ +{ + "accessors": [ + { + "bufferView": 2, + "componentType": 5126, + "count": 674, + "max": [ + 248.3740692138672, + 15.668434143066406, + 14.045370101928711 + ], + "min": [ + -248.3740692138672, + 2.578251361846924, + -48.543540954589844 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 8088, + "componentType": 5126, + "count": 674, + "max": [ + 0.9396920204162598, + 1.0, + 1.0 + ], + "min": [ + -0.9396951198577881, + -0.9999979138374329, + -1.0 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "componentType": 5126, + "count": 674, + "max": [ + 10.767580032348633, + 0.9981496930122375 + ], + "min": [ + -9.767580032348633, + 0.0035341978073120117 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "componentType": 5125, + "count": 2064, + "type": "SCALAR" + } + ], + "asset": { + "extras": { + "author": "Low poly 3d Models (https://sketchfab.com/lowpoly3dmodels)", + "license": "CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)", + "source": "https://sketchfab.com/3d-models/tunnel-road-9022ca0e48924aad96123389d5322a7d", + "title": "Tunnel Road" + }, + "generator": "Sketchfab-16.10.0", + "version": "2.0" + }, + "bufferViews": [ + { + "buffer": 0, + "byteLength": 8256, + "name": "floatBufferViews", + "target": 34963 + }, + { + "buffer": 0, + "byteLength": 5392, + "byteOffset": 8256, + "byteStride": 8, + "name": "floatBufferViews", + "target": 34962 + }, + { + "buffer": 0, + "byteLength": 16176, + "byteOffset": 13648, + "byteStride": 12, + "name": "floatBufferViews", + "target": 34962 + } + ], + "buffers": [ + { + "byteLength": 29824, + "uri": "scene.bin" + } + ], + "images": [ + { + "uri": "textures/tunnel_road_texture_baseColor.jpeg" + } + ], + "materials": [ + { + "doubleSided": true, + "name": "tunnel_road_texture", + "pbrMetallicRoughness": { + "baseColorTexture": { + "index": 0 + }, + "metallicFactor": 0.0, + "roughnessFactor": 0.6 + } + } + ], + "meshes": [ + { + "name": "tunnel_2_tunnel_road_texture_0", + "primitives": [ + { + "attributes": { + "NORMAL": 1, + "POSITION": 0, + "TEXCOORD_0": 2 + }, + "indices": 3, + "material": 0, + "mode": 4 + } + ] + } + ], + "nodes": [ + { + "children": [ + 1 + ], + "matrix": [ + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 2.220446049250313e-16, + -1.0, + 0.0, + 0.0, + 1.0, + 2.220446049250313e-16, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "name": "Sketchfab_model" + }, + { + "children": [ + 2 + ], + "matrix": [ + 0.009999999776482582, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.009999999776482582, + 0.0, + 0.0, + -0.009999999776482582, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "name": "dacd20ca2e674f39a5e9eae13b016a21.fbx" + }, + { + "children": [ + 3 + ], + "name": "RootNode" + }, + { + "children": [ + 4 + ], + "name": "tunnel_2" + }, + { + "mesh": 0, + "name": "tunnel_2_tunnel_road_texture_0" + } + ], + "samplers": [ + { + "magFilter": 9729, + "minFilter": 9987, + "wrapS": 10497, + "wrapT": 10497 + } + ], + "scene": 0, + "scenes": [ + { + "name": "Sketchfab_Scene", + "nodes": [ + 0 + ] + } + ], + "textures": [ + { + "sampler": 0, + "source": 0 + } + ] +} diff --git a/examples/cesiumEx/tunnel_road/textures/tunnel_road_texture_baseColor.jpeg b/examples/cesiumEx/tunnel_road/textures/tunnel_road_texture_baseColor.jpeg new file mode 100644 index 00000000..f24f6d47 Binary files /dev/null and b/examples/cesiumEx/tunnel_road/textures/tunnel_road_texture_baseColor.jpeg differ diff --git a/examples/cesiumEx/隧道.html b/examples/cesiumEx/隧道.html new file mode 100644 index 00000000..7072165a --- /dev/null +++ b/examples/cesiumEx/隧道.html @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/examples/js/example.js b/examples/js/example.js index 9aeb331f..ef42c3f4 100644 --- a/examples/js/example.js +++ b/examples/js/example.js @@ -123,8 +123,8 @@ function createGalleryChart(example) { var chartDiv = $(""); var chart = $(""); - if (href == '1、优雅永不过时') { - var link = $(""); + if (href.indexOf('http') >-1 ) { + var link = $(""); } else { var link = $(""); } diff --git a/examples/template/header.html b/examples/template/header.html index 6e8f9c54..b0d8c84e 100644 --- a/examples/template/header.html +++ b/examples/template/header.html @@ -44,18 +44,22 @@