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

Object loading method and device in scene, storage medium and electronic equipment

A technology of objects and scenes, applied in the computer field, can solve problems such as the loading process takes too long

Pending Publication Date: 2020-10-20
SHANGHAI MIHOYO TIANMING TECH CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In current online games, each scene includes a large number of objects, such as buildings, characters, landscapes, etc. When the user's character performs the scene, the loading process of the objects in the scene takes too long

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
  • Object loading method and device in scene, storage medium and electronic equipment
  • Object loading method and device in scene, storage medium and electronic equipment
  • Object loading method and device in scene, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] figure 1 It is a schematic flowchart of a method for loading objects in a scene provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of dynamically loading objects in a scene in an online game. This method can be executed by the method provided by the embodiment of the present invention. Specifically Including the following steps:

[0028] S110. Acquire preloaded object index information in the current scene, where the object index information includes a first position of each object in the current scene.

[0029] S120. Determine a current visible object set of the target object based on the second position of the target object in the current scene, a preset visible range, and the first position of each object in the object index information.

[0030] S130. Load visible objects in the current visible object set.

[0031] In an online game, multiple scenes may be included, and each scene may include multiple objects, such as...

Embodiment 2

[0053] Figure 4 It is a schematic flowchart of a method for loading objects in a scene provided by Embodiment 2 of the present invention, which is optimized on the basis of the above embodiments, and the method specifically includes:

[0054] S210. Acquire preloaded object index information in the current scene, where the object index information includes a first position of each object in the current scene.

[0055] S220. Determine a current visible object set of the target object based on the second position of the target object in the current scene, a preset visible range, and the first position of each object in the object index information.

[0056] S230. Determine the loading priority of each of the visible objects according to at least one of the current viewing angle of the target object, the size of the visible object, and the distance between the visible object and the target object.

[0057] S240. Load each of the visible objects based on the loading priority.

...

Embodiment 3

[0065] Figure 5 It is a schematic structural diagram of an object loading device in a scene provided by Embodiment 3 of the present invention, and the device includes:

[0066] An index information acquisition module 310, configured to acquire preloaded object index information in the current scene, wherein the object index information includes a first position of each object in the current scene;

[0067] A visible object set determination module 320, configured to determine the current visible object set of the target object based on the second position of the target object in the current scene, the preset visible range, and the first position of each object in the object index information ;

[0068] The visible object loading module 330 is configured to load the visible objects in the current visible object set.

[0069]Optionally, the visible object set determining module 320 includes:

[0070] An area segmentation unit, configured to iteratively perform tree-shaped ar...

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 an object loading method and device in a scene, a storage medium and electronic equipment. The method comprises the steps: acquiring pre-loaded object index information in a current scene, wherein the object index information comprises first positions of all objects in the current scene; determining a current visible object set of the target object based on a second position of the target object in the current scene, a preset visible range and the first position of each object in the object index information; and loading the visible objects in the current visible objectset. According to the invention, dynamic loading of each object in the scene based on the position information of the target object is realized, synchronous loading of all objects in the scene is replaced, the object loading pertinence is improved on the basis of ensuring the object integrity of the visible area of the target scene, and the object loading pressure is reduced.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular to a method, device, storage medium and electronic equipment for loading objects in a scene. Background technique [0002] With the continuous development of computer technology, online games are accepted by more and more users, and the requirements for online games are also getting higher and higher. [0003] In current online games, each scene includes a large number of objects, such as buildings, characters, landscapes, etc. When the user's character performs the scene, the loading process of the objects in the scene takes too long. Contents of the invention [0004] The invention provides an object loading method, device, storage medium and electronic equipment in a scene, which can dynamically load the objects in the scene. [0005] In the first aspect, the embodiment of the present invention provides a method for loading objects in a scene, i...

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): A63F13/52
CPCA63F13/52
Inventor 余洋
Owner SHANGHAI MIHOYO TIANMING TECH CO LTD