Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 various complex line map symbols to GPU pixel calculations is not given. method, and how to deal with the drawing of color gradient line map symbols is also not involved

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 invention relates to a symbolism rendering technology in the fields of a GIS and a digital map, and brings forward a GPU-based color gradual change linear map symbol drafting method, for realizing high-efficiency rendering and drafting of color gradual change of linear vector elements on the basis of the method. The method comprises the following steps: first of all, a linear element coordinate sequence needing to be drafted is determined, linewidth size is initialized, a line Mesh after triangularization is constructed according to linewidth, and a U parameter in the direction of the line and a V parameter in a direction vertical to the line are transmitted to each summit in the Mesh. A corresponding color structure table is generated according to a gap symbol unit needing to be filled up, and the structure color table and the U-V parameters are transmitted to a Shader program. By use of a Shader language, according to U-V values at each summit, based on a specified color gradual change function, the linear elements are drafted pixel by pixel, and thus vector linear map symbols with gradually changing colors are drafted.

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products