Game scene management method

A management method and game scene technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as increasing the complexity of game scene graphs, memory release errors, and seriousness, and achieve the effect of improving memory utilization.

Inactive Publication Date: 2011-10-12
无锡广新影视动画技术有限公司
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When there are many identical and similar scene objects in the game, for example, some large-scale games may have dozens or even hundreds of wild monsters of the same type or similar trees in one scene, the above implementation method greatly increases the complexity of the game scene graph And the memory waste is serious
In addition, in terms of memory management, complex reference relationships will lead to problems such as memory release errors and pointer errors

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
  • Game scene management method
  • Game scene management method
  • Game scene management method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The detailed description of the present invention directly or indirectly simulates the operation of the technical solution of the present invention mainly through programs, steps, logic blocks, processes or other symbolic descriptions. In the ensuing description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. Rather, the invention may be practiced without these specific details. These descriptions and representations herein are used by those skilled in the art to effectively convey the substance of their work to others skilled in the art. In other words, for the purpose of avoiding obscuring the present invention, well-known methods, procedures, components and circuits have not been described in detail since they are readily understood.

[0029] Reference herein to "one embodiment" or "an embodiment" refers to a particular feature, structure or characteristic that can be included in at least one implementa...

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 discloses a game scene management method for managing a scene graph in a game engine. The scene graph comprises a plurality of group nodes and leaf nodes which have parent-child relations, wherein parts of leaf nodes comprise reference counts. The method comprises the following steps that: when the game engine traverses the scene graph to reference one of the leaf nodes which comprise the reference counts for the first time, the game engine loads the leaf node to a memory space, obtains an address pointer and initializes the reference count of the leaf node; when the game engine references the leaf node once again, the game engine references the leaf node by the address pointer and increases the reference count of the leaf node; when the game engine finishes one-time reference of the leaf node and reduces the reference count of the leaf node; and when the reference count of the leaf node is smaller than an initial value of the reference count, the game engine releases the memory space occupied by the leaf node.

Description

【Technical field】 [0001] The invention relates to the field of game engines, in particular to a game scene management method. 【Background technique】 [0002] Games are an indispensable entertainment item in people's daily life. Behind almost every game now, there is a matching game engine. The game engine controls various resources in the game. Modern game engines basically include: Graphics engine , sound engine, physics engine, control engine, artificial intelligence or game logic, etc. [0003] The image engine is used to draw a specific game scene, wherein the game scene refers to the game picture displayed on the monitor. figure 1 A simple game scene 100 in the prior art is shown. Please refer to figure 1 As shown, the game scene 100 includes a LCD TV 102 , a TV box 104 , a TV cabinet 106 , a table 108 , a notebook 110 , a first cup 112 , a second cup 114 and a room 116 . When the image engine draws a game scene, it usually uses a scene graph to organize and manage ...

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): G06F19/00
Inventor 梁久祯许多袁旭东朱波
Owner 无锡广新影视动画技术有限公司
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