You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "544447 (via GitHub)" <gi...@apache.org> on 2023/04/14 05:39:28 UTC

[GitHub] [echarts] 544447 opened a new issue, #18512: [Question] 3d地球加载加载失效

544447 opened a new issue, #18512:
URL: https://github.com/apache/echarts/issues/18512

   ### Version
   
   5.4.2
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/zh/editor.html?c=globe-layers&gl=1&version=5.4.2
   
   ### Steps to Reproduce
   
   把官网案例复制到本地使用没有渲染出地球
   
   ### Current Behavior
   
   const echarts = require('echarts')
   
   // 3d 地球
   export function earthChart(chartId) {
     const myChart = echarts.init(document.getElementById(chartId))
     window.addEventListener('resize', () => {
       myChart.resize()
     })
   
     let option = {
       backgroundColor: '#000',
       globe: {
         baseTexture: require('./earth/earth.jpg'),
         heightTexture: require('./earth/bathymetry_bw_composite_4k.jpg'),
         shading: 'lambert',
         environment: require('./earth/starfield.jpg'),
         light: {
           ambient: {
             intensity: 0.1
           },
           main: {
             intensity: 1.5
           }
         },
         layers: [
           {
             type: 'blend',
             blendTo: 'emission',
             texture: require('./earth/night.jpg')
           },
           {
             type: 'overlay',
             texture: require('./earth/clouds.png'),
             shading: 'lambert',
             distance: 5
           }
         ]
       },
       series: []
     }
   
     myChart.setOption(option)
     myChart.off('click')
     myChart.on('click', (param) => {
     })
   }
   
   
   ### Expected Behavior
   
   渲染出地球
   
   ### Environment
   
   ```markdown
   - OS:win
   - Browser:chrome 112.0.5615.87
   - Framework:Vue@2.5.14
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] 544447 closed issue #18512: [Question] 3d地球加载加载失效

Posted by "544447 (via GitHub)" <gi...@apache.org>.
544447 closed issue #18512: [Question]  3d地球加载加载失效
URL: https://github.com/apache/echarts/issues/18512


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] helgasoft commented on issue #18512: [Question] 3d地球加载加载失效

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18512:
URL: https://github.com/apache/echarts/issues/18512#issuecomment-1507963828

   Minimal Reproduction provided is an official example and works fine.
   
   > Framework: Vue@2.5.14
   
   Likely the problem is with Vue or related settings.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] 544447 commented on issue #18512: [Question] 3d地球加载加载失效

Posted by "544447 (via GitHub)" <gi...@apache.org>.
544447 commented on issue #18512:
URL: https://github.com/apache/echarts/issues/18512#issuecomment-1507950115

   这是来自QQ邮箱的假期自动回复邮件。
    
   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] 544447 commented on issue #18512: [Question] 3d地球加载加载失效

Posted by "544447 (via GitHub)" <gi...@apache.org>.
544447 commented on issue #18512:
URL: https://github.com/apache/echarts/issues/18512#issuecomment-1507965536

   > Minimal Reproduction provided is an official example and works fine.
   > 
   > > Framework: Vue@2.5.14
   > 
   > Likely the problem is with Vue or related settings.
   
   Because I didn't introduce gl,hah


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] echarts-bot[bot] commented on issue #18512: [Question] 3d地球加载加载失效

Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #18512:
URL: https://github.com/apache/echarts/issues/18512#issuecomment-1507949846

   @544447 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Question] 3d earth loading failed
   
   **BODY**
   
   ### Version
   
   5.4.2
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/zh/editor.html?c=globe-layers&gl=1&version=5.4.2
   
   ### Steps to Reproduce
   
   Copy the official website case to local use without rendering the earth
   
   ### Current Behavior
   
   const echarts = require('echarts')
   
   // 3d Earth
   export function earthChart(chartId) {
     const myChart = echarts.init(document.getElementById(chartId))
     window. addEventListener('resize', () => {
       myChart. resize()
     })
   
     let option = {
       backgroundColor: '#000',
       Globe: {
         baseTexture: require('./earth/earth.jpg'),
         heightTexture: require('./earth/bathymetry_bw_composite_4k.jpg'),
         shading: 'lambert',
         environment: require('./earth/starfield.jpg'),
         light: {
           ambient: {
             intensity: 0.1
           },
           main: {
             intensity: 1.5
           }
         },
         layers: [
           {
             type: 'blend',
             blendTo: 'emission',
             texture: require('./earth/night.jpg')
           },
           {
             type: 'overlay',
             texture: require('./earth/clouds.png'),
             shading: 'lambert',
             distance: 5
           }
         ]
       },
       series: []
     }
   
     myChart. setOption(option)
     myChart.off('click')
     myChart.on('click', (param) => {
     })
   }
   
   
   ### Expected Behavior
   
   render the earth
   
   ### Environment
   
   ```markdown
   - OS: win
   - Browser: chrome 112.0.5615.87
   - Framework: Vue@2.5.14
   ```
   
   
   ### Any additional comments?
   
   _No response_
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org