Fast drawing method of multi-level war-game map based on blocking structure

A multi-level, map technology, applied in image data processing, 2D image generation, instruments, etc., can solve the problems of inconvenient and efficient processing, low calculation efficiency, etc., achieve fast drawing speed, solve display lag, and remove redundant calculations Effect

Active Publication Date: 2016-07-06
INST OF SOFTWARE - CHINESE ACAD OF SCI
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existing technical methods are limited by the spatial expression ability or computing power, which is not convenient for efficient processing of such a large-scale complex situation, and the computing efficiency is not high

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
  • Fast drawing method of multi-level war-game map based on blocking structure
  • Fast drawing method of multi-level war-game map based on blocking structure
  • Fast drawing method of multi-level war-game map based on blocking structure

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Such as Figure 4 As shown, the present invention includes three stages: the first stage is to create the template tile; the second stage is to determine the tile resolution; the third stage is to display the tile.

[0029] The steps in the first phase are as follows:

[0030] 1) Create a hexagonal grid in which the number of hexagonal units (hexagonal grid resolution) in the X and Y axis directions is k (k is an integer multiple of 2) as a template block. Each unit in this template block is a regular hexagon with side length 1. The coordinates of the lower left vertex of the minimum axial bounding box of the template block are (0,0). The six vertex coordinates of each cell are calculated in turn. The calculation order can be set to process each unit from left to right and bottom to top. Inside each unit, all 6 vertices are calculated in counterclockwise order starting from the lower left vertex.

[0031] If the vertex coordinates of the template block are stored i...

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 fast drawing method of a multi-level war-game map based on a blocking structure. The fast drawing method comprises the steps of: establishing a hexagonal grid template block; calculating all vertex positions in the hexagonal grid template block and storing; calculating the number of splicing blocks needed in directions X and Y according to a resolution ratio of a hexagonal grid needing to draw; drawing each splicing block one by one. According to the fast drawing method of the multi-level war-game map based on the blocking structure, the reusability characteristics of the hexagonal grid on geometric structures and material attributes are discovered, the redundant calculation is reduced, the calculation speed is improved so that the speed of drawing a large-scale hexagonal grid is real-time.

Description

technical field [0001] The invention belongs to the field of computer simulation technology and computer graphics technology, and in particular relates to the fast drawing of multi-level structure based on block organization of wargame map. Background technique [0002] The digital processing of wargame map is an important link in the realization of computer wargame system. It performs hexagonal gridding on the entire or partial terrain area, and converts terrain information into the attributes of the hexagonal grid unit faces or edges according to certain rules for use by wargame pieces. In practical applications, in order to accurately reflect terrain information, hexagonal grids often have a large number of hexagonal units and have various material properties (color, line width, etc.). The calculation of edge and surface rendering of a large number of different materials often becomes the bottleneck restricting the display efficiency of the visual system, but the current...

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 Applications(China)
IPC IPC(8): G06T11/00
CPCG06T11/00
Inventor 李静王文成张瀚刘格林徐永志
Owner INST OF SOFTWARE - CHINESE ACAD OF SCI
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