GPU-based color gradual change linear map symbol drafting method

A technique for map symbol drawing, color gradients, applied in directions such as filling planes with attributes, processor architecture/configuration, etc.

Inactive Publication Date: 2016-06-29
NANJING NORMAL UNIVERSITY
View PDF1 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method strictly depends on Shader programming. Different line symbols require a lot of programming in the Shader to achieve drawing; how to map variou

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • GPU-based color gradual change linear map symbol drafting method
  • GPU-based color gradual change linear map symbol drafting method
  • GPU-based color gradual change linear map symbol drafting method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0038] Compared with the straight line drawing in the traditional computer visualization field, due to the complexity of map symbols, the drawing of map vector line elements is more difficult; the traditional drawing of gradient color lines with multiple lines of different colors is difficult to meet The requirements of map drawing also caused the loss of spatial information transmission. Therefore, the present invention designs a GPUShader-based color gradient line map symbol drawing method to adapt to the color gradient drawing of different map symbols. Such as Figure 5 ,Three typical color gradient line map symbols and their effects when applied to vector line element drawing.

[0039] The following is a software method, in the C++ language and OpenGL environment, to realize the drawing of color gradient line map symbols based on GPUShader:

[0040] (1) Define the structure SymbolStructure to represent the symbol structure:

[0041] #defineMAX_COL_NUM16 / / How many column...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present invention relates to a symbolic rendering technology in the field of GIS and digital map, and provides a GPU-based method for drawing color-gradient linear map symbols, and realizes the color gradient of linear vector elements based on the method Efficient rendering and painting. The method includes the following steps: first determine the coordinate sequence of line elements to be drawn, initialize the line width, construct a triangulated line Mesh according to the line width, and transfer the U parameter along the line and the V parameter perpendicular to the line to the Mesh each vertex of . Generate a corresponding color structure table according to the map symbol units that need to be filled, and pass this structure color table and U‑V parameters to the Shader program. Using the Shader language, according to the U-V value on each vertex, the line elements are drawn pixel by pixel based on the specified color gradient function, thereby realizing the vector linear map symbol drawing with color gradient.

Description

technical field [0001] The present invention relates to a symbolic rendering technology in the field of GIS and digital map, provides a method for drawing color gradient line map symbols based on the GPU (Graphics Processing Unit) programmable pipeline Shader language, and realizes the line map symbol based on the method. High-quality rendering and drawing of shaped vector elements, and on the basis of ensuring smooth color gradients, improve drawing efficiency and perform scalable and configurable color gradient effects. Background technique [0002] The symbolization method of geospatial entities is an important research content in the field of geographic information and cartography. Compared with commonly used point symbols and surface symbols, line symbols are often more difficult and time-consuming because they need to be filled and drawn along the direction of linear elements. In addition to the commonly used solid lines and dashed lines, the line symbols required in ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06T1/20G06T11/40
CPCG06T1/20G06T11/40
Inventor 乐松山温永宁陈旻闾国年
Owner NANJING NORMAL UNIVERSITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products