Road condition drawing method, related device and client

A technology of road conditions and roads, applied in the field of computer graphics processing, can solve problems such as poor graphics effects, lack of flexibility, sawtooth hollows and voids, etc., to achieve the effect of avoiding low operating efficiency, improving display effect, and high operating efficiency

CN113223134APending Publication Date: 2021-08-06ALIBABA GRP HLDG LTD
0 Cites 1 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2021-08-06

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a road condition drawing method, a related device and a client. The method comprises the following steps: determining the width of a road condition texture required to be intercepted from a preset road condition texture template according to the preset road texture template; according to the width, intercepting the road condition texture with the corresponding width from the road condition texture template, wherein the intercepted road condition texture comprises a road condition color value; and mapping the intercepted road condition texture to a position corresponding to the end part of the road to be drawn. The width of the road condition width texture matched with the to-be-drawn road can be dynamically adjusted according to the actual road drawing requirement, so that the phenomenon of hollowness between the road width and the road condition width in the prior art is avoided, and the map graphical display effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the technical field of computer graphics processing, in particular to a road condition drawing method, a related device and a client. Background technique

[0002] The rendering pipeline, also known as the rendering pipeline, refers to a series of processing processes that the rendering screen needs to go through. Rendering pipelines can be divided into two categories, one is fixed pipelines and the other is programmable pipelines.

[0003] The fixed pipeline does not require and does not allow customizing the specific logic of vertex rendering and pixel rendering. It has solidified a complete rendering process inside. An example of a fixed pipeline rendering process generally includes the following functions:

[0004] 1. Vertex Transformation;

[0005] 2. Primitive Assembly and Rasterization;

[0006] 3. Fragment Texturing and Coloring;

[0007] 4. Raster Operations;

[0008] The programmable pipeline allows progr...

Examples

Embodiment Construction

[0058] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0059] Before describing the road condition rendering method provided by the embodiment of the present invention, a simple description will be given to the way of rendering road conditions in the prior art.

[0060] For example, refer to figure 1 As shown, the existing way of drawing road conditions (also known as real-time traffic information, TrafficMessage Channel, TMC) in the map is as follows: use the width of the road conditi...