Unlock instant, AI-driven research and patent intelligence for your innovation.

Scene map drawing method and computer storage medium

A computer storage and map drawing technology, applied in the computer field, to achieve the effect of simple and flexible drawing and reducing the space occupied

Active Publication Date: 2021-06-04
BEIJING XINTANG SICHUANG EDUCATIONAL TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, an embodiment of the present invention provides a scene map drawing method and a computer storage medium to solve the problem of how to quickly draw a scene map

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
  • Scene map drawing method and computer storage medium
  • Scene map drawing method and computer storage medium
  • Scene map drawing method and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0016] refer to figure 1 , shows a flow chart of steps of a method for drawing a scene map according to Embodiment 1 of the present invention.

[0017] The scene map drawing method of the present embodiment includes the following steps:

[0018] Step S102: Determine the position information of the unit to be drawn in the map grid of the scene map, and determine the drawing information of the unit to be drawn according to the position information.

[0019] Wherein, the drawing information includes map element configuration information of the unit to be drawn and map element attribute information of the unit to be drawn.

[0020] In this embodiment, the scene map includes, but is not limited to, a scene map of a game level, such as a scene map of a game level in an online classroom. The map grid of the scene map uses the grid as a unit to represent the quality of the scene map object or the spatial distribution of data features. The scene map can be divided into multiple units...

Embodiment 2

[0037] refer to figure 2 , shows a flow chart of steps of a method for drawing a scene map according to Embodiment 2 of the present invention.

[0038] The scene map drawing method of the present embodiment includes the following steps:

[0039] Step S202: Determine the background image and map grid of the scene map.

[0040] In this embodiment, the map grid and the background picture can be preset. For example, it can be determined that the drawn map grid is a 4*4 map grid, and the size of each unit in the map grid is 50*50 pixels , then the size of the background image can be 200*200 pixels. According to the 4*4 map grid, the background image can be divided into 16 50*50 images, which are drawn first, and then the subsequent map element drawing process is performed. But not limited thereto, in practical applications, if the size of the background picture does not match the map grid, the background picture may be scaled or cropped.

[0041] Of course, in this embodiment, ...

Embodiment 3

[0149] According to an embodiment of the present invention, a computer storage medium is provided, the computer storage medium is stored with: used to determine the position information of the unit to be drawn in the map grid of the scene map, and determine the position of the unit to be drawn according to the position information Instructions for drawing information, the drawing information includes map element configuration information of the unit to be drawn and map element attribute information of the unit to be drawn; used to determine the map element that needs to be performed in the unit to be drawn according to the map element configuration information An instruction for drawing operations; an instruction for acquiring a map element picture according to the map element configuration information, and drawing the map element picture in the unit to be drawn corresponding to the location information according to the map element attribute information.

[0150] Optionally, th...

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

An embodiment of the present invention provides a method for drawing a scene map and a computer storage medium, wherein the method for drawing a scene map includes: determining the drawing information according to the position information of the unit to be drawn, and then determining the map element configuration information that needs to be drawn The drawing unit performs the drawing operation of the map element, and then obtains the map element picture according to the map element configuration information in the drawing information, and draws the map element picture in the unit to be drawn according to the map element attribute information in the drawing information. Using the scene map drawing solution provided by the embodiment of the present invention, it is only necessary to pre-set multiple map element pictures and multiple map element attributes, and set map element configurations for each unit to be drawn in the scene map as needed when drawing the scene map Information and map element attribute information to complete the rapid drawing of the entire scene map.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular to a method for drawing a scene map and a computer storage medium. Background technique [0002] With the development of computer technology, it has become a trend to assist learning and teaching with the help of computers and networks. In order to increase students' interest in classroom knowledge, a way to assist in explaining knowledge points through different scene maps has been added to the classroom. For example, different knowledge point levels are made according to the content of knowledge points. The scene map allows students to deepen their understanding of knowledge points by constantly breaking through barriers. [0003] The current scene map is written directly according to the knowledge points. Each knowledge point can have multiple knowledge point levels, and each knowledge point level corresponds to a set of map programs. However, as...

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): G06F9/451G09B29/00
CPCG09B29/005G06F9/451
Inventor 康静静王雪林锋
Owner BEIJING XINTANG SICHUANG EDUCATIONAL TECH CO LTD