Method and device for placing virtual models

By automatically determining the placement position of the virtual model in the preset terrain, the problems of low efficiency and poor effect of virtual model placement in the prior art are solved, and a more efficient and more suitable placement effect is achieved.

CN114782642BActive Publication Date: 2025-02-07ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210364855.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-08
Publication Date
2025-02-07
Estimated Expiration
2042-04-08

AI Technical Summary

Technical Problem

In the prior art, the placement efficiency of virtual models is inefficient and ineffective, and cannot fit closely with the scene terrain, affecting the scene details effect.

Method used

By responding to the virtual model placement request, the target virtual model and preset terrain are determined, and the model placement position information is automatically determined based on the terrain attribute information and model attribute information, and the virtual model is placed based on the information.

Benefits of technology

The placement efficiency and effect of virtual models is improved, the need for manual adjustment is avoided, and the virtual model and terrain are better fitted.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114782642B_ABST
    Figure CN114782642B_ABST
Patent Text Reader

Abstract

The present application provides a method and device for placing a virtual model, wherein the method for placing a virtual model includes: determining a target virtual model and a preset terrain in response to a virtual model placement request; determining model placement position information based on terrain attribute information of the preset terrain and model attribute information of the target virtual model; and placing the target virtual model according to the model placement position information. The virtual model placement method of the present application, after determining the preset terrain and the target virtual model, automatically determines the placement position of the target virtual model in the preset terrain based on the terrain attribute information of the preset terrain and the model attribute information of the target virtual model, thereby avoiding the situation of manually adjusting the model placement position, improving the placement efficiency of the virtual model, and the placement effect of the virtual model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and more particularly to a method for placing a virtual model. The present application also relates to a device for placing a virtual model, a computing device, and a computer-readable storage medium. Background Art

[0002] With the development of Internet technology, users have higher and higher requirements for the details of the pictures in games, movies, etc. In the process of making games, movies and other scenes, the placement of virtual models needs to be modified according to the different terrains in the scene, so that the virtual models can be displayed more realistically and improve the user's viewing experience.

[0003] Currently, virtual models are usually placed manually, but the workload of manual placement is extremely large, the processing efficiency is low, and the manually placed virtual models cannot fit well with the terrain in the scene, affecting the detail effect of the scene.

[0004] Therefore, how to improve the placement efficiency and placement effect of virtual models has become a technical problem that needs to be urgently solved by technical personnel in this field. Summary of the invention

[0005] In view of this, the embodiment of the present application provides a method for placing a virtual model to solve the technical defects existing in the prior art. The embodiment of the present application also provides a device for placing a virtual model, a computing device, and a computer-readable storage medium.

[0006] According to a first aspect of an embodiment of the present application, a method for placing a virtual model is provided, comprising:

[0007] determining a target virtual model and a preset terrain in response to a virtual model placement request;

[0008] Determining model placement position information based on terrain attribute information of the preset terrain and model attribute information of the target virtual model;

[0009] The target virtual model is placed according to the model placement position information.

[0010] Optionally, before determining the model placement position information based on the terrain attribute information of the preset terrain and the model attribute information of the target virtual model, the method further includes:

[0011] Determining a preset conversion rule, and converting the preset terrain into at least one target terrain based on the preset conversion rule;

[0012] Get the terrain attribute information of each target terrain.

[0013] Optionally, the determining the model placement position information based on the terrain attribute information of the preset terrain and the model attribute information of the target virtual model includes:

[0014] Acquire terrain length information and terrain width information of each target terrain, and model length information and model width information of the target virtual model;

[0015] Determine the model position information of the target virtual model according to the terrain length information, the terrain width information, the model length information and the model width information;

[0016] Model placement position information is determined based on the model position information.

[0017] Optionally, determining the model placement position information based on the model position information includes:

[0018] Creating a target bounding box of the target terrain based on the model position information, and acquiring bounding box position information of the target bounding box;

[0019] The bounding box position information is used as model placement position information of the target virtual model.

[0020] Optionally, determining the model position information of the target virtual model according to the terrain length information, the terrain width information, the model length information and the model width information includes:

[0021] When the difference between the terrain length information and the model length information is less than or equal to a length difference threshold, and the difference between the terrain width information and the model width information is less than or equal to a width difference threshold, using the terrain position information of the target terrain as the model position information of the target virtual model;

[0022] When the difference between the terrain length information and the model length information is greater than the length difference threshold, segmenting the target terrain based on the model length information to obtain a first-length terrain and a second-length terrain, and using the terrain position information of the first-length terrain as the model position information of the target virtual model, wherein the terrain length information of the first-length terrain is consistent with the model length information;

[0023] When the difference between the terrain width information and the model width information is greater than the width difference threshold, the target terrain is segmented based on the model width information to obtain a first width terrain and a second width terrain, and the terrain position information of the first width terrain is used as the model position information of the target virtual model, wherein the terrain width information of the first width terrain is consistent with the model width information.

[0024] Optionally, the method further comprises:

[0025] Determine a virtual model to be processed based on the terrain length information of the second-length terrain in the virtual model data set, and use the terrain position information of the second-length terrain as the model position information of the virtual model to be processed;

[0026] A virtual model to be processed is determined based on the terrain length information of the second width terrain in the virtual model data set, and the terrain position information of the second width terrain is used as the model position information of the virtual model to be processed.

[0027] Optionally, placing the target virtual model according to the model placement position information includes:

[0028] Acquire model attribute information of the target virtual model and the model placement information to create a virtual model point set;

[0029] A target virtual model is placed in the preset terrain according to the virtual model point set.

[0030] Optionally, after placing the target virtual model according to the model placement position information, the method further includes:

[0031] Acquire a model bottom surface of the target virtual model, and create a target ray between the model bottom surface and the preset terrain;

[0032] The target virtual model is moved toward the preset terrain based on the length information of the target ray.

[0033] Optionally, after placing the target virtual model according to the model placement position information, the method further includes:

[0034] The target virtual model is displaced upward, and the model bottom surface of the target virtual model is mapped to a preset terrain to obtain a mapped bottom surface;

[0035] The proportion of the non-model area in the mapping bottom surface is determined, and an adjustment strategy for the target virtual model is determined based on the proportion of the non-model area.

[0036] Optionally, after placing the target virtual model according to the model placement position information, the method further includes:

[0037] Determining the degree of overlap between the target virtual model and the virtual model to be processed;

[0038] When the overlap exceeds a preset overlap threshold, the target virtual model is moved or deleted.

[0039] According to a second aspect of an embodiment of the present application, a virtual model placement device is provided, comprising:

[0040] A first determination module is configured to determine a target virtual model and a preset terrain in response to a virtual model placement request;

[0041] A second determining module is configured to determine model placement position information based on terrain attribute information of the preset terrain and model attribute information of the target virtual model;

[0042] The placement module is configured to place the target virtual model according to the model placement position information.

[0043] According to a third aspect of an embodiment of the present application, a computing device is provided, including:

[0044] Memory and processor;

[0045] The memory is used to store computer executable instructions, and the processor implements the steps of the virtual model placement method when executing the computer executable instructions.

[0046] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of the virtual model placement method are implemented.

[0047] According to a fifth aspect of an embodiment of the present application, a chip is provided, which stores a computer program, and when the computer program is executed by the chip, the steps of the virtual model placement method are implemented.

[0048] The virtual model placement method provided in the present application determines the target virtual model and the preset terrain in response to the virtual model placement request; determines the model placement position information based on the terrain attribute information of the preset terrain and the model attribute information of the target virtual model; and places the target virtual model according to the model placement position information. After determining the preset terrain and the target virtual model, the placement position of the target virtual model in the preset terrain is automatically determined based on the terrain attribute information of the preset terrain and the model attribute information of the target virtual model, thereby avoiding the situation of manually adjusting the model placement position, improving the virtual model placement efficiency, and the virtual model placement effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 It is a flow chart of a method for placing a virtual model provided in one embodiment of the present application;

[0050] Figure 2 It is a schematic diagram of a processing flow of a method for placing a virtual model applied to a cliff model according to an embodiment of the present application;

[0051] Figure 3 It is a structural schematic diagram of a virtual model placement device provided in one embodiment of the present application;

[0052] Figure 4 It is a structural block diagram of a computing device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0053] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.

[0054] The terms used in one or more embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of the present application. The singular forms of "a", "said" and "the" used in one or more embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of the present application refers to and includes any or all possible combinations of one or more associated listed items.

[0055] It should be understood that, although the terms first, second, etc. may be used to describe various information in one or more embodiments of the present application, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of the present application, the first may also be referred to as the second, and similarly, the second may also be referred to as the first.

[0056] First, the terms involved in one or more embodiments of the present invention are explained.

[0057] High poly: refers to more detailed 3D modeling, that is, a virtual model generated by a higher number of points, lines, and surfaces.

[0058] White model: refers to a relatively simple 3D modeling, that is, a virtual model generated by a relatively small number of points, lines, and surfaces.

[0059] Mesh: is a component in Unity, called a mesh component. In layman's terms, mesh refers to the mesh of a model. A 3D model is made up of polygons, and polygons are actually made up of multiple triangles. So the surface of a 3D model is actually made up of multiple triangular faces connected to each other. In three-dimensional space, the collection of points and edges that make up these triangles is a mesh.

[0060] Voxelization: It is to convert the geometric representation of an object into a voxel representation that is closest to the object to generate a volume data set. In this scheme, it is used to simplify the virtual model and obtain a uniform grid.

[0061] vdb: is the file format of the virtual model file obtained after voxelization of the virtual model.

[0062] Bool: Boolean operations are digital symbolic logic deduction methods, including union, intersection, and subtraction. This logic operation method is used in graphics processing operations to combine simple basic graphics to produce new shapes, and has developed from two-dimensional Boolean operations to three-dimensional graphics Boolean operations.

[0063] Unity: It is a real-time 3D interactive content creation and operation platform. The Unity platform provides a complete set of software solutions that can be used to create, operate and monetize any real-time interactive 2D and 3D content.

[0064] terrain: refers to the terrain editing component in Unity.

[0065] In the present application, a method for placing a virtual model is provided. The present application also relates to a virtual model placing device, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.

[0066] Figure 1 A flowchart of a method for placing a virtual model according to an embodiment of the present application is shown, which specifically includes the following steps:

[0067] Step 102: Determine a target virtual model and a preset terrain in response to a virtual model placement request.

[0068] Among them, a virtual model placement request refers to a request to place a virtual model in a preset terrain. For example, in a game scene, after changing the terrain of the game scene, the virtual model on the terrain needs to be adjusted synchronously, thereby generating a virtual model placement request; a target virtual model refers to a virtual model that needs to be displayed based on the terrain. For example, a mountain cliff virtual model needs to be placed according to the transformation of the mountain terrain. For example, a forest virtual model needs to be placed according to the transformation of the terrain, and so on; in actual applications, a virtual model set can be determined based on the virtual model placement request, and the virtual model set contains at least one virtual model. Each virtual model in the virtual model set can be used as a target virtual model, and subsequently virtual models that can be placed in the preset terrain can be screened in the virtual model set; a preset terrain refers to a terrain created based on the terrain requirements of a virtual scene, such as a virtual basin terrain, a virtual plateau terrain, and so on.

[0069] It should be noted that the preset terrain in the present application refers to the terrain on which the virtual model can be placed; if the terrain to be processed is obtained and it is not determined whether the virtual model can be placed, the preset area can be determined based on the non-model placement area and the terrain to be processed, such as obtaining the scene terrain A and the non-model placement area (such as lake areas, river areas, etc.), and determining the terrain on which the cliff can be placed in the scene terrain A according to the non-model placement area.

[0070] In addition, in order to improve the calculation efficiency of subsequent placement, two types of target virtual models can be determined, including high-modulus target virtual models and white-modulus target virtual models; when placing the target virtual model, the model attribute information corresponding to the white-modulus target virtual model is obtained. Since the model attribute information corresponding to the white-modulus target virtual model is less, it is convenient for the subsequent calculation of the placement position of the target virtual model; after determining the placement position of the target model, the white-modulus target virtual model can be replaced by the high-modulus target virtual model. By displaying the high-modulus target virtual model containing more model details, the display effect of the target virtual model is guaranteed while improving the calculation efficiency.

[0071] Specifically, a virtual model placement request is received, and the virtual model placement request is parsed to obtain a virtual model identifier and a terrain identifier; a target virtual model is determined based on the virtual model identifier, or a virtual model data set is determined based on the virtual model identifier, in which the target virtual model can be determined; and a preset terrain is obtained according to the terrain identifier.

[0072] Furthermore, in order to place the target virtual model in the preset terrain, before determining the model placement position information based on the terrain attribute information of the preset terrain and the model attribute information of the target virtual model, the following may also be included:

[0073] Determining a preset conversion rule, and converting the preset terrain into at least one target terrain based on the preset conversion rule;

[0074] Get the terrain attribute information of each target terrain.

[0075] Among them, the preset conversion rules refer to the rules that can be used to convert the preset terrain; the target terrain refers to part of the terrain in the preset terrain; the terrain attribute information refers to the attribute information related to the target terrain, such as terrain length information, terrain width information, terrain position information, etc.

[0076] For example, use the conversion plug-in to convert the terrain created by the terrain component in Unity into mesh format, and divide the mesh into four parts according to the positive x positive z negative x negative z axis. The virtual model can be placed according to the direction and size of the mesh later. Since the terrain created by the terrain component in Unity has a poor display effect, the terrain created by the terrain component can be exported into mesh format.

[0077] By determining the preset terrain and the target virtual model, the target virtual model can be subsequently placed in the preset terrain.

[0078] Step 104: Determine model placement position information based on the terrain attribute information of the preset terrain and the model attribute information of the target virtual model.

[0079] Among them, terrain attribute information refers to attribute information related to the terrain, such as terrain length information, terrain width information, terrain position information, etc.; model attribute information refers to attribute information related to the virtual model, such as virtual model length information, virtual model width information, etc.; model placement position information refers to the position information of the virtual model when it is placed in the terrain.

[0080] Specifically, in order to place the virtual model more closely in the target terrain and ensure the placement effect, it is necessary to determine the model attribute information of the target virtual model and the terrain attribute information of the target terrain, so as to determine the correspondence between the virtual model and the target terrain, and then facilitate the subsequent determination of the placement position of the virtual model.

[0081] Further, after the virtual model set is determined, model placement position information of each virtual model when it is placed can be determined based on terrain attribute information of the preset terrain and model attribute information of each virtual model in the virtual model set.

[0082] In practical applications, determining the model placement position information based on the terrain attribute information of the preset terrain and the model attribute information of the target virtual model may include:

[0083] Acquire terrain length information and terrain width information of each target terrain, and model length information and model width information of the target virtual model;

[0084] Determine the model position information of the target virtual model according to the terrain length information, the terrain width information, the model length information and the model width information;

[0085] Model placement position information is determined based on the model position information.

[0086] Among them, the terrain length information refers to the length of the target terrain, and the terrain width information refers to the width of the target terrain; in actual applications, since the target terrain is not a regular shape, the length of the target terrain can be determined based on actual needs; the model length information refers to the length of the target virtual model, and the model width information refers to the width of the target virtual model; the model position information refers to the position information corresponding to the target terrain where the target virtual model can be placed according to the model attribute information of the target virtual model; in actual applications, since the target terrain is an irregular shape, approximate attribute information can be used for calculation, so it is necessary to determine the corresponding model placement position information based on the model position information.

[0087] In practical applications, the method for determining the model placement position information based on the model position information may include:

[0088] Creating a target bounding box of the target terrain based on the model position information, and acquiring bounding box position information of the target bounding box;

[0089] The bounding box position information is used as model placement position information of the target virtual model.

[0090] Specifically, when it is determined that the terrain length information and terrain width information of the target terrain meet the requirements, a bounding box can be created for the determined target terrain; the bounding box is an algorithm for solving the enclosing space of a discrete point set, and the algorithm uses a geometric body with a slightly larger volume and simpler characteristics (called a bounding box) to approximate complex geometric objects; in the present application, a bounding box is created to screen the determined target terrain, thereby improving the subsequent calculation efficiency and further improving the efficiency of virtual model placement.

[0091] For example, if it is determined that the virtual model A can be placed in the target terrain G, the position information of the target terrain G is determined, and a bounding box is created based on the position information; the position information corresponding to the bounding box is obtained, and the position information of the bounding box is used as the model placement position information of the target terrain G.

[0092] In practical applications, the method for determining the model position information of the target virtual model according to the terrain length information, the terrain width information, the model length information and the model width information may include:

[0093] When the difference between the terrain length information and the model length information is less than or equal to a length difference threshold, and the difference between the terrain width information and the model width information is less than or equal to a width difference threshold, using the terrain position information of the target terrain as the model position information of the target virtual model;

[0094] When the difference between the terrain length information and the model length information is greater than a length difference threshold, segmenting the target terrain based on the model length information to obtain a first-length terrain and a second-length terrain, and using the terrain position information of the first-length terrain as the model position information of the target virtual model, wherein the terrain length information of the first-length terrain is consistent with the model length information;

[0095] When the difference between the terrain width information and the model width information is greater than a width difference threshold, the target terrain is segmented based on the model width information to obtain a first width terrain and a second width terrain, and the terrain position information of the first width terrain is used as the model position information of the target virtual model, wherein the terrain width information of the first width terrain is consistent with the model width information.

[0096] Specifically, when the difference between the terrain length information and the model length information is less than or equal to the length difference threshold, that is, the absolute value of the difference between the terrain length information and the model length information is less than or equal to the length difference threshold, it can be further determined whether the difference between the terrain width information and the model width information is less than or equal to the length difference threshold; when the difference between the terrain length information and the model length information is less than or equal to the length difference threshold, and the difference between the terrain width information and the model width information is less than or equal to the length difference threshold, it is determined that the target virtual model can be placed in the target terrain, and the position information of the target terrain can be used as the model position information.

[0097] Furthermore, the length difference threshold refers to the upper limit of the absolute value of the difference in length information that is preset; the width difference threshold refers to the upper limit of the difference in width information that is preset; when the difference between the terrain length information and the model length information is less than or equal to the length difference threshold, the model length information or the model width information of the target virtual model can be adjusted, that is, the target virtual model can be enlarged or reduced according to the terrain length information and the terrain width information, so that the model length information is the same as the terrain length information, and the model width information is the same as the terrain width information.

[0098] For example, based on a virtual model A with a length of 5 and a width of 3, a target terrain B with a length of 5.1 and a width of 3 is determined among multiple target terrains. Since the difference of 0.1 between the model width information of the virtual model A and the terrain width information of the target terrain is equal to the width difference threshold, it can be determined that the virtual model A is placed in the target terrain B, and the length of the virtual model A needs to be expanded to 5.1; the position information of the target terrain B is obtained as the model placement information.

[0099] When the difference between the terrain length information and the model length information is greater than the length difference threshold, preferably, other target terrains whose difference with the model length information is less than or equal to the length difference threshold can be selected in the virtual model data set to determine the model position information; if other terrains cannot be screened out, and the terrain length information is greater than the model length information, the current target terrain can be segmented; specifically, the terrain length information of the target terrain is segmented according to the model length information to obtain a first length terrain and a second length terrain, wherein the terrain length information of the first length terrain is consistent with the model length information of the target virtual model; after determining the first length terrain, it can be further determined whether the difference between the terrain width information of the first length terrain and the model width of the target virtual model is less than or equal to the width difference threshold; if so, the position information of the first length terrain can be used as the model position information; if not, the first length terrain can be further segmented according to the model width information of the target virtual model.

[0100] For example, if the model length information of the target virtual model that is most consistent with the target terrain is 6, but the terrain length information of the target terrain is 10, the terrain needs to be segmented to obtain a first-length terrain with terrain length information of 6 and a second-length terrain with terrain length information of 4; determine that the terrain width information 2 of the first-length terrain is consistent with the model width information 2 of the target virtual model, and that the terrain width information of the first-length terrain is consistent with the model width information, then obtain the position information of the first length information as the model position information of the target virtual model.

[0101] In practical applications, after the terrain position information of the first length terrain is used as the model position information of the target virtual model, the following steps may also be included:

[0102] A virtual model to be processed is determined based on the terrain length information of the second-length terrain in the virtual model data set, and the terrain position information of the second-length terrain is used as the model position information of the virtual model to be processed.

[0103] The virtual model data set refers to a collection of one or more virtual models, and the virtual model data set includes at least one virtual model to be processed.

[0104] Specifically, after determining the first length terrain as the terrain corresponding to the target virtual model, the virtual model to be processed corresponding to the terrain length information of the second length terrain can be determined in the virtual model data set; specifically, the virtual model to be processed whose difference with the terrain length information of the second length terrain is less than or equal to the length difference threshold can be determined in the virtual model data set; and it is determined whether the difference between the model width information of the virtual model to be processed and the terrain width information of the second length terrain is less than or equal to the width difference threshold. If so, the virtual model to be processed is adjusted according to the terrain length information and terrain width information of the second length terrain, and the position information of the second length terrain is used as the model position information of the virtual model to be processed; if not, the second length terrain can be further segmented according to the model width information of the virtual model to be processed.

[0105] When the difference between the terrain width information and the model width information is greater than the width difference threshold, preferably, other virtual models whose difference with the model width information is less than or equal to the target terrain can be selected to determine the model position information; if other target terrains cannot be screened out, and the terrain width information is greater than the model width information, the current target terrain can be segmented based on the model width information to obtain a first width terrain and a second width terrain, wherein the terrain width information of the first width terrain is consistent with the model width information of the target virtual model; after determining the first width terrain, it can be further determined whether the difference between the terrain length information of the first width terrain and the model length information of the target virtual model is less than or equal to the length difference threshold; if so, the position information of the target terrain can be obtained as the model position information; if not, the first width terrain can be further segmented according to the model length information of the target virtual model.

[0106] For example, if the model width information of the target virtual model that is most consistent with the target terrain is 9, but the terrain width of the target terrain is 15, the target terrain needs to be segmented to obtain a first width terrain with terrain width information of 9 and a second width terrain with terrain width of 6; if it is determined that the terrain width information 6 of the first width terrain is consistent with the model width information 6 of the target virtual model, and the terrain length information of the first width terrain is consistent with the model length information of the target virtual model, the position information of the first width terrain is obtained as the model position information of the target virtual model.

[0107] In practical applications, after the terrain position information of the first width terrain is used as the model position information of the target virtual model, the following method may also be included:

[0108] A virtual model to be processed is determined based on the terrain length information of the second width terrain in the virtual model data set, and the terrain position information of the second width terrain is used as the model position information of the virtual model to be processed.

[0109] Specifically, after determining the first width terrain as the terrain corresponding to the target virtual model, the virtual model to be processed corresponding to the terrain width information of the second width terrain can be determined in the virtual model data set, and it can be determined whether the difference between the model length information of the virtual model to be processed and the terrain length information of the second width terrain is less than or equal to the length difference threshold. If so, the position information of the second width terrain is used as the model position information of the virtual model to be processed; if not, the second width terrain can be further segmented based on the model length information.

[0110] It should be noted that if after the above-mentioned segmentation, the target virtual model that can be placed in the target terrain still cannot be screened out in the virtual model data set, the target virtual model can be further adjusted. For example, when the model length information of the virtual model is greater than the terrain length information of each target terrain, and the difference between the model length information and the terrain length information is greater than the length difference threshold, the model length information is reduced so that the model length information is consistent with the terrain length information of the target terrain. For another example, when the model length information of the virtual model is less than the terrain length information of each target terrain, and the difference between the model length information and the terrain length information is greater than the length difference threshold, the model length information is expanded so that the model length information is consistent with the terrain length information of the target terrain.

[0111] Specifically, the adjustable threshold of the target virtual model is determined, wherein the adjustable threshold refers to the upper limit of the expansion and contraction of the target virtual model, and adjustments exceeding the adjustable threshold will affect the display effect of the target virtual model. After the target virtual model is adjusted within the adjustable threshold, the corresponding target terrain is determined, that is, the adjusted target virtual model can be used to determine the target terrain; if the target virtual model needs to be adjusted in a manner exceeding the adjustable threshold in order to determine the target terrain, the target terrain can be deleted or the target virtual model can be not placed in the preset terrain to ensure the integrity of the virtual scene.

[0112] By comparing the model attribute information of the target virtual model with the terrain attribute information of the target terrain, the target terrain on which the target virtual model can be placed more closely is determined, thereby facilitating subsequent placement of the target virtual model more closely.

[0113] Step 106: placing the target virtual model according to the model placement position information.

[0114] Specifically, after the model placement position is determined, the target virtual model can be placed based on the model placement position information.

[0115] In practical applications, the method for placing the target virtual model according to the model placement position information may include:

[0116] Acquire model attribute information of the target virtual model and the model placement information to create a virtual model point set;

[0117] A target virtual model is placed in the preset terrain according to the virtual model point set.

[0118] Specifically, the storage path and display material information of the target virtual model can be determined by obtaining model attribute information such as path attribute information and material attribute information of the target virtual model; a virtual model point set is created based on the model attribute information and model placement information, that is, a virtual model point cloud is created; the virtual model point cloud contains virtual model position information and virtual model feature information, and the virtual model can be displayed in the corresponding target terrain based on the virtual model point cloud.

[0119] Through the above steps, the target virtual model can be displayed in the target terrain. However, in order to improve the placement quality and thus enhance the user's viewing experience, after placing the target virtual model according to the model placement position information, the following steps may also be performed:

[0120] Acquire a model bottom surface of the target virtual model, and create a target ray between the model bottom surface and the preset terrain;

[0121] The target virtual model is moved toward the preset terrain based on the length information of the target ray.

[0122] In actual applications, since at least one target terrain obtained based on the preset terrain may not be completely consistent with the preset terrain, when the target virtual model is displayed in the target terrain, there is a situation where the target virtual model is displayed suspended in the air, that is, the target virtual model is not displayed in line with the terrain. In this case, the target virtual model needs to be moved to the terrain.

[0123] The model bottom surface refers to the bottom part of the virtual model; the target ray refers to the ray obtained by mapping the model bottom surface to the preset terrain from the model bottom surface.

[0124] Specifically, the bottom surface of the model can be refined, that is, points, lines or surfaces can be added to the bottom surface of the model, thereby increasing the corresponding position information of the bottom surface of the model; based on the refined bottom surface of the model, a mapping between the bottom surface of the model and the preset terrain is established; it is determined whether there is a ray located in the preset terrain, and if so, the movement length information of the target virtual model is determined based on the ray length information; according to the movement length information, the target virtual model is moved to fit the preset terrain.

[0125] In practical applications, in addition to the preset terrain, other virtual models may also be included in the scene. In order to ensure that the placed virtual model does not overlap with other virtual models, after placing the target virtual model according to the model placement position information, the following steps may also be performed:

[0126] The target virtual model is displaced upward, and the model bottom surface of the target virtual model is mapped to a preset terrain to obtain a mapped bottom surface;

[0127] The proportion of the non-model area in the mapping bottom surface is determined, and an adjustment strategy for the target virtual model is determined based on the proportion of the non-model area.

[0128] Among them, displacing the target virtual model upward refers to moving the target virtual model in the opposite direction of the preset terrain, that is, moving the target virtual model away from the target terrain, so that there is a gap between the preset terrain and the model ground; establishing a mapping between the bottom surface of the model and the preset terrain, so as to map the bottom surface of the model in the preset terrain to obtain a mapped ground; in the case where the mapped ground includes a model placement area and a non-model placement area, calculating the proportion of the non-model area, that is, the area proportion of the non-model placement area in the mapped ground; determining a preset proportion threshold, when the non-model area proportion exceeds the preset display threshold, the target virtual model can be moved or deleted, so as to avoid overlap between virtual models and ensure the authenticity of the model placement.

[0129] In practical applications, in addition to the above-mentioned situation where the target virtual model overlaps with the model in the non-model placement area, it is also necessary to detect and process the overlap between the placed virtual models. Specifically, after placing the target virtual model according to the model placement position information, the following may also be included:

[0130] Determining the degree of overlap between the target virtual model and the virtual model to be processed;

[0131] When the overlap exceeds a preset overlap threshold, the target virtual model is moved or deleted.

[0132] Among them, the overlap degree refers to the overlapping value between the target virtual model and the virtual model to be processed; the preset overlap threshold refers to the upper limit of the overlap degree. When the overlap degree exceeds the preset overlap threshold, the target virtual model needs to be deleted to avoid problems such as resource waste and low computing efficiency caused by overlapping calculations.

[0133] In practical applications, the following method can be used to determine the degree of overlap of virtual models: obtain the virtual models in the virtual model data set, and in order to facilitate the subsequent calculation of whether there is overlap between virtual models, the virtual models can be voxelized to obtain the model frame in the virtual model vdb format, so as to subsequently calculate whether the virtual models overlap based on the model frame; calculate the frame distance from the six directions of each model point in the virtual model point set to the model frame, and determine the model size information in each direction, compare the frame distance with the model size information in the corresponding direction, and accumulate the number of directional overlaps in which the frame distance exceeds the model size information; when the number of directional overlaps exceeds the preset number threshold, determine that overlap occurs and delete the target virtual model.

[0134] For example, obtain a set of cliff models, and voxelize the cliff models to obtain a model frame in the virtual model vdb format; determine that the normal N is the Z-axis direction of the cliff model, up is the Y direction of the cliff model, and right is the X direction of the cliff model, and calculate the distance from each cliff point cloud to the model frame in six directions (±N, ±up, ±right), that is, the distances in the six directions are a, b, c, d, e, and f respectively; calculate the values ​​of the cliff size in six directions, and the values ​​in the six directions are A, B, C, D, E, and F respectively. If a>A, the number of overlaps is increased by one, that is, x+1; if the variable x>5, it is determined that the target cliff model needs to be moved or deleted.

[0135] In addition, overlap detection is performed by calculating the overlapping area, specifically: creating a model frame for each virtual model; traversing each virtual model in the virtual model set, and calculating the overlapping area between the model frame and the virtual model; determining the total area and the overlapping area of ​​the target virtual model, and calculating the percentage of the overlapping area in the total area, such as calculating the overlapping part of the model frame and the cliff model through bool, and deleting the target virtual model when the percentage exceeds a preset percentage threshold.

[0136] Preferably, before determining the overlap of the virtual model, the virtual model may be processed in blocks to reduce the pressure of calculating the virtual model each time, thereby reducing the system memory loading and ensuring the stability of the system.

[0137] For example, a target bounding box of the virtual model A is created, and the target bounding box is divided into multiple grid blocks; the virtual model A is projected onto the grid blocks, and the unprojected grid blocks are deleted; each remaining grid block is traversed, and the point cloud of the virtual model A is projected onto the grid blocks, thereby performing block processing on the virtual model A.

[0138] The virtual model placement method of the present application, after determining the preset terrain and the target virtual model, automatically determines the placement position of the target virtual model in the preset terrain based on the terrain attribute information of the preset terrain and the model attribute information of the target virtual model, thereby avoiding manual adjustment of the model placement position and improving the placement efficiency of the virtual model and the placement effect of the virtual model.

[0139] The following combination Figure 2 Taking the application of the virtual model placement method provided in this application to the cliff model placement as an example, the virtual model placement method is further explained. Figure 2 A schematic diagram of a processing flow of a virtual model placement method for cliff model placement provided in an embodiment of the present application is shown, which specifically includes the following steps:

[0140] Step 202: Obtain a cliff model set, a preset terrain, and a non-cliff placement area in the preset terrain.

[0141] The cliff model set includes a first-layer cliff model, a second-layer cliff model, and a third-layer cliff model.

[0142] Step 204: Determine the cliff placement area based on the preset terrain and the non-cliff placement area.

[0143] Among them, the cliff placement area includes the terrain slope and terrain area where the cliff is placed.

[0144] Step 206: Convert the cliff placement area into a mesh, and divide the mesh into blocks using the surface normals to obtain a mesh set.

[0145] Step 208: Determine whether the mesh in the mesh set meets the first-layer cliff area threshold; if so, execute step 210; if not, execute step 212.

[0146] Step 210: Segment the first mesh obtained by screening according to the model attribute information, and delete the first mesh that cannot be used to place the cliff model.

[0147] Step 212: The meshes that do not meet the judgment condition are used as meshes of the second and third cliff layers.

[0148] Step 214: Add the first layer of cliff model to each first mesh.

[0149] Step 216: Determine whether the first cliff model can be placed in the first mesh. If so, execute step 218; if not, execute step 212.

[0150] Step 218: Place the suspended first-layer cliff model on the first mesh, and exclude the overlap between the non-cliff placement area and the first-layer cliff model.

[0151] Step 220: Create the first layer of cliff point cloud.

[0152] Step 222: Divide the mesh of the second layer cliff and the third layer cliff, and place the second layer cliff model and the third layer cliff model respectively.

[0153] Step 224: Create the second layer of cliff point cloud and the third layer of cliff point cloud.

[0154] Step 226: merging the first cliff point cloud, the second cliff point cloud and the third cliff point cloud, detecting overlaps between cliff models, and deleting overlapping cliff models.

[0155] The virtual model placement method provided in the present application determines the target virtual model and the preset terrain in response to the virtual model placement request; determines the model placement position information based on the terrain attribute information of the preset terrain and the model attribute information of the target virtual model; and places the target virtual model according to the model placement position information. After determining the preset terrain and the target virtual model, the placement position of the target virtual model in the preset terrain is automatically determined based on the terrain attribute information of the preset terrain and the model attribute information of the target virtual model, thereby avoiding the situation of manually adjusting the model placement position, improving the virtual model placement efficiency, and the virtual model placement effect.

[0156] Corresponding to the above method embodiment, the present application also provides a virtual model placement device embodiment, Figure 3 FIG. 1 is a schematic diagram showing a structure of a virtual model placement device provided by an embodiment of the present application. Figure 3 As shown, the device comprises:

[0157] A first determination module 302 is configured to determine a target virtual model and a preset terrain in response to a virtual model placement request;

[0158] A second determination module 304 is configured to determine model placement position information based on terrain attribute information of the preset terrain and model attribute information of the target virtual model;

[0159] The placement module 306 is configured to place the target virtual model according to the model placement position information.

[0160] Optionally, the device further includes a conversion module configured to:

[0161] Determining a preset conversion rule, and converting the preset terrain into at least one target terrain based on the preset conversion rule;

[0162] Get the terrain attribute information of each target terrain.

[0163] Optionally, the second determining module 306 is further configured to:

[0164] Acquire terrain length information and terrain width information of each target terrain, and model length information and model width information of the target virtual model;

[0165] Determine the model position information of the target virtual model according to the terrain length information, the terrain width information, the model length information and the model width information;

[0166] Model placement position information is determined based on the model position information.

[0167] Optionally, the second determining module 306 is further configured to:

[0168] Creating a target bounding box of the target terrain based on the model position information, and acquiring bounding box position information of the target bounding box;

[0169] The bounding box position information is used as model placement position information of the target virtual model.

[0170] Optionally, the second determining module 306 is further configured to:

[0171] When the difference between the terrain length information and the model length information is less than or equal to a length difference threshold, and the difference between the terrain width information and the model width is less than or equal to a width difference threshold, using the terrain position information of the target terrain as the model position information of the target virtual model;

[0172] When the difference between the terrain length information and the model length information is greater than the length difference threshold, segmenting the target terrain based on the model length information to obtain a first-length terrain and a second-length terrain, and using the terrain position information of the first-length terrain as the model position information of the target virtual model, wherein the terrain length information of the first-length terrain is consistent with the model length information;

[0173] When the difference between the terrain width information and the model width information is greater than the width difference threshold, the target terrain is segmented based on the model width information to obtain a first width terrain and a second width terrain, and the terrain position information of the first width terrain is used as the model position information of the target virtual model, wherein the terrain width information of the first width terrain is consistent with the model width information.

[0174] Optionally, the device further includes a determination submodule configured to:

[0175] Determine a virtual model to be processed based on the terrain length information of the second-length terrain in the virtual model data set, and use the terrain position information of the second-length terrain as the model position information of the virtual model to be processed;

[0176] A virtual model to be processed is determined based on the terrain length information of the second width terrain in the virtual model data set, and the terrain position information of the second width terrain is used as the model position information of the virtual model to be processed.

[0177] Optionally, the placement module 306 is further configured to:

[0178] Acquire model attribute information of the target virtual model and the model placement information to create a virtual model point set;

[0179] A target virtual model is placed in the preset terrain according to the virtual model point set.

[0180] Optionally, the device further comprises a moving module configured to:

[0181] Acquire a model bottom surface of the target virtual model, and create a target ray between the model bottom surface and the preset terrain;

[0182] The target virtual model is moved toward the preset terrain based on the length information of the target ray.

[0183] Optionally, the device further includes a proportion determination module configured to:

[0184] The target virtual model is displaced upward, and the model bottom surface of the target virtual model is mapped to a preset terrain to obtain a mapped bottom surface;

[0185] The proportion of the non-model area in the mapping bottom surface is determined, and an adjustment strategy for the target virtual model is determined based on the proportion of the non-model area.

[0186] Optionally, the device further comprises an overlap determination module configured to:

[0187] Determining the degree of overlap between the target virtual model and the virtual model to be processed;

[0188] When the overlap exceeds a preset overlap threshold, the target virtual model is moved or deleted.

[0189] The virtual model placement device of the present application comprises a first determination module configured to determine the target virtual model and the preset terrain in response to a virtual model placement request; a second determination module configured to determine the model placement position information based on the terrain attribute information of the preset terrain and the model attribute information of the target virtual model; and a placement module configured to place the target virtual model according to the model placement position information. After determining the preset terrain and the target virtual model, the placement position of the target virtual model in the preset terrain is automatically determined based on the terrain attribute information of the preset terrain and the model attribute information of the target virtual model, thereby avoiding the situation of manually adjusting the model placement position, improving the placement efficiency of the virtual model, and the placement effect of the virtual model.

[0190] The above is a schematic scheme of a virtual model placement device of the present embodiment. It should be noted that the technical scheme of the virtual model placement device and the technical scheme of the virtual model placement method mentioned above belong to the same concept. For the details not described in detail in the technical scheme of the virtual model placement device, please refer to the description of the technical scheme of the virtual model placement method mentioned above. In addition, each component in the device embodiment should be understood as a functional module that must be established to implement each step of the program flow or each step of the method, and each functional module is not an actual functional division or separation definition. The device claim defined by such a group of functional modules should be understood as a functional module architecture that mainly implements the solution through the computer program recorded in the specification, and should not be understood as a physical device that mainly implements the solution through hardware.

[0191] Figure 4 The block diagram of a computing device 400 according to an embodiment of the present application is shown. The components of the computing device 400 include but are not limited to a memory 410 and a processor 420. The processor 420 is connected to the memory 410 via a bus 430, and the database 450 is used to store data.

[0192] The computing device 400 also includes an access device 440 that enables the computing device 400 to communicate via one or more networks 460. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 440 may include one or more of any type of network interface (e.g., a network interface card (NIC)) wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a World Wide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, a near field communication (NFC) interface, and the like.

[0193] In one embodiment of the present application, the above components of the computing device 400 and Figure 4 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 4 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of the present application. Those skilled in the art may add or replace other components as needed.

[0194] Computing device 400 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or PC. Computing device 400 may also be a mobile or stationary server.

[0195] The processor 420 is used to execute computer executable instructions for the method of placing the virtual model.

[0196] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the above-mentioned virtual model placement method belong to the same concept, and the details not described in detail in the technical scheme of the computing device can be referred to the description of the technical scheme of the above-mentioned virtual model placement method.

[0197] An embodiment of the present application further provides a computer-readable storage medium storing computer instructions, which are used for a method of placing a virtual model when executed by a processor.

[0198] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the above-mentioned virtual model placement method belong to the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the above-mentioned virtual model placement method.

[0199] An embodiment of the present application further provides a chip storing a computer program, which implements the steps of the virtual model placement method when executed by the chip.

[0200] The above describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0201] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0202] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0203] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0204] The preferred embodiments of the present application disclosed above are only used to help explain the present application. The optional embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the present application. The present application selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present application, so that those skilled in the art can understand and use the present application well. The present application is only limited by the claims and their full scope and equivalents.

Claims

1. A method for placing a virtual model, characterized in that: include: determining a target virtual model and a preset terrain in response to a virtual model placement request; Determine at least one target terrain according to the preset terrain, and obtain terrain attribute information of each target terrain, wherein the target terrain refers to a part of the terrain in the preset terrain; Determining the model placement position information based on the terrain attribute information of the preset terrain and the model attribute information of the target virtual model, the determining the model placement position information based on the terrain attribute information of the preset terrain and the model attribute information of the target virtual model includes: determining the terrain attribute information of each target terrain and the model attribute information of the target virtual model, the terrain attribute information including terrain position information; comparing the terrain attribute information of each target terrain with the model attribute information of the target virtual model to determine the target terrain that fits the target virtual model; using the terrain position information of the target terrain as the model placement position information of the target virtual model; The target virtual model is placed according to the model placement position information.

2. The method according to claim 1, characterized in that Before determining the model placement position information based on the terrain attribute information of the preset terrain and the model attribute information of the target virtual model, the method further includes: Determining a preset conversion rule, and converting the preset terrain into at least one target terrain based on the preset conversion rule; Get the terrain attribute information of each target terrain.

3. The method according to claim 2, characterized in that Determining model placement position information based on terrain attribute information of the preset terrain and model attribute information of the target virtual model includes: Acquire terrain length information and terrain width information of each target terrain, and model length information and model width information of the target virtual model; Determine the model position information of the target virtual model according to the terrain length information, the terrain width information, the model length information and the model width information; Model placement position information is determined based on the model position information.

4. The method according to claim 3, characterized in that Determining the model placement position information based on the model position information includes: Creating a target bounding box of the target terrain based on the model position information, and acquiring bounding box position information of the target bounding box; The bounding box position information is used as model placement position information of the target virtual model.

5. The method according to claim 3, characterized in that Determining the model position information of the target virtual model according to the terrain length information, the terrain width information, the model length information and the model width information includes: When the difference between the terrain length information and the model length information is less than or equal to a length difference threshold, and the difference between the terrain width information and the model width information is less than or equal to a width difference threshold, using the terrain position information of the target terrain as the model position information of the target virtual model; When the difference between the terrain length information and the model length information is greater than the length difference threshold, segmenting the target terrain based on the model length information to obtain a first-length terrain and a second-length terrain, and using the terrain position information of the first-length terrain as the model position information of the target virtual model, wherein the terrain length information of the first-length terrain is consistent with the model length information; When the difference between the terrain width information and the model width information is greater than the width difference threshold, the target terrain is segmented based on the model width information to obtain a first width terrain and a second width terrain, and the terrain position information of the first width terrain is used as the model position information of the target virtual model, wherein the terrain width information of the first width terrain is consistent with the model width information.

6. The method according to claim 5, characterized in that The method further comprises: Determine a virtual model to be processed based on the terrain length information of the second-length terrain in the virtual model data set, and use the terrain position information of the second-length terrain as the model position information of the virtual model to be processed; A virtual model to be processed is determined based on the terrain length information of the second width terrain in the virtual model data set, and the terrain position information of the second width terrain is used as the model position information of the virtual model to be processed.

7. The method according to claim 1, characterized in that Placing the target virtual model according to the model placement position information includes: Acquire model attribute information of the target virtual model and the model placement information to create a virtual model point set; A target virtual model is placed in the preset terrain according to the virtual model point set.

8. The method according to claim 1, characterized in that After placing the target virtual model according to the model placement position information, the method further includes: Acquire a model bottom surface of the target virtual model, and create a target ray between the model bottom surface and the preset terrain; The target virtual model is moved toward the preset terrain based on the length information of the target ray.

9. The method according to claim 1, characterized in that After placing the target virtual model according to the model placement position information, the method further includes: The target virtual model is displaced upward, and the model bottom surface of the target virtual model is mapped to a preset terrain to obtain a mapped bottom surface; The proportion of the non-model area in the mapping bottom surface is determined, and an adjustment strategy for the target virtual model is determined based on the proportion of the non-model area.

10. The method according to claim 1, characterized in that After placing the target virtual model according to the model placement position information, the method further includes: Determining the degree of overlap between the target virtual model and the virtual model to be processed; When the overlap exceeds a preset overlap threshold, the target virtual model is moved or deleted.

11. A virtual model placement device, characterized in that: include: A first determination module is configured to determine a target virtual model and a preset terrain in response to a virtual model placement request; a conversion module, configured to determine at least one target terrain according to the preset terrain, and obtain terrain attribute information of each target terrain, wherein the target terrain refers to a part of the terrain in the preset terrain; The second determination module is configured to determine the model placement position information based on the terrain attribute information of the preset terrain and the model attribute information of the target virtual model, wherein the determination of the model placement position information based on the terrain attribute information of the preset terrain and the model attribute information of the target virtual model comprises: determining the terrain attribute information of each target terrain and the model attribute information of the target virtual model, wherein the terrain attribute information comprises terrain position information; comparing the terrain attribute information of each target terrain with the model attribute information of the target virtual model to determine a target terrain suitable for placing the target virtual model; and using the terrain position information of the target terrain as the model placement position information of the target virtual model; The placement module is configured to place the target virtual model according to the model placement position information.

12. A computing device, characterized in that: include: Memory and processor; The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions to implement the steps of the virtual model placement method described in any one of claims 1 to 10.

13. A computer-readable storage medium storing computer instructions, characterized in that: When the instruction is executed by the processor, the steps of the virtual model placement method described in any one of claims 1 to 10 are implemented.

Citation Information

Patent Citations

  • Scene editing method and related device and equipment

    CN113253842A

  • Virtual object positioning method and device, electronic equipment and storage medium

    CN113724397A