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

Method and device for image processing

An image and data technology, applied in 3D image processing, image data processing, instruments, etc., can solve problems affecting terrain rendering efficiency, increase the complexity of terrain vertex data terrain surface processing, increase game loading time, etc., to speed up Effects of loading time, improving loading efficiency, and reducing complexity

Active Publication Date: 2017-04-12
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The disadvantage of the existing technology is: since the perspective only needs to provide the terrain outline, generally only a single-layer map is required, but the use of LOD technology increases the complexity of the generation of terrain vertex data and the processing of terrain breaking caused by LOD, thus Affects the rendering efficiency of the terrain, increasing the loading time of the game

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
  • Method and device for image processing
  • Method and device for image processing
  • Method and device for image processing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] see figure 1 , the embodiment of the present invention provides a method for processing images, including:

[0046] Step 101: When loading the game scene, obtain the perspective data in the game scene, the perspective data is composed of multiple units;

[0047] Step 102: Perform coarse-grained division of each unit in the perspective data according to preset rules to generate new perspective data;

[0048] Step 103: Carry out face-breaking processing on the new foreground data adjacent to the foreground data generated by the multi-level-of-detail technique.

[0049] Among them, obtain the vision data in the game scene, including:

[0050] Determine whether the distance between each unit in the game scene and the camera is greater than the preset threshold;

[0051] If yes, the unit is the perspective data, and acquire the perspective data.

[0052] In this embodiment, the new perspective data adjacent to the close-range data generated by the multi-level of detail t...

Embodiment 2

[0063] see figure 2 , the embodiment of the present invention provides a method for processing images, including:

[0064] Step 201: When the game scene is loaded, acquire the perspective data in the game scene.

[0065] In this embodiment, when loading the data scene, the foreground data and the foreground data are processed separately, and the existing multi-level of detail technology is still used for the foreground data, but for the foreground data, since the requirements for the foreground are not high, the foreground data is separately processed. The prospect data is taken out, and it is simply processed to reduce the generation of data.

[0066] Among them, the perspective data is composed of independent tiles (units). In the image processing, it is stipulated that the Tile whose distance from the camera is smaller than the preset threshold is used as the close-up processing, and the tile greater than the preset threshold is used as the perspective processing. The spe...

Embodiment 3

[0089] see Figure 5 , the embodiment of the present invention provides an image processing device, including: an acquisition module 301 , a generation module 302 , and a face-breaking processing module 303 .

[0090] Obtaining module 301, is used for when loading game scene, obtains the vision data in the game scene, and game scene is made up of a plurality of units;

[0091] A generating module 302, configured to perform coarse-grained division of each unit in the perspective data according to preset rules to generate new perspective data;

[0092] The face-breaking processing module 303 is configured to perform face-breaking processing on the new distant view data adjacent to the near view data generated by the multi-level of detail technique.

[0093] Among them, the obtaining module 301 is specifically used for:

[0094] Determine whether the distance between each unit in the game scene and the camera is greater than the preset threshold;

[0095] If yes, the unit is t...

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 present invention discloses a method and an apparatus for processing images, belonging to the field of games. The method comprises: when loading a game scene, obtaining long-range view data from the game scene, wherein the game scene is composed of a plurality of tiles; according to preset rules, performing coarse granularity division of each tile in the long-range view data, and generating new long-range view data; and performing broke surface treatment of the new long-range view data adjacent to close-range view data generated through a multi-detail level technology. In embodiments of the method and the apparatus for processing images, when the game scene data is being loaded, the long-range view data is separately processed without employing an LOD technology in the prior art, and generation of data is reduced, and complexity of data processing is lowered, and therefore loading efficiency is improved and loading time is shortened.

Description

technical field [0001] The invention relates to the field of games, in particular to a method and device for processing images. Background technique [0002] At present, online games are developing rapidly, and various online games are flooding the Internet. With the development of online games, gamers have higher and higher requirements for game scenes. They hope to find an immersive feeling in the game, so the terrain effect of game scenes is a problem that many game designers need to solve. [0003] At present, the method for displaying terrain in 3D games mainly adopts terrain LOD (Levels of Detail, multi-level of detail) technology. Among them, LOD technology refers to determining the resource allocation of object rendering according to the position and importance of the nodes of the object model in the display environment, reducing the number of faces and details of non-important objects, so as to obtain high-efficiency rendering operations. In a 3D game scene, the t...

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): G06T15/00
Inventor 吴彬宋立强
Owner TENCENT TECH (SHENZHEN) CO LTD
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