| /* |
| title: ECharts-GL Hello World |
| category: globe |
| titleCN: ECharts-GL Hello World |
| scripts: 'https://cdn.jsdelivr.net/gh/ecomfe/echarts-gl/dist/echarts-gl.min.js' |
| */ |
| |
| option = { |
| backgroundColor: '#000', |
| globe: { |
| baseTexture: ROOT_PATH + "/data-gl/asset/world.topo.bathy.200401.jpg", |
| heightTexture: ROOT_PATH + "/data-gl/asset/world.topo.bathy.200401.jpg", |
| displacementScale: 0.04, |
| shading: 'realistic', |
| environment: ROOT_PATH + '/data-gl/asset/starfield.jpg', |
| realisticMaterial: { |
| roughness: 0.9 |
| }, |
| postEffect: { |
| enable: true |
| }, |
| light: { |
| main: { |
| intensity: 5, |
| shadow: true |
| }, |
| ambientCubemap: { |
| texture: ROOT_PATH + '/data-gl/asset/pisa.hdr', |
| diffuseIntensity: 0.2 |
| } |
| } |
| } |
| }; |