echarts-bot[bot] commented on issue #16763:
URL: https://github.com/apache/echarts/issues/16763#issuecomment-1081301529
@schzh 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**
[Bug] echarts-gl's 3D surface plot has an error when there is a large amount
of data, and the display is blank
**BODY**
### Version
2.0.9
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
When the amount of data reaches an order of magnitude, for example, the
x-coordinate is 0-1440 minutes in a day, the y-coordinate is 1-2000, and
1440*2000 is about less than 3 million, the 3D surface map is wrong, and a
blank is displayed. tooltips. No matter how low the impression is, there is no
problem with the amount of data below 500,000.
### Current Behavior
The 3D surface plot is wrong on the order of 500,000, and it's blank.
### Expected Behavior
A larger amount of data can be displayed, or an upper limit of the amount of
data can be given
### Environment
````markdown
- OS: WIN 10
- Browser: Chrome latest
- Framework:
````
### Any additional comments?
echarts-gl.min.js:1 Uncaught Error:
1: #define DIRECTIONAL_LIGHT_COUNT 1
2: #define AMBIENT_LIGHT_COUNT 1
3: #define TEXTUREATLAS_ENABLED
4: attribute vec3 position;
5:
6: attribute vec2 texcoord;
7:
8: attribute vec2 offset;
9:
10: #ifdef VERTEX_COLOR
11: attribute vec4 a_Color;
12:
13: varying vec4 v_Color;
14: #endif
15:
16: uniform mat4 worldViewProjection;
17:
18: uniform vec4 viewport;
19:
20:
21: varying vec2 v_Texcoord;
twenty two:
23: void main()
twenty four: {
25: vec4 proj = worldViewProjection * vec4(position, 1.0);
26:
27: vec2 screen = (proj.xy / abs(proj.w) + 1.0) * 0.5 * viewport.zw;
28:
29: screen += offset;
30:
31: proj.xy = (screen / viewport.zw - 0.5) * 2.0 * abs(proj.w);
32: gl_Position = proj;
33: #ifdef VERTEX_COLOR
34: v_Color = a_Color;
35: #endif
36: v_Texcoord = texcoord;
37: }
38:
at l.validateProgram (echarts-gl.min.js:1:58342)
at l.updatePrograms (echarts-gl.min.js:1:58726)
at l.renderPass (echarts-gl.min.js:1:59038)
at l.render (echarts-gl.min.js:1:57911)
at Ol._doRender (echarts-gl.min.js:1:427571)
at Ol.render (echarts-gl.min.js:1:425929)
at Ja._doRender (echarts-gl.min.js:1:254024)
at Ja.refresh (echarts-gl.min.js:1:253593)
at t.refresh (echarts.min.js:16:12838)
at t.refreshImmediately (echarts.min.js:11:3427)
[email protected]:1
[email protected]:1
renderPass @echarts-gl.min.js:1
[email protected]:1
[email protected]:1
[email protected]:1
[email protected]:1
[email protected]:1
[email protected]:16
[email protected]:11
[email protected]:11
[email protected]:11
[email protected]:10
[email protected]:10
arj40.htm:1 [.WebGL-02936E00] GL_OUT_OF_MEMORY: Internal D3D9 error:
HRESULT: 0x8876017C: Failed to allocate internal vertex buffer
8[.WebGL-02936E00] GL_CONTEXT_LOST_KHR: Context has been lost.
</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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]