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

A large-scale text sign drawing method based on opengl instantiation technology

An instantiated, high-volume technique

Active Publication Date: 2022-07-08
NAVAL UNIV OF ENG PLA
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, two-dimensional vector text drawing engines (such as AGG, Qt, etc.) are used to draw a large number of signs, but due to the limited CPU performance, it is difficult to meet the growing demand for data display. Therefore, the drawing efficiency of two-dimensional vector text drawing engines is low; In addition, the powerful rendering performance of the GPU is used to render the two-dimensional scene signage, but in the actual test, due to the CPU-GPU data transmission bottleneck, the traditional OpenGL (Open Graphics Library, cross-language, cross-platform application programming interface) text rendering method still cannot solve the large text sign drawing performance problem

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
  • A large-scale text sign drawing method based on opengl instantiation technology
  • A large-scale text sign drawing method based on opengl instantiation technology
  • A large-scale text sign drawing method based on opengl instantiation technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments, but the embodiments should not be construed as limiting the present invention.

[0027] like figure 1 As shown, the present invention based on the OpenGL instantiation technology large-scale text sign drawing method, includes the following steps:

[0028] Step 1), in the memory of the graphics card, assign each character involved in all text signs to a corresponding character buffer array, each of which includes the character code of a unique key value, character description information (the character The description information includes character color, character size, character font), N screen coordinate values ​​corresponding to the N screen coordinate positions of the character, and the N screen coordinate values ​​are sorted according to the assigned different coordinate indices;

[0029] Step 2), the text signs to be drawn are divi...

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 discloses a large-scale text sign drawing method based on OpenGL instantiation technology. The method includes the following steps: allocating a character buffer array in the memory of the graphics card; dividing the text signs to be drawn into a created text sign, an updated text sign, and a deleted text sign; respectively generating the creation character set, the original character set before updating, After the update, the new character set and the deletion type character set are constructed; the creation type character instruction set, the update type character instruction set, and the deletion type character instruction set are respectively constructed; the instructions will be executed in the order of "deletion" and "increase" in turn; call OpenGL to instantiate The rendering function uses the GPU to render each character, that is, to complete the drawing of the text sign. The invention converts the drawing of text signs into character addition or deletion, thereby reducing the drawing workload; on the other hand, in the memory of the computer graphics card, a character buffer array with character encoding as a unique key value is established to realize the rapid drawing of large quantities of text signs .

Description

technical field [0001] The invention relates to the technical field of navigation information, in particular to a method for drawing large-scale text signs based on OpenGL instantiation technology. Background technique [0002] In the marine information system, the target sign can display key information such as the target's model, nationality, and navigation information, and is an indispensable part of the ship's information system. At present, the total number of various types of ships and ships in my country, as well as the total number of international ships of more than 300 gross tonnage in the world has exceeded 1 million, and the number of marine activities ships is 400,000 to 500,000. Therefore, in order to support the smooth operation of the information system in the navigation field and provide users with excellent Experience requires the development of efficient signage drawing methods. [0003] At present, two-dimensional vector text drawing engines (such as AGG,...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06T11/60G06F16/31G06F40/216
CPCG06T11/60G06F40/216G06F16/316
Inventor 刘立国王永生夏兵郭勇樊诚
Owner NAVAL UNIV OF ENG PLA
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