Interaction method and device in virtual scene, equipment and storage medium

By providing interactive windows and parameter configuration controls in virtual scenes, users can quickly create complex virtual objects, solving the problem of time-consuming and complex operations in traditional methods, and achieving flexible and efficient virtual object creation.

CN119971504APending Publication Date: 2025-05-13BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510307996.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-14
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

In the traditional virtual object creation process, users need to spend a lot of time and high operation skills to complete the creation of complex virtual objects, which makes it impossible for most users to complete the creation quickly.

Method used

By providing interactive windows in the virtual scene, users can select different resource types and content items, and determine the generation parameters through parameter configuration controls to generate target virtual resources, thereby quickly creating target virtual objects in the virtual scene.

Benefits of technology

This method makes the creation of virtual objects more flexible and efficient, and users can quickly complete the creation of complex virtual objects without having high operation skills.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119971504A_ABST
    Figure CN119971504A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to an interaction method and device in a virtual scene, equipment and a storage medium. The method proposed herein includes presenting an interactive window associated with a virtual scene, the interactive window configured to provide a first set of content items corresponding to a first resource type and a second set of content items corresponding to a second resource type, the first resource type and the second resource type corresponding to different spatial replacement patterns; in response to selection of a first content item of the first group of content items, presenting at least one parameter configuration control associated with the first content item; determining at least one generation parameter associated with the first content item via at least one parameter configuration control; and in response to the fact that the target virtual resource is generated based on the at least one generation parameter, creating a target virtual object corresponding to the target virtual resource in a first space of the virtual scene according to a first space replacement mode corresponding to the first resource type. Therefore, the creation efficiency of the virtual object can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly to interactive methods, devices, apparatuses, and computer-readable storage media in a virtual scene. Background Art

[0002] With the rapid development of computer technology, more and more applications and platforms are currently designed to provide various services to users. In some applications, users can create various virtual objects in a virtual space, such as virtual buildings or virtual environments. However, in some traditional interactive solutions, users need to use the materials provided by the platform to complete the creation of virtual objects. The material-based creation process has certain requirements for operating skills, and the operation is relatively complicated, which makes most users unable to complete the creation of complex virtual objects. Even if some users can complete the creation of complex objects, it takes users a long time. In view of this, it is urgent to provide a quick and efficient virtual object creation method so that users can quickly complete the creation of virtual objects. Summary of the invention

[0003] In a first aspect of the present disclosure, a method for interaction in a virtual scene is provided. The method includes: presenting an interactive window associated with the virtual scene, the interactive window being configured to provide a first group of content items corresponding to a first resource type and a second group of content items corresponding to a second resource type, the first resource type and the second resource type corresponding to different space replacement modes; in response to a selection of a first content item of the first group of content items, presenting at least one parameter configuration control associated with the first content item; determining at least one generation parameter associated with the first content item via at least one parameter configuration control; and in response to a target virtual resource being generated based on at least one generation parameter, creating a target virtual object corresponding to the target virtual resource in a first space of the virtual scene according to a first space replacement mode corresponding to the first resource type.

[0004] In a second aspect of the present disclosure, a device for interaction in a virtual scene is provided. The device includes: a first presentation module, configured to present an interactive window associated with the virtual scene, the interactive window is configured to provide a first group of content items corresponding to a first resource type and a second group of content items corresponding to a second resource type, the first resource type and the second resource type corresponding to different space replacement modes; a second presentation module, configured to present at least one parameter configuration control associated with the first content item in response to a selection of a first content item of the first group of content items; a determination module, configured to determine at least one generation parameter associated with the first content item via at least one parameter configuration control; and a first creation module, configured to create a target virtual object corresponding to the target virtual resource in a first space of the virtual scene according to a first space replacement mode corresponding to the first resource type in response to a target virtual resource being generated based on at least one generation parameter.

[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device executes the method of the first aspect.

[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.

[0007] It should be understood that the contents described in this content section are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0009] Figure 1 A schematic diagram showing an example environment in which embodiments according to the present disclosure may be implemented;

[0010] FIG. 2A to FIG. 2H shows an example interface according to some embodiments of the present disclosure;

[0011] Figure 3 A flowchart showing an example process of interaction in a virtual scene according to some embodiments of the present disclosure;

[0012] Figure 4A schematic structural block diagram showing an example apparatus for interaction in a virtual scene according to some embodiments of the present disclosure; and

[0013] Figure 5 A block diagram of an electronic device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0014] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0015] It should be noted that the titles of any sections / subsections provided herein are not restrictive. Various embodiments are described throughout this article, and any type of embodiment may be included under any section / subsection. In addition, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or different sections / subsections.

[0016] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.

[0017] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects are subject to the corresponding laws, regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user knows and confirms. Accordingly, when implementing each embodiment of the present disclosure, the type, scope of use, usage scenario, etc. of the data or information that may be involved should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with the relevant laws and regulations. The specific notification and / or authorization method can vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.

[0018] In this specification and the embodiments, if personal information processing is involved, it will be processed on the premise of having a legal basis (such as obtaining the consent of the subject of personal information, or it is necessary to perform a contract, etc.), and will only be processed within the scope of regulations or agreements. If a user refuses to process personal information other than the necessary information for basic functions, it will not affect the user's use of basic functions.

[0019] As mentioned above, with the rapid development of computer technology, more and more applications and platforms are currently designed to provide various services to users. In some applications, users can create various virtual objects in a virtual space, such as virtual buildings or virtual environments. However, in some traditional interaction schemes, users need to use the materials provided by the platform to complete the creation of virtual objects. The material-based creation process has certain requirements for operating skills, and the operation is relatively complicated, which makes most users unable to complete the creation of complex virtual objects. Even if some users can complete the creation of complex objects, it takes users a long time. In view of this, it is urgent to provide a quick and efficient virtual object creation method so that users can quickly complete the creation of virtual objects.

[0020] The embodiment of the present disclosure proposes an interaction scheme in a virtual scene. The scheme includes: presenting an interaction window associated with the virtual scene, the interaction window is configured to provide a first group of content items corresponding to a first resource type and a second group of content items corresponding to a second resource type, the first resource type and the second resource type corresponding to different space replacement modes; in response to the selection of a first content item of the first group of content items, presenting at least one parameter configuration control associated with the first content item; determining at least one generation parameter associated with the first content item via at least one parameter configuration control; and in response to the target virtual resource being generated based on at least one generation parameter, in the first space of the virtual scene, creating a target virtual object corresponding to the target virtual resource according to the first space replacement mode corresponding to the first resource type.

[0021] In this way, the embodiments of the present disclosure can generate target virtual resources according to the parameters set by the user, thereby making the creation of virtual objects more flexible and efficient.

[0022] Various example implementations of the solution are described in detail below in conjunction with the accompanying drawings.

[0023] Example Environment

[0024] Figure 1 1 is a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. Figure 1 As shown, example environment 100 may include electronic device 110 .

[0025] In this example environment 100, the electronic device 110 may run an application 120 that supports interaction in a virtual scene. The application 120 may be any suitable type of application for interaction in a virtual scene, examples of which may include, but are not limited to, game applications or other suitable applications. The user 140 may interact with the application 120 via the electronic device 110 and / or its attached devices.

[0026] exist Figure 1 In the environment 100, if the application 120 is in an active state, the electronic device 110 can present an interface 150 for supporting interaction in the virtual scene through the application 120.

[0027] In some embodiments, the electronic device 110 communicates with the server 130 to provide services for the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a handheld computer, a portable game terminal, a VR / AR device, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio receiver, an e-book device, a game device, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface for the user (such as a "wearable" circuit, etc.).

[0028] The server 130 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data and artificial intelligence platforms. The server 130 may include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, etc. The server 130 may provide background services for the application 120 in the electronic device 110 that supports interaction in a virtual scene.

[0029] A communication connection may be established between the server 130 and the electronic device 110. The communication connection may be established in a wired manner or a wireless manner. The communication connection may include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, etc., and the embodiments of the present disclosure are not limited in this respect. In the embodiments of the present disclosure, the server 130 and the electronic device 110 may implement signaling interaction through the communication connection between the two.

[0030] It should be understood that the structure and function of the various elements in the environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure.

[0031] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.

[0032] Example 1

[0033] FIG. 2A to FIG. 2H 200A to 200H according to some embodiments of the present disclosure. The interfaces 200A to 200H may be composed of, for example, Figure 1 The electronic device 110 is provided as shown.

[0034] In some embodiments, the electronic device 110 may provide the user with an interactive interface 200A of a virtual scene. The interface 200A may be provided, for example, by a game application. The interface 200A is configured to present a virtual scene provided by the game application. Such a virtual scene may be an "open world" scene, or a "home" scene or any other appropriate virtual scene. The "open world" scene indicates that the game application may provide the player with a vast, freely explorable game scene, in which the various areas in the scene are interconnected, allowing the player to freely move in the various areas in the game scene (e.g., construction activities, exploration activities, etc.). The "home" scene indicates that the game application may provide the player with a limited private space, which supports the player to carry out activities in this private space. Such activities may, for example, be activities such as construction activities in a private space, decorating or adjusting existing virtual buildings or virtual environments, and the like.

[0035] During the game, creating a virtual building and / or virtual environment is an important function. For example, in a game application, a player can select a preset building module or environment module to "build" a virtual building or virtual environment in a virtual scene. Such a building module may include any appropriate module such as a wall module, a roof module, a floor module, etc. Such an environment module may include any appropriate module such as a grass module, a plant module, a rock module, etc. Although the above process of creating a virtual object through the building module or environment module selected by the player is relatively flexible, it has high requirements on the player's aesthetic level and operating skills. Therefore, when creating relatively complex virtual resources, it takes a long time for the user.

[0036] The following will introduce in detail the specific process of how to create virtual objects in a virtual scene.

[0037] In some embodiments, the electronic device 110 presents an interactive window associated with the virtual scene. The interactive window is configured to provide a first group of content items corresponding to a first resource type and a second group of content items corresponding to a second resource type. The first resource type and the second resource type correspond to different spatial replacement modes.

[0038] As an example, Figure 2A As shown, the electronic device 110 may present an interactive window 205 in the interface 200A. After the interactive window 205 is presented, the electronic device 110 may provide the user 140 with a first set of content items 210 in the interactive window 205. The first set of content items 210 corresponds to a first resource type, such a first resource type may be, for example, a virtual building resource.

[0039] As another example, Figure 2B As shown, after the interactive window 205 is presented, the electronic device 110 may further provide a second group of content items 220 in the interactive window 205. The second group of content items 220 corresponds to a second resource type, which may be, for example, a virtual environment resource.

[0040] In some embodiments, the electronic device 110 presents at least one parameter configuration control associated with the first content item in response to selecting the first content item of the first group of content items. Figure 2A As shown, when the first content item 211 is selected, the electronic device 110 may present a configuration panel 225 in the interactive window. The configuration panel 225 includes at least one parameter configuration control corresponding to the first content item 210. The parameter configuration controls here may be, for example, parameter configuration controls 226, parameter configuration controls 227, and parameter configuration controls 228.

[0041] In some embodiments, the electronic device 110 may receive a configuration operation of the user 140 via at least one parameter configuration control, and determine a generation parameter for generating a target virtual resource based on such configuration operation. Specifically, the electronic device 110 determines at least one generation parameter associated with the first content item via at least one parameter configuration control. The first content item may correspond to a virtual building resource, and the at least one generation parameter includes at least one of the type of the virtual building resource, the style of the virtual building resource, the material of the virtual building resource, and the color of the virtual building resource.

[0042] As an example, Figure 2A As shown, the electronic device 110 can provide at least one parameter configuration control in the configuration panel 225, such parameter configuration controls can be, for example, parameter configuration controls 226, parameter configuration controls 227 and parameter configuration controls 228. Parameter configuration controls 226, parameter configuration controls 227 and parameter configuration controls 228 are respectively associated with different generation parameters. Such generation parameters can be, for example, style, material and color. Styles can include, for example, "Gothic style", "garden style", "Baroque style", etc. The material indicates the main material of the target virtual resource to be generated, such materials can include, for example, wood, marble, stone bricks, etc. The electronic device 110 can receive the configuration operation of the user 140 via these parameter configuration controls to determine the generation operation for generating the target virtual resource. In some other examples, the electronic device 110 also supports determining the generation parameters for generating the target virtual resource in a random selection manner.

[0043] In some scenarios, multiple content items in the first group of content items 210 correspond to different types of virtual building resources, such as villas, office buildings, street shops, and residential buildings.

[0044] As another example, the type and style of the virtual building may be associated. For example, the first type of the virtual building corresponds to the first group of candidate styles, and the second type of the virtual building corresponds to the second group of candidate styles. In this case, as the user 140 selects different building types, the candidate building styles may change accordingly. In one example, the candidate styles corresponding to the villa type may be: "modern style", "Gothic style" and "Roman style", while the candidate styles corresponding to the office building type may be: "industrial style", "modern style" and "technological style". Depending on the type of the virtual building selected by the user 140, the electronic device 110 may provide different candidate styles. In this way, the type and style of the virtual building may be better matched, and the various attributes of the virtual resources created thereby may be more coordinated.

[0045] Additionally or alternatively, when at least one generation parameter for generating the target virtual resource is determined, the electronic device 110 may present a preview effect in the preview component 230 in the configuration panel 225. For example, after the first content item 211 is selected, the electronic device 110 may present a visual representation of a virtual resource of a preset villa type in the preview component 230.

[0046] Additionally or alternatively, the electronic device 110 may determine the color of the target virtual resource based on the user 140's interactive operation on the parameter configuration control 229. In some scenarios, the electronic device 110 may also use a machine learning model to determine the color of the target virtual resource based on the main color selected by the user 140 and an existing color scheme.

[0047] In some embodiments, after at least one generation parameter associated with the first content item is determined, the electronic device 110 may also determine the position and size of the target virtual resource to be generated in the virtual scene. Specifically, the electronic device 110 may present a space indication element in the interactive interface of the virtual scene. Further, the electronic device 110 may determine the first control based on an adjustment operation for the space indication element. The adjustment operations here are the first operation and the second operation, the first operation is used to adjust the size of the first space, and the second operation is used to adjust the position of the first space.

[0048] As an example, Figure 2A and 2C As shown, when the control 229 in the configuration panel 225 is selected, the electronic device 110 can present a space indication element 240 in the interactive interface of the virtual scene. The space indication element 240 is used to indicate the first space. The first space can, for example, represent the position and size of the target virtual resource to be generated in the virtual scene. The size here can, for example, indicate the volume of the first space in the virtual scene. The electronic device 110 can adjust the size and position of the first space through the adjustment operation of the user 140 on the space indication element 240.

[0049] In some embodiments, the electronic device 110 may obtain the first operation via an adjustment panel in the interactive interface to adjust the size of the first space based on the first operation. Specifically, the electronic device 110 may present the adjustment panel in the interactive interface of the virtual scene. When the adjustment panel is presented in the first state, the electronic device 110 may provide a first size adjustment control in the adjustment panel, and the first size adjustment control is used to adjust the overall size of the first space.

[0050] As an example, Figure 2CThe electronic device 110 shown may provide an adjustment panel 241 to the user 140 in the interface 200C. When the adjustment panel 241 is presented, it may be in a first state by default. The first state may be, for example, a retracted state. The electronic device 110 may provide a control 241-1 in the adjustment panel 241. The control 241-1 is configured to adjust the size of the space indication element 240 by adjusting the scaling ratio of the space indication element 240.

[0051] Further, the electronic device 110 may obtain a first operation on the space indication element by adjusting at least one size adjustment control in the adjustment panel. Figure 2C The electronic device 110 shown may receive a first operation (eg, a sliding operation) of the user 140 via a control 241 - 1 in the adjustment panel 241 , and determine a target size of the space indication element 240 based on the first operation.

[0052] Finally, the electronic device 110 may determine the first space based on the first operation. As an example, after determining the target size, the electronic device 110 may adjust the space indication element 240 to adjust the current size of the space indication element 240 to the target size. Figure 2D As shown, when the electronic device 110 receives the first operation of the user 140 on the space indication element 240, the electronic device 110 can present the adjusted space indication element 240 in the interface 200D. After the size of the space indication element 240 is adjusted, the electronic device 110 can determine the size of the first space based on the size of the space indication element 240.

[0053] In some scenarios, the electronic device 110 may also provide the user 140 with a component 242 and a component 243 in the interface 200C. The component 242 is configured to adjust the orientation of the space indication element 240. The component 243 is configured to adjust the vertical position of the space indication element 240 in the virtual scene.

[0054] In other scenarios, the electronic device 110 may receive a second operation of the user 140 (e.g., a sliding operation on an area not occupied by the adjustment component in the interface 200C) via the interface 200C, and adjust the position of the space indication element 240 in the virtual scene based on the second operation of the user 140. After determining the position of the space indication element 240 in the virtual scene, the electronic device 110 may determine the position of the first space based on the position of the space indication element 240.

[0055] Additionally or alternatively, the electronic device 110 may present orientation information 244 of the space indication element 240 in the interface 200C, and the orientation information 244 is used to show the orientation of the space indication element 240. The electronic device 110 may receive an interactive operation of the user 140 via the component 242 to change the orientation of the indication element 240. For example, when the control 242-1 in the component 242 is selected, the electronic device 110 may turn the indication element 240 to the right by 90 degrees to adjust the orientation of the space indication element 240.

[0056] Additionally or alternatively, the electronic device 110 can adjust the vertical position of the spatial indication element 240 in the virtual scene through the component 243. For example, the virtual coordinates of the indication element 240 in the virtual scene are (255, 255, 0). After the control 243-1 is selected, the electronic device 110 can raise the vertical position of the indication element 240, that is, adjust the virtual coordinates of the indication element 240 to (255, 255, 10). In some scenarios, when the indication element 240 is on the ground in the virtual scene, the control 243-2 for lowering the vertical position of the indication element 240 will be adjusted to an unavailable state to ensure the complete presentation of the virtual objects created subsequently.

[0057] In some embodiments, when the adjustment panel is in the second state, the electronic device 110 may provide a plurality of size adjustment controls in the adjustment panel. The plurality of size adjustment controls are used to adjust the size of the first space in different directions.

[0058] As an example, Figure 2C As shown, the electronic device 110 can present the expansion control 245 in the interface 200C. When the expansion control 245 is triggered, the electronic device 110 can adjust the adjustment panel 241 from the first state to the second state (for example, from the collapsed state to the expanded state), and present the following Figure 2D The multiple size adjustment controls shown. Such size adjustment controls may include control 246, control 247, and control 248. Control 246, control 247, and control 248 correspond to the sizes of the indicating element 240 in different directions, respectively. Control 246 may correspond to the horizontal size, control 247 may correspond to the vertical size, and control 248 may correspond to the vertical size. The electronic device 110 may determine the size of the spatial indicating element 240 by the user 140 sliding the multiple controls in the component 241.

[0059] In some scenarios, the electronic device 110 can adjust the value corresponding to the control 241-1 based on the adjustment operation on the control 246. Such a value can be, for example, the scaling ratio of the space indicator element 240. In the scenario of proportional scaling, the scaling ratio corresponding to the control 241-1 is one-fiftieth of the horizontal size corresponding to the control 246. For example, when the horizontal size currently corresponding to the control 246 is 100, the scaling ratio of the space indicator element 240 (that is, the value corresponding to the control 241-1) is 2. Further, when the extended control 245 is clicked again, the electronic device 110 can adjust the adjustment panel 241 from the second state to the first state (for example, from the expanded state to the collapsed state), and present the adjusted control 241-1 in the adjustment panel 241, and the current scaling ratio presented by the control 241-1 is 2.

[0060] In the scenario of non-proportional scaling, the value displayed after the control 241-1 is re-presented will be fixed to 1. In other words, in the scenario of non-proportional scaling, the current scaling ratio displayed by the control 241-1 will not be adjusted due to the adjusted horizontal size, vertical size and vertical size. For example, at this time, the horizontal size is 50, the vertical size is 40, and the vertical size is 10. When the extended control 245 is clicked again, the value displayed in the control 241-1 re-presented by the electronic device 110 will be 1. In addition, the electronic device 110 can also determine the maximum and minimum values ​​of the scaling ratio based on the maximum and minimum values ​​of the horizontal size, the vertical size and the vertical size.

[0061] In some embodiments, when at least one generation parameter for generating the target virtual resource, the size and position of the first space are determined, the electronic device 110 can create a target virtual object in the first space. Specifically, the electronic device 110 can create a target virtual object corresponding to the target virtual resource in the first control of the virtual scene according to the first space replacement mode corresponding to the first resource type in response to the target virtual resource being generated based on the at least one generation parameter.

[0062] As an example, Figure 2D and 2E As shown, when the control 250 is selected, the electronic device 110 can create a target virtual object 260 in the first space indicated by the space indication element 240. Such a target virtual object 260 is created based on a target virtual resource generated by at least one generation parameter configured by the user 140. The target virtual object 260 can be, for example, a building object. In some scenarios, the electronic device 110 can not only create a building object in the virtual scene, but also create a group of environmental objects in the virtual scene. The creation of a group of environmental objects will be described in detail later, and the present disclosure will not go into details here.

[0063] In some embodiments, when creating a target virtual object, the electronic device 110 may create the target virtual object based on the first space replacement mode. Specifically, the electronic device 110 may update the first space to a preset terrain. Further, the electronic device 110 may create the target virtual object in the updated first space.

[0064] like Figure 2F As shown, there is already a terrain element 270 (e.g., a small mound) in the first space indicated by the space indication element 240. When the electronic device 110 creates the target virtual object, it will first use the first space replacement mode (e.g., remove the terrain element 270) to update the first space to a preset terrain (e.g., flat ground). Further, the electronic device 110 can create the target virtual object in the updated first space. In this way, when creating the target virtual object, the embodiment of the present disclosure can avoid affecting the presentation effect or function of the target virtual object due to terrain reasons.

[0065] In some embodiments, during the process of creating the target virtual object, the electronic device 110 may divide the first space into multiple subspaces based on the structural information of the target virtual object. Further, the electronic device 110 may add corresponding voxel data to at least part of the multiple subspaces based on the voxel configuration information corresponding to the multiple subspaces, so as to create the target virtual object in the first space.

[0066] As an example, in the process of creating a target virtual object, the electronic device 110 can divide the first space based on the structural information of the target virtual object. For example, if the target virtual object is a villa, the electronic device 110 can divide the first space into multiple subspaces based on different structures in the villa (e.g., roof, exterior wall, interior wall, door, window, etc.). Such multiple subspaces correspond to different structures of the villa, for example, the first subspace can correspond to the roof of the villa, and the second subspace can correspond to the window of the villa. After the first space is divided, the electronic device 110 can add voxel data to some subspaces. Such voxel data can be, for example, different modules of the target virtual object, and such different modules can include, for example, roof modules, window modules, etc. For example, the electronic device 110 can fill the roof module in the first subspace and fill the window module in the second subspace. After the voxel data is filled, the electronic device 110 can complete the creation of the target virtual object.

[0067] In some embodiments, the target virtual resource is also generated based on the first environment description information associated with the first space. The environment description information indicates the environment data within the preset range of the first space. As an example, when the environment data within the preset range of the first space is grassland, the server 130 will determine the environment description information (such as the description information of the grassland) based on such environment data. When generating the target virtual resource, the server 130 will use the environment description information as a reference to generate the target virtual resource. For example, the server 130 will adjust the form of the target virtual resource based on the environment description information. When the type of the target virtual resource is a villa type, the server 130 will adjust the form of the target virtual resource to a tent. In this way, the embodiments of the present disclosure support the generation of the target virtual resource based on the environment description information, so that the generated target virtual resource is more natural and the generation quality of the target virtual resource is improved.

[0068] When the target virtual object is created, the electronic device 110 can also receive an edit request from the user 140 to perform subsequent editing on the created target virtual object. For example, the created target virtual object is an office building. The electronic device 110 can receive an edit request from the user 140 for the target floor in the office building to edit the target floor in the office building. Such an edit request can, for example, define the function of the target floor, such as setting the target floor to a gym. When the electronic device 110 receives the edit request, decorations and fitness equipment associated with the gym can be added to the target floor. In some scenarios, the electronic device 110 can also edit the style, material or color of the created target virtual object based on the edit request of the user 140.

[0069] In this way, the embodiments of the present disclosure can generate target virtual resources according to the parameters set by the user, thereby making the creation of virtual objects more flexible and efficient.

[0070] Example 2

[0071] In some embodiments, the electronic device 110 may not only provide the first group of content items (e.g., virtual building resources) to the user 140 in the interactive window 205, but may also provide the second group of content items (e.g., virtual environment resources) to the user 140. Specifically, the electronic device 110 may not only present the first group of content items corresponding to the first resource type in the first tab page of the interactive window, but may also present the second group of content items corresponding to the second resource type in the second tab page of the interactive window.

[0072] As an example, Figure 2AAs shown, the electronic device 110 may provide an interactive window 205 in the interface 200A. The electronic device 110 may receive the configuration operation of the user 140 via the interactive window 205, and determine at least one generation parameter for generating the target virtual resource based on such configuration operation. When the interactive window 205 is presented, the electronic device 110 may provide the user with a label 275 and a label 280 in the interactive window 205, and the label 275 and the label 280 are respectively associated with a first tab page and a second tab page. The first tab page is used to present a first group of content items corresponding to a first resource type (e.g., a virtual building resource). The second tab page presents the user with a first group of content items corresponding to a first resource type (e.g., a virtual building resource). Figure 2B The second group of content items 220 corresponding to the second resource type (e.g., virtual environment resources) is shown. Each content item in the second group of content items 220 is associated with a different type of virtual environment resource. Such types of virtual environment resources include grassland type, forest type, courtyard type, and glacier type, etc. When a second content item 221 in the second group of content items 220 is selected, the electronic device 110 can present the description information of the second content item 221 in the configuration panel 225. Such description information can include, for example, the name of the second content item 221. In some scenarios, when the second content item 221 is selected, the electronic device 110 can present a preview effect of the second content item 221 in the preview component 230.

[0073] In some embodiments, the electronic device 110 may create a group of environmental objects corresponding to the second content item in the second control in the virtual scene. Specifically, the electronic device 110 may create a group of environmental objects corresponding to the second content item in the second control in the virtual scene according to the second space replacement mode corresponding to the second resource type based on the selection of the second content item of the second group of content items, so as to update the first environment representation of the second space. The second space replacement mode indicates that the terrain of the second space is maintained.

[0074] As an example, Figure 2B As shown, when the control 229 in the configuration panel 225 is selected, the electronic device 110 can determine the size and position of the second space via the interactive interface of the virtual scene. The process of determining the size and position of the second space is similar to the process of determining the size and position of the first space, and this disclosure will not repeat it.

[0075] Furthermore, if Figure 2F As shown in FIG. 1 , when creating a group of environmental objects corresponding to the second content item, the electronic device 110 may first determine the terrain in the second space, such terrain may include, for example, terrain elements 270. When creating a group of environmental objects, the electronic device 110 will overlay the group of environmental objects on the terrain elements 270 to present the following image: Figure 2GIn this way, the embodiment of the present disclosure will maintain the original terrain in the second space when creating a group of environmental objects, so that the created group of environmental objects can be more natural, thereby improving the creation quality of the environmental objects.

[0076] In some embodiments, when the electronic device 110 creates a set of environmental objects, it bypasses the virtual building resources already in the second space to create a set of environmental objects in the remaining area. Specifically, the electronic device 110 can determine the remaining area of ​​the target placement area that is not occupied by the building resources in response to the existence of virtual building resources in the second space. Further, the electronic device 110 can create an environmental virtual object in the remaining area.

[0077] As an example, Figure 2E As shown, when creating a group of environmental objects, the electronic device 110 will first determine whether a virtual building resource already exists in the second control. When it is determined that a virtual building resource already exists in the second space, the electronic device 110 can determine the area occupied by the virtual building resource to determine the remaining area in the second space that is not occupied by the virtual building resource. Further, the electronic device 110 can create a group of environmental objects in the remaining area in the second control.

[0078] In some scenarios, the target virtual object and a group of environmental objects can be created in sequence. When the target virtual object is created first, the electronic device 110 will make the group of environmental objects bypass the first virtual object that has been created when creating the group of environmental objects. That is, when the electronic device 110 creates the second virtual object, it will not affect the first virtual object that has been created. Additionally or alternatively, when the second virtual object is created first, the electronic device 110 will directly create the target virtual object by superimposing it on the group of environmental objects.

[0079] In some embodiments, the electronic device 110 may update the second environment representation of the third space based on the created set of environment objects in response to the first environment type of the first environment representation being different from the second environment type corresponding to the third space. The third space is adjacent to the second space.

[0080] As an example, Figure 2HAs shown. If there is a preset virtual environment in the third space 281 in the virtual scene, and the second environment type of the preset virtual environment is different from the first environment type in the second space 282, the electronic device 110 will create a transition area (such as area 283) in the second space 282 during the process of creating a group of environmental objects. Such a transition area is used to show the transition effect between the first environment representation and the preset virtual environment. For example, if the second environment type is a desert environment and the first environment type is a grassland environment, the grass in area 283 will slowly decrease until it transitions to a desert environment. In some scenarios, area 283 can be set not only inside the second space 282, but also outside the second space 282 (such as the adjacent external space between the third space 281 and the second control 282). In this way, the embodiments of the present disclosure can make the created set of environmental objects more natural, thereby improving the effect of creating a set of environmental objects.

[0081] In some embodiments, the server 130 may also generate a group of environmental objects based on the second environmental description information. Specifically, the group of environmental objects is generated based on the second environmental description information associated with the second control. The second environmental description information indicates the environment type within a preset range of the second control.

[0082] As an example, Figure 2H As shown, when generating the second environment object, the server 130 also obtains the second environment description information of the space adjacent to the second space 282 (for example, the third space 281). After obtaining the second environment description information, the server 130 can generate a group of environment objects based on the second description information. For example, if the second environment description information is that the third space 281 is a desert environment, and the group of environment objects to be generated is grassland, then the generated group of environment objects can be grass in the desert.

[0083] In this way, the embodiments of the present disclosure support users to create virtual objects of different resource types through an interactive window, thereby providing users with a rich virtual object creation method and improving the flexibility of virtual object creation.

[0084] Example Process

[0085] Figure 3 FIG. 3 is a flowchart showing an example process 300 of an interactive method in a virtual scene according to some embodiments of the present disclosure. The process 300 may be implemented at the electronic device 110. Figure 1 The process 300 is described below.

[0086] like Figure 3As shown, in box 310, the electronic device 110 presents an interactive window associated with the virtual scene, and the interactive window is configured to provide a first group of content items corresponding to a first resource type and a second group of content items corresponding to a second resource type, and the first resource type and the second resource type correspond to different spatial replacement modes.

[0087] At block 320 , the electronic device 110 presents at least one parameter configuration control associated with a first content item of the first group of content items in response to selection of the first content item.

[0088] At block 330 , the electronic device 110 determines, via at least one parameter configuration control, at least one generation parameter associated with the first content item.

[0089] In block 340 , in response to the target virtual resource being generated based on at least one generation parameter, the electronic device 110 creates a target virtual object corresponding to the target virtual resource in a first space of the virtual scene according to a first space replacement mode corresponding to the first resource type.

[0090] In some embodiments, process 300 further includes: presenting a first set of content items corresponding to the first resource type in a first tab of the interactive window; and presenting a second set of content items corresponding to the second resource type in a second tab of the interactive window.

[0091] In this way, the embodiments of the present disclosure can present a variety of content items corresponding to a variety of resource types in an interactive window, thereby providing users with more abundant choices and enabling more flexible generation of virtual objects.

[0092] In some embodiments, the target virtual resource is also generated based on first environment description information associated with the first space, where the environment description information indicates environment data within a preset range of the first space.

[0093] In this way, the embodiments of the present disclosure can make the generated target virtual resources more natural, thereby improving the generation effect of the target virtual resources.

[0094] In some embodiments, the first content item corresponds to a virtual building resource, and the at least one generation parameter includes at least one of the following: a type of the virtual building resource; a style of the virtual building resource; a material of the virtual building resource; a color of the virtual building resource.

[0095] In this way, the embodiments of the present disclosure can support users to configure multiple generation parameters of virtual resources, thereby configuring the generation parameters more flexibly.

[0096] In some embodiments, creating a target virtual object corresponding to the target virtual resource includes: updating the first space to a preset terrain; and creating the target virtual object in the updated first space.

[0097] In this way, the embodiments of the present disclosure can avoid affecting the presentation effect and function of the target virtual object due to terrain, thereby improving the presentation effect and interaction effect of the target virtual object.

[0098] In some embodiments, process 300 also includes: based on a selection of a second content item of the second group of content items, in a second space of the virtual scene, creating a group of environmental objects corresponding to the second content item according to a second space replacement mode corresponding to the second resource type to update the first environmental representation of the second space.

[0099] In this way, the embodiments of the present disclosure can not only create a target virtual object corresponding to a virtual building resource, but also create a group of environmental objects, thereby providing users with a rich virtual object creation method and improving the flexibility of virtual object creation.

[0100] In some embodiments, the second space replacement mode indicates maintaining the topography of the second space.

[0101] In this way, the embodiments of the present disclosure can make the created set of environmental objects more natural, thereby improving the creation quality of the set of environmental objects.

[0102] In some embodiments, a group of environmental objects is generated based on second environmental description information associated with the second space, where the second environmental description information indicates an environment type within a preset range of the second space.

[0103] In this way, the embodiments of the present disclosure can make the created set of environmental objects more natural, thereby improving the creation quality of the set of environmental objects.

[0104] In some embodiments, creating a set of environmental objects corresponding to the second content item includes: in response to the presence of virtual building resources in the second space, determining a remaining area in the target placement area that is not occupied by the virtual building resources; and creating a set of environmental objects in the remaining area.

[0105] In this way, the embodiments of the present disclosure can avoid a group of environmental objects from being superimposed on a virtual building resource after creation, thereby making the group of environmental objects more natural.

[0106] In some embodiments, process 300 further includes: in response to a first environment type of the first environment representation being different from a second environment type corresponding to the third space, updating a second environment representation of the third space based on the created set of environment objects, the third space being adjacent to the second space.

[0107] In this way, the embodiments of the present disclosure can make the created set of environmental objects more natural, thereby improving the creation quality of the set of environmental objects.

[0108] In some embodiments, after determining at least one generation parameter associated with the first content item, the method further includes: presenting a space indication element in an interactive interface of the virtual scene; and determining the first space based on an adjustment operation on the space indication element.

[0109] In this way, the embodiments of the present disclosure can determine the first space through the space indication element, thereby improving the efficiency of determining the first space.

[0110] In some embodiments, the adjustment operation includes at least one of the following: a first operation for adjusting a size of the first space; a second operation for adjusting a position of the first space.

[0111] In this way, the embodiments of the present disclosure can support the user to flexibly adjust the first space through the space indication element.

[0112] In some embodiments, creating a target virtual object corresponding to a target virtual resource includes: dividing a first space into multiple subspaces based on structural information of the target virtual object; and filling corresponding voxel data in at least part of the multiple subspaces based on voxel configuration information corresponding to the multiple subspaces to create the target virtual object in the first space.

[0113] In this way, the embodiments of the present disclosure can create a target virtual object more accurately and efficiently.

[0114] Example devices and equipment

[0115] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 4 A schematic structural block diagram of an example apparatus 400 for interacting in a virtual scene according to some embodiments of the present disclosure is shown. The apparatus 400 may be implemented as or included in the electronic device 110. Each module / component in the apparatus 400 may be implemented by hardware, software, firmware, or any combination thereof.

[0116] like Figure 4As shown, the device 400 includes: a first presentation module 410, configured to present an interactive window associated with a virtual scene, the interactive window being configured to provide a first group of content items corresponding to a first resource type and a second group of content items corresponding to a second resource type, the first resource type and the second resource type corresponding to different spatial replacement modes; a second presentation module 420, configured to present at least one parameter configuration control associated with the first content item in response to a selection of a first content item of the first group of content items; a determination module 430, configured to determine at least one generation parameter associated with the first content item via at least one parameter configuration control; and a first creation module 440, configured to create a target virtual object corresponding to the target virtual resource in a first space of the virtual scene according to a first spatial replacement mode corresponding to the first resource type in response to a target virtual resource being generated based on at least one generation parameter.

[0117] In some embodiments, the device 400 also includes a second presentation module configured to present a first group of content items corresponding to the first resource type in a first tab page of the interactive window; and present a second group of content items corresponding to the second resource type in a second tab page of the interactive window.

[0118] In some embodiments, the target virtual resource is also generated based on first environment description information associated with the first space, where the environment description information indicates environment data within a preset range of the first space.

[0119] In some embodiments, the first content item corresponds to a virtual building resource, and the at least one generation parameter includes at least one of the following: a type of the virtual building resource; a style of the virtual building resource; a material of the virtual building resource; a color of the virtual building resource.

[0120] In some embodiments, the first creation module 440 is further configured to: update the first space to a preset terrain; and create a target virtual object in the updated first space.

[0121] In some embodiments, the device 400 also includes a second creation module, which is configured to create a group of environmental objects corresponding to the second content item in the second space of the virtual scene according to a second space replacement mode corresponding to the second resource type based on a selection of a second content item of the second group of content items, so as to update the first environment representation of the second space.

[0122] In some embodiments, the second space replacement mode indicates maintaining the topography of the second space.

[0123] In some embodiments, a group of environmental objects is generated based on second environmental description information associated with the second space, where the second environmental description information indicates an environment type within a preset range of the second space.

[0124] In some embodiments, the second creation module is further configured to: in response to the existence of virtual building resources in the second space, determine the remaining area in the target placement area that is not occupied by the virtual building resources; and create a set of environmental objects in the remaining area.

[0125] In some embodiments, the device 400 also includes an update module configured to update the second environment representation of the third space based on a set of environment objects created in response to the first environment type represented by the first environment being different from the second environment type corresponding to the third space, where the third space is adjacent to the second space.

[0126] In some embodiments, the device 400 also includes a third presentation module, which is configured to present a space indication element in the interactive interface of the virtual scene after determining at least one generation parameter associated with the first content item; and determine the first space based on an adjustment operation on the space indication element.

[0127] In some embodiments, the adjustment operation includes at least one of the following: a first operation for adjusting a size of the first space; a second operation for adjusting a position of the first space.

[0128] In some embodiments, the first creation module 440 is also configured to: divide the first space into multiple subspaces based on structural information related to the target virtual object; and fill corresponding voxel data in at least part of the multiple subspaces based on voxel configuration information corresponding to the multiple subspaces to create the target virtual object in the first space.

[0129] The modules included in the device 400 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more modules can be implemented using software and / or firmware, such as machine executable instructions stored on a storage medium. In addition to or as an alternative to machine executable instructions, some or all of the units in the device 400 can be implemented at least in part by one or more hardware logic components. As an example and not limitation, exemplary types of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0130] Figure 5 1 shows a block diagram of an electronic device 500 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 5 The electronic device 500 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Figure 5The illustrated electronic device 500 may be used to implement the electronic device 110 as discussed above.

[0131] like Figure 5 As shown, the electronic device 500 is in the form of a general electronic device. The components of the electronic device 500 may include, but are not limited to, one or more processors or processing units 510, a memory 520, a storage device 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. The processing unit 510 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 520. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 500.

[0132] The electronic device 500 typically includes a plurality of computer storage media. Such media may be any accessible media that is accessible to the electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 520 may be a volatile memory (e.g., registers, caches, random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 530 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data and may be accessed within the electronic device 500.

[0133] The electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 5 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 520 may include a computer program product 525 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.

[0134] The communication unit 540 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 500 can be implemented in a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 500 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.

[0135] The input device 550 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 560 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 500 may also communicate with one or more external devices (not shown) through the communication unit 540 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 500, or communicate with any device that allows the electronic device 500 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).

[0136] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.

[0137] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0138] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0139] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0140] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0141] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.

Claims

1. An interactive method in a virtual scene, comprising: presenting an interactive window associated with the virtual scene, the interactive window being configured to provide a first group of content items corresponding to a first resource type and a second group of content items corresponding to a second resource type, the first resource type and the second resource type corresponding to different spatial replacement modes; In response to selection of a first content item of the first group of content items, presenting at least one parameter configuration control associated with the first content item; determining, via the at least one parameter configuration control, at least one generation parameter associated with the first content item; as well as In response to the target virtual resource being generated based on the at least one generation parameter, a target virtual object corresponding to the target virtual resource is created in a first space of the virtual scene according to a first space replacement mode corresponding to the first resource type.

2. The method according to claim 1, further comprising: presenting the first group of content items corresponding to the first resource type in a first tab page of the interactive window; as well as The second group of content items corresponding to the second resource type is presented in a second tab page of the interactive window. 3 . The method according to claim 1 , wherein the target virtual resource is also generated based on first environment description information associated with the first space, and the environment description information indicates environment data within a preset range of the first space.

4. The method of claim 1 , wherein the first content item corresponds to a virtual building resource, and the at least one generation parameter comprises at least one of: Types of virtual building resources; The style of the virtual architectural resources; Materials of virtual building resources; The color of the virtual building resource.

5. The method according to claim 1, wherein creating a target virtual object corresponding to the target virtual resource comprises: Updating the first space to a preset terrain; and In the updated first space, the target virtual object is created.

6. The method according to claim 1, further comprising: Based on selection of a second content item from the second group of content items, in a second space of the virtual scene, a group of environment objects corresponding to the second content item are created according to a second space replacement mode corresponding to the second resource type to update a first environment representation of the second space. The method according to claim 6 , wherein the second space replacement mode indicates maintaining a topography of the second space.

8. The method according to claim 6, wherein the set of environmental objects is generated based on second environmental description information associated with the second space, and the second environmental description information indicates an environment type within a preset range of the second space.

9. The method of claim 6, wherein creating a set of environment objects corresponding to the second content item comprises: In response to the presence of a virtual building resource in the second space, determining a remaining area in the target placement area that is not occupied by the virtual building resource; as well as The set of environment objects is created in the remaining area.

10. The method according to claim 6, further comprising: In response to a first environment type of the first environment representation being different from a second environment type corresponding to a third space, a second environment representation of the third space is updated based on the created set of environment objects, the third space being adjacent to the second space.

11. The method of claim 1 , wherein after determining at least one generation parameter associated with the first content item, the method further comprises: Presenting a spatial indication element in an interactive interface of the virtual scene; as well as Based on an adjustment operation on the space indication element, the first space is determined.

12. The method according to claim 11, wherein the adjusting operation comprises at least one of the following: a first operation for adjusting a size of the first space; A second operation is used to adjust the position of the first space.

13. The method according to claim 1, wherein creating a target virtual object corresponding to the target virtual resource comprises: Based on structural information about the target virtual object, dividing the first space into a plurality of subspaces; as well as Based on the voxel configuration information corresponding to the multiple subspaces, corresponding voxel data is filled in at least part of the multiple subspaces to create the target virtual object in the first space.

14. A device for interaction in a virtual scene, comprising: A first presentation module is configured to present an interactive window associated with the virtual scene, wherein the interactive window is configured to provide a first group of content items corresponding to a first resource type and a second group of content items corresponding to a second resource type, wherein the first resource type and the second resource type correspond to different spatial replacement modes; a second presentation module configured to present at least one parameter configuration control associated with a first content item of the first group of content items in response to selection of the first content item; a determination module configured to determine, via the at least one parameter configuration control, at least one generation parameter associated with the first content item; as well as The creation module is configured to create a target virtual object corresponding to the target virtual resource in a first space of the virtual scene according to a first space replacement mode corresponding to the first resource type in response to the target virtual resource being generated based on the at least one generation parameter.

15. An electronic device, comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 13 when executed by the at least one processing unit.

16. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 13.