Data display method and device
A data display and vertex data technology, applied in the field of data visualization, can solve problems such as low visualization efficiency, data display stuck phenomenon, slow program running, etc., to achieve fast and efficient assembly performance, improve visualization effects, and smooth loading effects.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment approach
[0043] The present invention provides a specific implementation of the vertex shader defined based on the WebGL 3D drawing protocol, which can be realized by the following program segments:
[0044] attribute vec4 position;
[0045]attribute float a_sprite_idx;
[0046] uniform mat4 modelViewMatrix;
[0047] uniform mat4 projectionMatrix;,
[0048] uniform float scale;
[0049] [0: northwest's x, 1: width, 2: height, 3: size, 4: offset x, 5: offset y]
[0050] uniform float uSprite[length];
[0051] varying vec3 v_texCoord;
[0052] void main(){
[0053] intidx=int(a_sprite_idx)*6;
[0054] float size = uSprite[idx+3];
[0055] vec2textOffset = vec2(u_sprite[idx+4], u_sprite[idx+5]);
[0056] vec4pos = vec4(position.x+textOffset.x*scale, position.y+ textOffset.y*scale, position.z, position.w);
[0057] gl_Position = projectionMatrix*modelViewMatrix*pos;
[0058] gl_PointSize = size;
[0059] v_texCoord=vec3(u_sprite[idx], u_sprite[idx+1], u_sprite[idx+2]);
[0060]...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com