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

Scene map drawing method and computer storage medium

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

Active Publication Date: 2019-10-11
BEIJING XINTANG SICHUANG EDUCATIONAL TECH CO LTD
View PDF4 Cites 3 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

[0150] 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.

[0151] 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

The embodiment of the invention provides a scene map drawing method and a computer storage medium. The scene map drawing method comprises the following steps: drawing a scene map, determining drawinginformation according to the position information of the to-be-drawn unit, and determining that map element drawing operation needs to be carried out in the to-be-drawn unit according to map element configuration information in the drawing information, obtaining a map element picture according to the map element configuration information in the drawing information, and drawing the map element picture in the to-be-drawn unit according to map element attribute information in the drawing information. Using the scene map drawing scheme provided by the embodiment of the invention, only the map element pictures and the map element attributes need to be preset, and the map element configuration information and the map element attribute information are set for each to-be-drawn unit in the scene map according to needs when the scene map is drawn, so that the rapid drawing of the whole scene map can be completed.

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 knowledge points, and 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 Applications(China)
IPC IPC(8): G06F9/451G09B29/00
CPCG09B29/005G06F9/451
Inventor 康静静王雪林锋
Owner BEIJING XINTANG SICHUANG EDUCATIONAL TECH CO LTD