Method, device and equipment for acquiring virtual home materials and storage medium
By displaying the range selection box in a virtual environment, allowing interactive objects to select target ranges to obtain virtual home materials, the problems of limitations and differences in the acquisition of materials in the prior art are solved, and acquisition flexibility and human-computer interaction rate are improved.
Patent Information
- Application Number
- CN202311780417.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-21
- Publication Date
- 2025-06-24
AI Technical Summary
In the prior art, the method of the terminal to obtain virtual home materials is limited to specific environmental elements in the virtual environment, resulting in a large difference between the acquired materials and the interaction object expectations, reducing the human-computer interaction rate.
Provides a method to allow interactive objects to select target ranges to obtain virtual home material by displaying a range selection box in a virtual environment. The method includes displaying a virtual environment, displaying a range selection box in response to a material acquisition request, and obtaining virtual home material within the target range according to the operation of the interactive object.
It improves the flexibility of obtaining virtual home materials, can obtain the materials expected by the interactive object, and enhances the willingness of the interactive object to use these materials to arrange the virtual home, thereby improving the human-computer interaction rate.
Smart Images

Figure CN120189696A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and particularly to a method, device, equipment and storage medium for obtaining virtual home materials. Background Art
[0002] With the development of computer technology, more and more games support the gameplay of virtual homes, and a virtual home is the home of interactive objects in the game. Under the gameplay of the virtual home, the terminal needs to obtain virtual home materials for the interactive objects to decorate the virtual home with the virtual home materials.
[0003] In the related art, the way for the terminal to obtain virtual home materials is as follows: in response to the virtual object moving near a specific environmental element in the virtual environment and obtaining a material acquisition confirmation operation, taking the specific environmental element as the virtual home material.
[0004] In the above way, the obtained virtual home materials are only limited to specific environmental elements in the virtual environment, and the limitation is large. The specific environmental element may be quite different from the virtual home materials expected by the interactive object, which may reduce the willingness of the interactive object to decorate the virtual home with the virtual home materials, resulting in a low human-computer interaction rate. Summary of the Invention
[0005] The embodiments of the present application provide a method, device, equipment and storage medium for obtaining virtual home materials, which can be used to improve the flexibility of obtaining virtual home materials and improve the human-computer interaction rate. The technical solutions are as follows:
[0006] On the one hand, the embodiments of the present application provide a method for obtaining virtual home materials, and the method includes:
[0007] Display a virtual environment;
[0008] In response to a material acquisition request, display a range selection box in the virtual environment;
[0009] In response to a determination operation of a target range, obtain the virtual home materials corresponding to the target range, where the target range is a range selected in the virtual environment based on the range selection box, and the virtual home materials are determined based on the virtual environmental elements located within the target range in the virtual environment.
[0010] On the other hand, a device for obtaining virtual home materials is provided, and the device includes:
[0011] A display module, configured to display a virtual environment;
[0012] The display module is further configured to display a range selection box in the virtual environment in response to a material acquisition request;
[0013] An acquisition module, configured to acquire virtual home materials corresponding to a target range in response to a determination operation of the target range, where the target range is a range selected in the virtual environment based on the range selection box, and the virtual home materials are determined based on virtual environment elements located within the target range in the virtual environment.
[0014] In a possible implementation manner, the display module is further configured to, in response to a selection operation on a target element in the virtual environment, move the range selection box to a position centered on the center of the target element, and adjust the size of the range selection box to wrap the size of the target element.
[0015] In a possible implementation manner, the range selection box is provided with adjustment controls, and the display module is further configured to, in response to a trigger operation on the adjustment controls, adjust the range selection box according to the adjustment method corresponding to the adjustment controls.
[0016] In a possible implementation manner, the adjustment controls include at least one of a translation control, a rotation control, or a size adjustment control; wherein, the size adjustment control includes at least one of an overall magnification control, an overall reduction control, or a dimension adjustment control, and the dimension adjustment control includes sub-controls corresponding to at least one dimension of the range selection box, and any sub-control corresponding to a dimension is used to adjust the size of the any dimension of the range selection box.
[0017] In a possible implementation manner, the display module is further configured to, in response to a switching operation of switching the first perspective to the second perspective, switch the display effects of the virtual environment and the range selection box from the display effect in the first perspective to the display effect in the second perspective.
[0018] In a possible implementation manner, when the virtual environment elements meet the splitting conditions, the virtual home materials include the virtual environment elements and sub-level environment elements, and the sub-level environment elements are obtained by splitting the virtual environment elements.
[0019] In a possible implementation manner, the virtual environment elements meeting the splitting conditions include: the virtual environment elements include elements with reference marks; the sub-level environment elements are the elements with the reference marks included in the virtual environment elements.
[0020] In a possible implementation manner, when the virtual environment elements do not meet the splitting conditions, the virtual home materials include the virtual environment elements, and the virtual home materials do not include sub-level environment elements, and the sub-level environment elements are obtained by splitting the virtual environment elements.
[0021] In a possible implementation, the display module is further configured to display a material acquisition control;
[0022] The acquisition module is further configured to obtain the material acquisition request in response to a trigger operation of the material acquisition control.
[0023] In a possible implementation, the display module is further configured to hide the range selection box and display a prompt message in response to an exit request, where the prompt message is used to prompt that the virtual home materials have been stored in the material library.
[0024] In a possible implementation, the display module is further configured to display environmental elements included in the virtual home materials in response to a viewing operation of the material library; and arrange the virtual home by using any one of the environmental elements in the virtual home materials in response to a selection operation of any one of the environmental elements in the virtual home materials.
[0025] On the other hand, a computer device is provided, where the computer device includes a processor and a memory, and at least one computer program is stored in the memory. The at least one computer program is loaded and executed by the processor so that the computer device implements the method for acquiring virtual home materials described in any one of the above.
[0026] On the other hand, a computer-readable storage medium is further provided, where at least one computer program is stored in the computer-readable storage medium. The at least one computer program is loaded and executed by a processor so that a computer implements the method for acquiring virtual home materials described in any one of the above.
[0027] On the other hand, a computer program or a computer program product is further provided, where the computer program or the computer program product includes computer instructions. The computer instructions are loaded and executed by a processor so that a computer implements the method for acquiring virtual home materials described in any one of the above.
[0028] The technical solution provided by the embodiment of the present application at least brings the following beneficial effects:
[0029] The technical solution provided by the embodiment of the present application provides a range selection box for an interaction object to select a target range in a virtual environment, and then acquire virtual home materials corresponding to the target range. The selection of the target range has great flexibility, which is beneficial to improving the flexibility of acquiring virtual home materials, can acquire the virtual home materials expected by the interaction object, improve the willingness of the interaction object to arrange the virtual home by using the acquired virtual home materials, and thus improve the human-computer interaction rate. Description of the Drawings
[0030] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the accompanying drawings required for the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can be obtained based on these drawings.
[0031] Figure 1 It is a schematic diagram of an implementation environment provided by an embodiment of the present application;
[0032] Figure 2 It is a flowchart of a method for obtaining virtual home materials provided by an embodiment of the present application;
[0033] Figure 3 It is a schematic diagram of a display interface provided by an embodiment of the present application;
[0034] Figure 4 It is a schematic diagram of a display interface provided by an embodiment of the present application;
[0035] Figure 5 It is a schematic diagram of a display interface provided by an embodiment of the present application;
[0036] Figure 6 It is a schematic diagram of a display interface provided by an embodiment of the present application;
[0037] Figure 7 It is a schematic diagram of a display interface provided by an embodiment of the present application;
[0038] Figure 8 It is a schematic diagram of a display interface provided by an embodiment of the present application;
[0039] Figure 9 It is a schematic diagram of a display interface provided by an embodiment of the present application;
[0040] Figure 10 It is a schematic diagram of a display interface provided by an embodiment of the present application;
[0041] Figure 11 It is a schematic diagram of a display interface provided by an embodiment of the present application;
[0042] Figure 12 It is a schematic diagram of a display interface provided by an embodiment of the present application;
[0043] Figure 13 It is a schematic diagram of a display interface provided by an embodiment of the present application;
[0044] Figure 14 It is a schematic diagram of a display interface provided by an embodiment of the present application;
[0045] Figure 15 It is a schematic diagram of a display interface provided by an embodiment of the present application;
[0046] Figure 16 It is a schematic diagram of a display interface provided by an embodiment of the present application;
[0047] Figure 17 It is a schematic diagram of a display interface provided by an embodiment of the present application;
[0048] Figure 18 It is a schematic diagram of a process for obtaining virtual home materials provided by an embodiment of the present application;
[0049] Figure 19 It is a schematic diagram of a device for obtaining virtual home materials provided by an embodiment of the present application;
[0050] Figure 20 It is a schematic diagram of the structure of a computer device provided by an embodiment of the present application. Detailed implementation manners
[0051] To make the objectives, technical solutions, and advantages of the present application clearer, the following will further describe the embodiments of the present application in detail with reference to the accompanying drawings.
[0052] Introduce the nouns involved in the embodiments of the present application:
[0053] Virtual environment: The scene provided (or displayed) when the application runs on the terminal. The virtual environment refers to the scene created for virtual objects to move. The virtual environment can be a two-dimensional virtual environment, a 2.5D virtual environment, or a three-dimensional virtual environment. The virtual environment can be a simulation scene of the real world, a semi-simulation and semi-fictional scene, or a purely fictional scene. In some embodiments, the virtual environment can also be called a virtual scene.
[0054] Virtual object: An object that can move in the virtual environment. The virtual object can be a virtual character, a virtual animal, an anime character, etc. The interaction object can control the virtual object by means of a peripheral component or by clicking on the touch display screen. Each virtual object has its own shape and volume in the virtual environment and occupies a part of the space in the virtual environment. Exemplarily, when the virtual environment is a three-dimensional virtual environment, the virtual object is a three-dimensional solid model created based on the animation skeleton technology. In some embodiments, the interaction object can also be called a player.
[0055] Open world: A virtual environment in which virtual objects can freely roam. The interaction object can freely choose the time point and method of completing the game tasks in a game that supports an open world. In some embodiments, the map corresponding to the open world can be called a large map.
[0056] Home system: A social system in which the interactive objects can DIY (Do It Yourself) their own space, and the home system can maintain a virtual home. A virtual home refers to the home of the interactive object in the game. The interactive object can create a home environment with its own distinctive characteristics by arranging its own virtual home. The home system plays an important role in social display and enhancing the sense of showing off, and is an important manifestation of the interactive object's self-personality display. Videos of the interactive objects building virtual homes can often receive a high amount of attention, which plays a good role in increasing the exposure of the game. For example, MMOG (Massive Multiplayer Online Game), open world games, etc. all have home systems, that is, MMOG, open world games, etc. all support the gameplay of virtual homes.
[0057] Figure 1 The schematic diagram of the implementation environment of the method for obtaining virtual home materials provided in the embodiment of the present application is shown. The implementation environment includes: a terminal 11 and a server 12.
[0058] The terminal 11 is installed and runs an application supporting a virtual environment, and the application supporting a virtual environment supports the gameplay of a virtual home. The method provided in the embodiment of the present application is used to obtain the virtual home materials required for arranging a virtual home. The interactive object can use the terminal 11 to control the virtual object to perform activities in the virtual environment provided by the application, and the activities include but are not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, competitive interaction with other virtual objects, throwing, changing positions, etc.
[0059] The embodiments of the present application do not limit the application programs that support the virtual environment. For example, the application programs that support the virtual environment include but are not limited to: VR (Virtual Reality) applications, AR (Augmented Reality) applications, three-dimensional map programs, game applications, social applications, interactive entertainment applications, etc. For example, game applications include but are not limited to MMOG and open world games. In some embodiments, the application program can also be called a client, that is, the terminal 11 is installed and runs a client that supports the virtual environment.
[0060] In some embodiments, the application program that supports the virtual environment can support at least one of the Windows operating system, Apple operating system, Android operating system, iOS operating system, and Linux operating system. The application programs running on different operating systems can communicate with each other. In some embodiments, the application program that supports the virtual environment is an application program developed based on a 3D engine. In some embodiments, the application program that supports the virtual environment is a stand-alone version of the application program or a network online version of the application program.
[0061] The server 12 is used to provide background services for the application program that supports the virtual environment installed on the terminal 11. In a possible implementation manner, the server 12 undertakes the main computing work, and the terminal 11 undertakes the secondary computing work; or, the server 12 undertakes the secondary computing work, and the terminal 11 undertakes the main computing work; or, the server 12 and the terminal 11 adopt a distributed computing architecture for collaborative computing.
[0062] In a possible implementation manner, the terminal 11 is any electronic product that can perform human-computer interaction with an interaction object in one or more ways such as a keyboard, touchpad, touch screen, remote control, voice interaction, or handwriting device. For example, a PC (Personal Computer), mobile phone, smart phone, PDA (Personal Digital Assistant), wearable device, handheld portable game device, PPC (Pocket PC), tablet computer, smart car machine, smart TV, smart speaker, vehicle-mounted terminal, etc. The server 12 can be a single server, a server cluster composed of multiple servers, or a cloud computing service center. The terminal 11 and the server 12 establish a communication connection through a wired or wireless network.
[0063] Those skilled in the art should understand that the above terminal 11 and server 12 are only examples. Other existing or future possible terminals or servers that can be applied to this application should also be included within the protection scope of this application and are hereby incorporated herein by reference.
[0064] An embodiment of the present application provides a method for obtaining virtual home materials. This method can be applied to the Figure 1 shown implementation environment. This method is executed by a computer device. Exemplarily, this computer device can be a terminal. In the embodiment of the present application, it is taken as an example that this method is executed by the terminal. For example, this method can be executed by the terminal or the application program that supports the virtual environment installed on the terminal. As Figure 2 shown, the method for obtaining virtual home materials provided in the embodiment of the present application can include the following steps 201 to step 203.
[0065] In step 201, a virtual environment is displayed.
[0066] The execution subject of the embodiment of the present application is a terminal installed with an application supporting a virtual environment, and the terminal can display the virtual environment. In an exemplary embodiment, the terminal displaying the virtual environment may refer to the terminal displaying in real time a virtual environment screen obtained by capturing the virtual environment with a reference viewing angle. The reference viewing angle may be set by the developer of the application or by the interactive object, and the embodiment of the present application does not limit this.
[0067] Exemplarily, the reference perspective may refer to the perspective of the first virtual object, for example, the first-person perspective of the first virtual object, the third-person perspective of the first virtual object, etc. The first virtual object refers to a virtual object that is active in the virtual environment and is used to represent an interactive object using the terminal. If the reference perspective refers to the perspective of the first virtual object, the virtual environment screen displayed by the terminal may be updated in real time while the first virtual object moves in the virtual environment.
[0068] Exemplarily, the reference perspective may also refer to a horizontal perspective, a top perspective, a bottom perspective, a bird's-eye view, an upward perspective, etc. A horizontal perspective refers to a horizontal perspective, a top perspective refers to a vertical downward perspective, a bottom perspective refers to a vertical upward perspective, a bird's-eye view refers to a perspective from a high place to a low place, and an upward perspective refers to a perspective from a low place to a high place.
[0069] When displaying the virtual environment, the first virtual object in the virtual environment and other virtual objects controlled by other terminals can also be displayed. The other virtual objects can be in the same camp as the first virtual object or in different camps. This is not limited in the embodiments of the present application. For example, the virtual environment can be a two-dimensional virtual environment, a 2.5-dimensional virtual environment, or a three-dimensional virtual environment.
[0070] In an exemplary embodiment, in addition to displaying the virtual environment, a material acquisition control is also displayed in the display interface of the terminal. The material acquisition control is used to control whether to enter the material acquisition mode. In other words, if the interactive object triggers the material acquisition control, the material acquisition mode is entered; if the interactive object does not trigger the material acquisition control, the material acquisition mode is not entered, that is, the original game mode is maintained. The material acquisition mode refers to a mode that supports the interactive object to select the range corresponding to the virtual home material to be acquired in the virtual environment through the range selection box. In some embodiments, the process of acquiring virtual home materials can also be referred to as the process of replicating virtual environment elements in the virtual environment.
[0071] The embodiments of the present application do not limit the display timing of the material acquisition control. Exemplarily, the material acquisition control can be displayed simultaneously with the virtual environment, that is, when the virtual environment is displayed, the material acquisition control is defaultly displayed. Exemplarily, when the first virtual object is in a non-competitive interaction state, the material acquisition control is displayed. When the first virtual object is in a competitive interaction state, the interaction object usually has no need to acquire virtual home materials, so the material acquisition control is not displayed to avoid interference with the competitive interaction operations of the interaction object.
[0072] In an exemplary embodiment, the display timing of the material acquisition control can be unrestricted by the position of the first virtual object in the virtual environment. That is to say, regardless of the position of the first virtual object in the virtual environment, the material acquisition control can be displayed, so as to avoid the virtual home materials to be acquired being limited to specific virtual environment elements in the virtual environment and improve the freedom and flexibility of acquiring virtual home materials.
[0073] The embodiments of the present application do not limit the style of the material acquisition control, as long as it is ensured that the material acquisition control can be triggered. Exemplarily, the style of the material acquisition control can be a button. Exemplarily, the style of the material acquisition control can be a triggerable icon. Exemplarily, the material acquisition control can be superimposed and displayed on the virtual environment screen.
[0074] Exemplarily, the display interface of the terminal can be as Figure 3 shown. In the Figure 3 shown display interface, a virtual environment 300 and a material acquisition control 400 are displayed. Among them, the virtual environment 300 includes a pavilion 301, a pillar 302, and a first virtual object 303. The pavilion 301 includes a table. The material acquisition control 400 is marked with the text "replicate". It should be noted that in the display interface, in addition to displaying the material acquisition control 400, other interaction controls can also be displayed according to requirements.
[0075] In step 202, in response to the material acquisition request, a range selection box is displayed in the virtual environment.
[0076] The material acquisition request is used to indicate that the terminal needs to acquire virtual home materials. After the terminal obtains the material acquisition request, a range selection box is displayed in the virtual environment. The range selection box is used for the interaction object to select the range corresponding to the virtual home materials to be acquired in the virtual environment.
[0077] In an exemplary embodiment, in addition to displaying the virtual environment, a material acquisition control is also displayed. After displaying the virtual environment and the material acquisition control, the interactive object can determine whether it is necessary to enter the material acquisition mode (that is, determine whether the terminal needs to acquire virtual home materials) based on the displayed virtual environment. After determining that it is necessary to enter the material acquisition mode, the material acquisition control is triggered. After the interactive object triggers the material acquisition control, the terminal obtains the triggering operation of the material acquisition control, and obtains a material acquisition request in response to the triggering operation of the material acquisition control. In other words, the material acquisition request can be initiated by the interactive object by triggering the material acquisition control. The material acquisition control is more intuitive, which is conducive to increasing the interest of the interactive object in initiating the material acquisition request and improving the human-computer interaction rate.
[0078] In an exemplary embodiment, the terminal may also obtain a material acquisition request in response to a material acquisition voice instruction. The material acquisition voice instruction refers to a voice instruction issued by an interactive object to indicate that a material acquisition mode needs to be entered. The interactive object may determine whether it is necessary to enter the material acquisition mode (i.e., determine whether the terminal needs to obtain virtual home materials) based on the displayed virtual environment, and after determining that it is necessary to enter the material acquisition mode, issue a material acquisition voice instruction, so that the terminal obtains the material acquisition request.
[0079] The shape of the range selection box is related to the dimension of the virtual environment. If the dimension of the virtual environment is two-dimensional, the shape of the range selection box is a two-dimensional shape. For example, the shape of the range selection box may include but is not limited to a rectangle, a square, a circle, etc. If the dimension of the virtual environment is three-dimensional, the shape of the range selection box is a three-dimensional shape. For example, the shape of the range selection box may include but is not limited to a cuboid, a cube, a sphere, etc.
[0080] The way in which the terminal displays the range selection box in the virtual environment can be set according to experience, or it can be flexibly adjusted according to the application scenario. Exemplarily, the terminal can display the range selection box in the virtual environment according to the facial orientation of the first virtual object and the position of the first virtual object. For example, the terminal can display the range selection box at a position in the virtual environment where the distance between the facial orientation of the first virtual object and the position of the first virtual object is a reference distance. Exemplarily, the terminal can also make the bottom of the range selection box located on the lowest horizontal section (such as the ground plane) of the current position. The reference distance is set according to experience, or flexibly adjusted according to the application scenario, and the embodiments of the present application are not limited to this.
[0081] In an exemplary embodiment, after the range selection box is displayed, the material acquisition control may be hidden or retained, which is not limited in the embodiment of the present application.
[0082] For example, Figure 4As shown, after the display material acquisition control 400 is displayed, the interaction object can trigger the material acquisition control 400. After the terminal obtains the trigger operation of the material acquisition control 400, it displays a display interface as shown in Figure 5 In the Figure 5 In the displayed interface shown, a range selection box 500 is displayed at the position of the face orientation of the first virtual object, and the material acquisition control 400 is hidden.
[0083] In an exemplary embodiment, after the range selection box is displayed, the range covered by the range selection box may not be the range expected by the interaction object. In this case, the terminal can also adjust the range selection box according to the operation of the interaction object so that the range covered by the adjusted range selection box is the range expected by the interaction object.
[0084] The embodiments of the present application do not limit the adjustment methods supported by the range selection box, which can be set according to experience or flexibly adjusted according to the application scenario.
[0085] In an exemplary embodiment, the adjustment methods supported by the range selection box may include adjustment through an adjustment control. In this case, the range selection box corresponds to an adjustment control, and the process of adjusting the range selection box includes: in response to the trigger operation of the adjustment control, adjusting the range selection box according to the adjustment method corresponding to the adjustment control. In this way, the interaction object can adjust the range selection box arbitrarily according to the adjustment control, and the adjustment flexibility of the range selection box is relatively high, which is beneficial to improving the flexibility of obtaining virtual home materials.
[0086] The adjustment control is a control used to adjust the range selection box, and the type of the adjustment control can be set by the developer. In an exemplary embodiment, the adjustment control includes at least one of a translation control, a rotation control, or a size adjustment control.
[0087] The translation control is used to translate the range selection box. Exemplarily, the translation control includes at least one of an upward translation control, a downward translation control, a leftward translation control, a rightward translation control, a forward translation control, and a backward translation control. The upward translation control is used to translate the range selection box upward, the downward translation control is used to translate the range selection box downward, the leftward translation control is used to translate the range selection box leftward, the rightward translation control is used to translate the range selection box rightward, the forward translation control is used to translate the range selection box forward, and the backward translation control is used to translate the range selection box backward.
[0088] Exemplarily, taking the virtual environment as a three-dimensional virtual environment as an example, a spatial coordinate system including an x-axis, a y-axis, and a z-axis can be established in the virtual environment. Translating upward and downward means translating in the longitudinal direction (e.g., the direction where the z-axis is located), translating left and right means translating in a horizontal direction (e.g., the direction where the x-axis is located) within a two-dimensional plane (e.g., the plane formed by the x-axis and the y-axis), and translating forward and backward means translating in another horizontal direction (e.g., the direction where the y-axis is located) within a two-dimensional plane (e.g., the plane formed by the x-axis and the y-axis).
[0089] The rotation control is used to rotate the range selection box. Exemplarily, the rotation control can be in the form of a roulette, and the pointer in the roulette can point to any angle among 360 degrees. The angle by which the range rotation box is rotated can be controlled by controlling the angle pointed to by the pointer in the roulette.
[0090] The size adjustment control is used to adjust the size of the range selection box. Exemplarily, the size adjustment control includes at least one of an overall magnification control, an overall reduction control, or a dimension adjustment control. The overall magnification control is used to proportionally magnify all dimensions of the range selection box, and the overall reduction control is used to proportionally reduce all dimensions of the range selection box. The dimension adjustment control includes sub-controls corresponding to at least one dimension of the range selection box, and any sub-control corresponding to a dimension is used to adjust the size of that dimension of the range selection box. The specific situation of the sub-controls included in the dimension adjustment control can be flexibly set according to the shape of the range selection box, the category of the application program, etc., and the embodiments of the present application do not limit this.
[0091] Exemplarily, the shape of the range selection box is a cuboid, and one plane of the range selection box is parallel to the ground plane of the virtual environment. In this case, the dimension adjustment control can include at least one of a sub-control corresponding to the height, a sub-control corresponding to the length, or a sub-control corresponding to the width. The sub-control corresponding to the height is used to keep the length and width of the range selection box unchanged and adjust (increase or decrease) the height of the range selection box; the sub-control corresponding to the length is used to keep the height and width of the range selection box unchanged and adjust (increase or decrease) the length of the range selection box; the sub-control corresponding to the width is used to keep the length and height of the range selection box unchanged and adjust (increase or decrease) the width of the range selection box.
[0092] Exemplarily, for the case where the dimension adjustment control includes a sub-control corresponding to the height, taking the lowest ground plane in the virtual environment as a reference, increasing the height means increasing the height above the lowest ground plane without causing the range selection box to pass through the lowest ground plane.
[0093] Of course, when the shape of the range selection box is other shapes, the sub-controls included in the dimension adjustment control can also be other situations. For example, when the shape of the range selection box is a cube, the sub-control included in the dimension adjustment control is the sub-control corresponding to the side length; for another example, when the shape of the range selection box is a sphere, the sub-control included in the dimension adjustment control is the sub-control corresponding to the radius.
[0094] The specific process of adjusting the range selection box according to the adjustment method corresponding to the adjustment control is related to the specific type of the adjustment control. Exemplarily, if the adjustment control is a translation control, adjusting the range selection box according to the adjustment method corresponding to the adjustment control means translating the range selection box according to the translation direction corresponding to the translation control. If the adjustment control is a rotation control, adjusting the range selection box according to the adjustment method corresponding to the adjustment control means rotating the range selection box according to the rotation direction corresponding to the rotation control. If the adjustment control is a size adjustment control, adjusting the range selection box according to the adjustment method corresponding to the adjustment control means adjusting the size of the range selection box according to the dimension to be adjusted indicated by the size adjustment control and the size adjustment method corresponding to the dimension to be adjusted.
[0095] By setting multiple adjustment controls, the ways for the interaction object to adjust the range selection box can be enriched, further improving the flexibility of the interaction object to adjust the range selection box, increasing the interest of the interaction object in selecting the target range by adjusting the range selection box, and improving the human-computer interaction rate.
[0096] For example, referring to Figure 5 , the adjustment controls corresponding to the range selection box 500 include a translation control and a size adjustment control. Among them, the translation control includes an upward translation control 401, a downward translation control 402, a leftward translation control 403, and a rightward adjustment control 404. The size adjustment control includes an overall magnification control 405, an overall reduction control 406, and a dimension adjustment control 407. The dimension adjustment control 407 refers to the sub-control corresponding to the height, and the dimension adjustment control 407 is used to adjust the height of the range selection box.
[0097] If the interaction object triggers the leftward translation control 403 (as shown in Figure 6 ), the terminal obtains the trigger operation of the leftward translation control 403 and translates the range selection box 500 to the left. The display interface after translating the range selection box 500 to the left is as shown in Figure 7 . If after triggering the leftward translation control 403, the interaction object triggers the overall magnification control 405 (as shown in Figure 8 ), the terminal obtains the trigger operation of the overall magnification control 405 and magnifies the range selection box 500 as a whole. The display interface after magnifying the range selection box 500 as a whole is as shown in Figure 9 .
[0098] In an exemplary embodiment, the adjustment methods supported by the range selection box may include adjustment according to the target element selected from the virtual environment. In this case, the process of adjusting the range selection box includes: in response to the selection operation of the target element in the virtual environment, moving the range selection box to a position centered on the center of the target element, and adjusting the size of the range selection box to wrap the size of the target element. In this way, the interactive object can quickly adjust the range selection box using the target element, with high adjustment convenience, which is beneficial to the selection efficiency of the target range, and thus improves the efficiency of obtaining virtual home materials.
[0099] The target element is used to locate the adjusted position and size of the range selection box. Exemplarily, the target element is any element in the virtual environment. Exemplarily, the target element is an element in the virtual environment that meets the reference conditions. The satisfaction of the reference conditions can be set according to experience or flexibly adjusted according to the application scenario, and the embodiments of the present application do not limit this. In an exemplary embodiment, the element that meets the reference conditions may refer to an element in the virtual environment with a size greater than the reference size, and the reference size is set according to experience or flexibly adjusted according to the experience scenario. In an exemplary embodiment, the element that meets the reference conditions may refer to an element in the virtual environment with a reference mark. Exemplarily, a reference mark may be added to an element in the virtual environment that supports being used as a virtual home material alone. The elements that support being used as virtual home materials alone can be set according to experience or flexibly adjusted according to the type of the application program, etc. For example, all or part of the independent objects in the virtual environment can be used as the elements that support being used as virtual home materials alone.
[0100] Exemplarily, the selection operation of the target element may refer to a trigger operation on the target element, such as a single click, a double click, etc. Exemplarily, the selection operation of the target element may also refer to a trigger operation on the sub-menu in the operation menu of the target element that is used to indicate the selection of the target element, etc.
[0101] After obtaining the selection operation of the target element in the virtual environment, the range selection box is adjusted based on the target element. During the process of adjusting the range selection box based on the target element, it involves both the adjustment of the position of the range selection box and the adjustment of the size of the range selection box. Among them, the adjustment method for the position of the range selection box is: moving the position of the range selection box to a position centered on the center of the target element, that is, the center of the moved range selection box coincides with the center of the target element. The adjustment method for the size of the range selection box is: adjusting the size of the range selection box to wrap the size of the target element.
[0102] After adjusting the size of the range selection box to wrap the size of the target element, the target element is completely within the range selection box. Exemplarily, during the process of adjusting the size of the range selection box to wrap the size of the target element, the shape of the range selection box can remain unchanged, or the shape of the range selection box can be adaptively changed according to the shape of the target element. Exemplarily, adjusting the size of the range selection box to wrap the size of the target element can mean adjusting the size of the range selection box to the minimum size that wraps the size of the target element.
[0103] The embodiments of the present application do not limit the execution sequence of adjusting the position of the range selection box and adjusting the size of the range selection box after obtaining the selection operation of the target element. Exemplarily, the position of the range selection box can be adjusted first and then the size of the range selection box can be adjusted, that is, the range selection box is first moved to a position centered on the center of the target element, and then the size of the range selection box is adjusted to wrap the size of the target element. Exemplarily, the size of the range selection box can be adjusted first and then the position of the range selection box can be adjusted, that is, the size of the range selection box is first adjusted to wrap the size of the target element, and then the range selection box is moved to a position centered on the center of the target element. Of course, in some embodiments, the position of the range selection box and the size of the range selection box can also be adjusted simultaneously, and during the process of adjusting the position of the range selection box, the size of the range selection box is adjusted.
[0104] It should be noted that the embodiments of the present application are only described by taking the example that when the selection operation of the target element is obtained, the center of the range selection box does not coincide with the center of the target element, and the range selection box does not completely wrap the size of the target element, but the embodiments of the present application are not limited thereto.
[0105] For example, if the target element selected by the interaction object in the virtual environment 300 is the pavilion 301 (as Figure 10 shown). Then the terminal obtains the selection operation of the pavilion 301, moves the range selection box 500 to a position centered on the center of the pavilion 301, and adjusts the size of the range selection box 500 to wrap the size of the pavilion 301, obtaining a display interface as Figure 11 shown.
[0106] In an exemplary embodiment, the adjustment methods supported by the range selection box can include adjustment through voice adjustment instructions. In this case, the process of adjusting the range selection box includes: obtaining the voice adjustment instruction of the interaction object, parsing the voice adjustment instruction, determining the adjustment method corresponding to the voice adjustment instruction, and adjusting the range selection box according to the adjustment method corresponding to the voice adjustment instruction. If the terminal has the function of parsing the voice of the interaction object, it can support the interaction object to control the adjustment method of the range selection box through voice instructions. The content of the voice adjustment instruction can be determined by the interaction object itself, and the embodiments of the present application do not limit this.
[0107] In an exemplary embodiment, the adjustment method supported by the range selection box may include adjustment by dragging. In this case, the process of adjusting the range selection box includes: obtaining the drag operation of the interactive object on the range selection box, and adjusting the range selection box based on the adjustment method indicated by the drag operation. The adjustment method indicated by the drag operation may be translating the range selection box in a certain direction, or may refer to increasing or reducing the size of the range selection box in a certain direction, etc., which is not limited in the embodiments of the present application.
[0108] It should be noted that the adjustment methods supported by the above range selection box are only illustrative examples, and the embodiments of the present application are not limited to this. In some embodiments, the adjustment methods supported by the range selection box may also include other methods. In some embodiments, the range selection box may support multiple adjustment methods at the same time. For example, the range selection box may simultaneously support at least two adjustment methods of adjustment through adjustment controls, adjustment according to target elements selected from the virtual environment, adjustment through voice commands, or adjustment through drag operations. For the case where the range selection box supports multiple adjustment methods at the same time, multiple adjustment methods can be superimposed, that is, the range selection box can be adjusted multiple times according to multiple adjustment methods.
[0109] In an exemplary embodiment, the default display effect of the virtual environment and the range selection box in the display interface may be the display effect under the first perspective. After the range selection box is displayed, the terminal may also switch the virtual environment and the range selection box from the display effect under the first perspective to the display effect under the second perspective in response to the switching operation of switching the first perspective to the second perspective. By providing the perspective switching function, the interactive object can more accurately adjust the range selection box through multi-perspective observation, improve the accuracy of the target range, and then improve the matching degree between the acquired virtual home material and the interactive object's expectations, and improve the human-computer interaction rate.
[0110] The first perspective refers to the perspective used by the default display of the virtual environment and the range selection box, and the second perspective is the perspective after switching, and the first perspective and the second perspective are different. The first perspective and the second perspective can be flexibly set according to experience, and can also be flexibly adjusted according to the application scenario, which is not limited in the embodiments of the present application. For example, the first perspective can be a horizontal perspective, and the second perspective can be a top perspective.
[0111] In an exemplary embodiment, the display interface of the terminal may display a perspective selection menu, which includes at least a first perspective and a second perspective. By default, the first perspective in the perspective selection menu is in a selected state. If the interactive object selects the second perspective, the terminal obtains a switching operation to switch the first perspective to the second perspective, and sets the second perspective in the perspective selection menu to a selected state.
[0112] In an exemplary embodiment, at least controls corresponding to the first perspective and controls corresponding to the second perspective are displayed in the display interface of the terminal. When the virtual environment and the range selection box are displayed using the first perspective, the controls corresponding to the first perspective are in a non-triggerable state, and the controls corresponding to the second perspective are in a triggerable state. If a trigger operation of the controls corresponding to the second perspective is obtained, a switching operation of switching the first perspective to the second perspective is obtained. In some embodiments, controls corresponding to perspectives other than the first perspective and the second perspective may also be displayed in the display interface for selection by the interactive object, which is not limited in the embodiments of the present application.
[0113] For example, taking the first perspective as the horizontal perspective and the second perspective as the top perspective, see Figures 5 to 11 , the display interface displays a control 408 corresponding to the horizontal viewing angle and a control 409 corresponding to the top viewing angle. Among them, the control 408 corresponding to the horizontal viewing angle is in a non-triggerable state, and the control 409 corresponding to the top viewing angle is in a triggerable state. Figures 5 to 11 The display effects of the virtual environment 300 and the range selection box 500 in the display interface shown are both display effects under a head-up perspective.
[0114] If the interactive object triggers the control 409 corresponding to the top view angle (see Figure 12 ), the terminal obtains a switching operation of switching the head-up view to the top view, and switches the display effects of the virtual environment 300 and the range selection box 500 from the head-up view to the top view. The display interface after switching the display effect is as shown in FIG. Figure 13 As shown. Figure 13 In the figure, the control 408 corresponding to the horizontal viewing angle is in a triggerable state, and the control 409 corresponding to the top viewing angle is in a non-triggerable state.
[0115] In step 203, in response to the target range determination operation, a virtual home material corresponding to the target range is obtained, the target range is a range selected in the virtual environment based on the range selection box, and the virtual home material is determined based on virtual environment elements in the virtual environment that are within the target range.
[0116] After the range selection box is displayed, if the terminal obtains a confirmation operation of the target range, the target range is used as the range required for obtaining the virtual home material, and then the virtual home material corresponding to the target range is obtained.
[0117] The target range is the range selected in the virtual environment based on the range selection box. For example, the target range may refer to the range covered by the initially displayed range selection box in the virtual environment, or may refer to the range covered by the range selection box in the virtual environment after the initially displayed range selection box is adjusted. The embodiments of the present application are not limited to this.
[0118] In an exemplary embodiment, a range selection box corresponds to a confirmation control. In response to a triggering operation on the confirmation control, the range covered by the range selection box in the virtual environment when the triggering operation of the confirmation control is obtained is used as the target range, and a confirmation operation for the target range is obtained.
[0119] For example, as Figures 5 to 13 shown, a confirmation control 410 corresponding to the range selection box 500 is displayed on the display interface. When the interactive object determines that the range covered by the range selection box 500 is the desired range, the confirmation control 410 can be triggered (as Figure 14 shown). After the interactive object triggers the confirmation control 410, the terminal obtains a confirmation operation for the target range.
[0120] After obtaining the confirmation operation for the target range, virtual home materials corresponding to the target range are obtained. Among them, the virtual home materials are determined based on virtual environment elements located within the target range in the virtual environment. Since the target range is the range selected in the virtual environment according to the range selection box and is the range that meets the expectations of the interactive object, the virtual home materials determined based on the virtual environment elements within the target range have a relatively high degree of matching with the material requirements of the interactive object, which is conducive to improving the reliability of obtaining virtual home materials and improving the human-computer interaction rate.
[0121] In an exemplary embodiment, there are two cases for virtual environment elements, namely, the virtual environment elements meet the splitting condition and the virtual environment elements do not meet the splitting condition. In different cases of the virtual environment elements, the situation of the virtual home materials is different. Exemplarily, when the virtual environment elements meet the splitting condition, the virtual home materials include the virtual environment elements and sub-environment elements. When the virtual environment elements do not meet the splitting condition, the virtual home materials include the virtual environment elements, and the virtual home materials do not include sub-environment elements. Among them, the sub-environment elements are obtained by splitting the virtual environment elements.
[0122] That is to say, the process of determining virtual home materials based on virtual environment elements includes: judging whether the virtual environment elements meet the splitting condition. If the virtual environment elements meet the splitting condition, the virtual environment elements are split to obtain sub-environment elements, and the virtual environment elements and sub-environment elements are used as the obtained virtual home materials. At this time, the virtual home materials are a material group including multiple elements. If the virtual home materials do not meet the splitting condition, the virtual environment elements are not split, and the virtual environment elements are directly used as the obtained virtual home materials.
[0123] Embodiments of this application provide an automatic splitting function for virtual environment elements, which can automatically split virtual environment elements that meet the splitting conditions, and regard the overall virtual environment elements and the split sub-environment elements as virtual home materials. This enables the interaction object to use either the overall virtual environment elements or the split sub-environment elements to decorate the virtual home, providing more material selection options for decorating the virtual home, which is conducive to improving the decoration effect of the virtual home and further enhancing the human-computer interaction rate.
[0124] The splitting conditions can be set according to experience or flexibly adjusted according to the application scenario, and the embodiments of this application do not limit this. In an exemplary embodiment, a virtual environment element meeting the splitting conditions may mean that the virtual environment element contains an element with a reference mark. The element with a reference mark can be pre-configured by the developer, and the embodiments of this application do not limit this. Exemplarily, reference marks are configured for all independent objects in the virtual environment. Exemplarily, reference marks are configured for independent objects in the virtual environment whose size is not less than the reference size. The reference mark can be any kind of mark. For example, the reference mark can be a letter (such as A) or a number (such as 1), etc.
[0125] For the case where the splitting condition is that the virtual environment element contains an element with a reference mark, splitting the virtual environment element means splitting out the element with the reference mark contained in the virtual environment element. That is to say, the sub-environment element is the element with the reference mark contained in the virtual environment element.
[0126] By pre-configuring reference marks for some elements, it is possible to quickly determine whether a virtual environment element meets the splitting conditions by judging whether the virtual environment element contains an element with a reference mark. The efficiency of judging whether a virtual environment element meets the splitting conditions is relatively high, which is conducive to improving the efficiency of obtaining virtual home materials.
[0127] In an exemplary embodiment, a virtual environment element meeting the splitting conditions may also mean that the virtual environment element contains at least two isolated environment elements. Two environment elements being isolated means that any boundary between the two environment elements has no intersection or overlap. In this case, splitting the virtual environment element means splitting out each isolated environment element in the virtual environment element. That is to say, the sub-environment element is each isolated environment element contained in the virtual environment element.
[0128] The process of determining virtual home materials based on virtual environment elements can be executed by the terminal or by the server, and the embodiments of this application do not limit this.
[0129] For the case where the process of determining virtual home materials based on virtual environment elements is executed by a terminal, the process for the terminal to obtain virtual home materials includes: in response to a determination operation of a target range, determining virtual environment elements within the target range in the virtual environment; determining whether the virtual environment elements meet the splitting conditions; if the virtual environment elements meet the splitting conditions, splitting the virtual environment elements to obtain sub-level environment elements, and using the virtual environment elements and the sub-level environment elements as virtual home materials; if the virtual environment elements do not meet the splitting conditions, using the virtual environment elements as virtual home materials.
[0130] For the case where the process of determining virtual home materials based on virtual environment elements is executed by a server, the process for the terminal to obtain virtual home materials includes: the terminal, in response to a determination operation of a target range, sends the coordinate information of the target range to the server. The server is used to determine virtual environment elements within the target range based on the coordinate information of the target range, and determine whether the virtual environment elements meet the splitting conditions; if the virtual environment elements meet the splitting conditions, splitting the virtual environment elements to obtain sub-level environment elements, and returning the virtual environment elements and the sub-level environment elements as virtual home materials to the terminal; if the virtual environment elements do not meet the splitting conditions, returning the virtual environment elements as virtual home materials to the terminal. The terminal receives the virtual home materials returned by the server.
[0131] In an exemplary embodiment, the terminal can also send the coordinate information of the range covered by the range selection box to the server in real time. Each time the server receives the coordinate information, it determines the virtual home materials corresponding to the range according to the coordinate information and returns the virtual home materials corresponding to the range to the terminal. In this case, before obtaining the determination operation of the target range, the terminal may have received and stored the virtual home materials corresponding to the target range returned by the server. After obtaining the determination operation of the target range, it directly extracts the virtual home materials corresponding to the target range from the storage.
[0132] In a possible implementation manner, after obtaining the virtual home materials corresponding to the target range, it further includes: in response to an exit request, hiding the range selection box and displaying a prompt message, where the prompt message is used to prompt that the virtual home materials have been stored in the material library.
[0133] Exemplarily, an exit control can also be displayed on the display interface of the terminal, and the exit request can be initiated by an interaction object by triggering the exit control. If, after obtaining the virtual home materials corresponding to the target range, the interaction object triggers the exit control, the terminal obtains the trigger operation of the exit control, and in response to the trigger operation of the exit control, obtains the exit request.
[0134] Exemplarily, the exit request can also be initiated by the interaction object by issuing an exit voice command. If, after obtaining the virtual home materials corresponding to the target range, the interaction object issues an exit voice command, the terminal obtains the exit voice command, and in response to the exit voice command, obtains an exit request.
[0135] When obtaining the exit request and deeming it necessary to exit the material acquisition mode, at this time, since there is no need to continue selecting a range using the range selection box, the range selection box is hidden. In addition, a prompt message is also displayed to prompt the interaction object through the prompt message that the virtual home materials have been stored in the material library of the interaction object.
[0136] After obtaining the exit request, promptly hiding the range selection box can avoid interference of the range selection box on the subsequent game process. In addition, by displaying a prompt message, the storage location of the virtual home materials is intuitively informed to the interaction object, so that the interaction object can view the stored virtual home materials more conveniently, improving the interaction experience of the interaction object and thus increasing the human-computer interaction rate.
[0137] In an exemplary embodiment, if the material acquisition control is hidden after the range selection box is displayed, then after obtaining the exit request, the material acquisition control can be displayed again for the interaction object to trigger the material acquisition control again when the interaction object needs to obtain virtual home materials.
[0138] For example, referring to Figures 5 to 14 , after entering the material acquisition mode, an exit control 411 is displayed in the display interface. After the terminal obtains the virtual home materials by triggering the confirmation control 410, the interaction object can trigger the exit control 411 (as shown in Figure 15 ). After the interaction object triggers the exit control 411, the terminal responds to the trigger operation of the exit control 411, obtains an exit request, and in response to the exit request, displays the display interface as shown in Figure 16 . In Figure 16 , the range selection box 500 is hidden, the material acquisition control 400 is displayed, and a prompt message is displayed. The content of the prompt message is "Saved to Home - Build - Collection", where "Home - Build - Collection" is the location of the material library.
[0139] It should be noted that before the prompt message is displayed, the obtained virtual home materials need to be stored in the material library of the interaction object first. The specific timing for storing the virtual home materials in the material library is not limited in the embodiments of the present application. Exemplarily, the virtual home materials can be stored in the material library immediately after obtaining the virtual home materials. Exemplarily, the virtual home materials can be stored in the material library after obtaining the exit request.
[0140] In an exemplary embodiment, the interaction object may not have determined any range and directly initiated an exit request. In this case, the terminal responds to the exit request, hides the range selection box, and does not display a prompt message.
[0141] In one possible implementation, after storing the virtual home material in the material library, it further includes: in response to a viewing operation of the material library, displaying the environmental elements included in the virtual home material; in response to a selection operation of any environmental element in the virtual home material, arranging the virtual home using any environmental element.
[0142] After storing the obtained virtual home material in the material library, the interaction object can view the material library and arrange the virtual home using the materials in the material library. After the terminal obtains a viewing operation of the material library, it displays the environmental elements included in the virtual home material. If the virtual home material meets the splitting condition, the environmental elements included in the virtual home material are virtual environmental elements and sub - level environmental elements; if the virtual home material does not meet the splitting condition, the environmental elements included in the virtual home material are virtual environmental elements.
[0143] After displaying the environmental elements included in the virtual home material, if the interaction object selects any of the displayed environmental elements, add the any environmental element to the virtual home to arrange the virtual home using the any environmental element.
[0144] Exemplarily, the viewing operation of the material library may refer to the interaction object triggering the material library entry. For example, the material library entry may refer to the collection tab in the virtual home. Exemplarily, the selection operation of any environmental element may refer to the operation of dragging the any environmental element to the virtual home layout area, or the double - click operation of the any environmental element, etc.
[0145] By displaying each environmental element included in the virtual home material, the interaction object can flexibly select the required environmental elements to arrange the virtual home, which is beneficial to improving the flexibility of virtual home arrangement, enhancing the interest of the interaction object in arranging the virtual home, and further improving the human - machine interaction rate.
[0146] For example, as Figure 17 shown, after obtaining a viewing operation of the material library, 3 environmental elements included in the virtual home material (labeled "Collection 1") can be displayed. The 3 environmental elements include the overall virtual environmental element (a pavilion with a table) and 2 sub - level environmental elements split from the virtual environmental element (a pavilion without a table and a table respectively). Figure 17 Shows the effect of the interaction object selecting the overall virtual environmental element (a pavilion with a table) and adding it to the layout area of the virtual home. Of course, the interaction object can also select any sub - level environmental element (a pavilion without a table or a table) and add it to the layout area of the virtual home.
[0147] After adding any environmental element to the virtual home, in response to the selection operation of any unselected environmental element, the virtual home can be decorated with the unselected environmental element.
[0148] The embodiment of the present application provides a more random, free, convenient and open way to obtain virtual home materials with a wider editing range, enabling the interaction object to select the range of the landscape (virtual environmental elements) it wants to obtain at any time and place. After the selection is completed, the scenery within the range will be replicated, that is, the scenery within the range will be added to the material library of the virtual home as virtual home materials after the selection is completed, so that the interaction object can randomly select the landscape to be replicated into the virtual home for replication. In addition, an automatic splitting function is added to automatically split the sub-environmental elements in the virtual environmental element. For example, a pavilion contains furniture such as a stone table, a stone chair, and a guqin, which will be automatically split into sub-environmental elements. The interaction object can choose to place the scene of the entire virtual environmental element into the virtual home or use the sub-environmental elements to decorate the virtual home. Compared with the method in the related art, the method provided by the embodiment of the present application has higher freedom and convenience. The interaction object no longer needs to run around the map to find virtual environmental elements that can be replicated, and can make better use of the materials in the entire open world.
[0149] The method for obtaining virtual home materials provided by the embodiment of the present application can be applied to the open world, enabling the interaction object to be unrestricted by the operation of replicating at a specific location, and can select some virtual environmental elements that it wants to decorate the virtual home at any time and place. In addition, a very convenient sub-content splitting function is provided, enabling the interaction object to completely apply a set of landscapes or use some decorations in the landscape to decorate the home, improving the flexibility.
[0150] In the embodiment of the present application, a range selection box is provided for the interaction object to select a target range in the virtual environment, so as to obtain the virtual home materials corresponding to the target range. The selection of the target range has great flexibility, which is beneficial to improving the flexibility of obtaining virtual home materials, enabling the virtual home materials expected by the interaction object to be obtained, increasing the willingness of the interaction object to decorate the virtual home with the obtained virtual home materials, and thus improving the human-computer interaction rate.
[0151] In addition, the material acquisition request can be initiated by the interaction object by triggering a material acquisition control. The material acquisition control has strong intuitiveness, which is beneficial to increasing the interest of the interaction object in initiating the material acquisition request and improving the human-computer interaction rate.
[0152] The interaction object can use the target element to quickly adjust the range selection box, with high adjustment convenience, which is beneficial to the selection efficiency of the target range, and thus improves the efficiency of obtaining virtual home materials. The interaction object can freely adjust the range selection box according to the adjustment control, and the adjustment flexibility of the range selection box is relatively high, which is beneficial to improving the flexibility of obtaining virtual home materials. By setting multiple adjustment controls, the ways for the interaction object to adjust the range selection box can be enriched, further improving the flexibility of the interaction object to adjust the range selection box, increasing the interest of the interaction object in selecting the target range by adjusting the range selection box, and improving the human-computer interaction rate.
[0153] By providing a function for switching perspectives, the interaction object can more accurately adjust the range selection box through multi-perspective observation, improving the accuracy of the target range, and thus improving the matching degree between the obtained virtual home materials and the expectations of the interaction object, and improving the human-computer interaction rate.
[0154] Automatically split the virtual environment elements that meet the splitting conditions, and use both the overall virtual environment elements and the sub-environment elements obtained by splitting as virtual home materials, so that the interaction object can use both the overall virtual environment elements to arrange the virtual home and the sub-environment elements obtained by splitting to arrange the virtual home, providing more material selection schemes for arranging the virtual home, which is beneficial to improving the arrangement effect of the virtual home, and thus improving the human-computer interaction rate. In addition, by pre-configuring reference marks for some elements, it is possible to quickly determine whether the virtual environment elements meet the splitting conditions by judging whether the virtual environment elements contain elements with reference marks. The efficiency of judging whether the virtual environment elements meet the splitting conditions is relatively high, which is beneficial to improving the efficiency of obtaining virtual home materials.
[0155] After obtaining the exit request, promptly hide the range selection box, which can avoid the range selection box interfering with the subsequent game process. In addition, the storage location of the virtual home materials is intuitively informed to the interaction object by displaying a prompt message, so that the interaction object can more conveniently view the stored virtual home materials, improving the interaction experience of the interaction object, and thus improving the human-computer interaction rate.
[0156] By displaying each environmental element included in the virtual home materials, the interaction object can flexibly select the required environmental elements to arrange the virtual home, which is beneficial to improving the arrangement flexibility of the virtual home, increasing the interest of the interaction object in arranging the virtual home, and thus improving the human-computer interaction rate.
[0157] Exemplarily, the process of obtaining virtual home materials can be as Figure 18 shown, and this process can include step 1801 to step 1814.
[0158] Step 1801, the server establishes a spatial coordinate system for the entire virtual environment.
[0159] Set the rated spacing grid, and each grid point has corresponding spatial coordinate values (x, y, z).
[0160] Step 1802, the server marks the independent objects in the spatial coordinate system, that is, configures reference marks for the independent objects. For example, mark the independent object as A.
[0161] Step 1803, the terminal determines whether the interaction object has enabled replication, that is, whether it has initiated a material acquisition request. If the interaction object has not enabled replication, that is, has not initiated a material acquisition request, execute Step 1804; if the interaction object has enabled replication, that is, has initiated a material acquisition request, execute Steps 1805 to 1814.
[0162] Step 1804, the terminal remains in the default state unchanged. That is, it does not enter the replication mode (material acquisition mode) and does not display the range selection box.
[0163] Step 1805, the terminal enters the replication mode and displays the range selection box.
[0164] After the interaction object enters the replication mode, a rectangular block (that is, the range selection box) is automatically generated at a fixed position in front of the virtual object controlled by the interaction object. For example, the four vertices at the bottom of the rectangular block are located on the lowest horizontal section at the current position.
[0165] Step 1806, the terminal sends the coordinate information of the 8 vertices of the rectangular block to the server.
[0166] Step 1807, the server finds the vertex positions corresponding to the coordinate information in the spatial coordinate system and frames the corresponding range in the virtual environment, and selects the framed range.
[0167] It should be noted that after the rectangular block is displayed, the terminal also needs to determine whether the interaction object performs operations such as scaling, height adjustment, and movement on the rectangular block. If the interaction object performs the corresponding operations on the rectangular block, deform or move the rectangular block correspondingly, and the terminal re-uploads the coordinate information of the vertices to the server, and the server re-calibrates and selects the corresponding range; if the interaction object does not perform operations to adjust the rectangular frame, the rectangular block remains in the current position and the server maintains the selected range.
[0168] In addition, after the rectangular block is displayed, the terminal also needs to determine whether the interaction object clicks and selects an element with a reference mark (that is, the target element). If the interaction object clicks and selects an element with a reference mark (such as, mark A) in the virtual environment, the rectangular block automatically adapts to frame the element with the reference mark; if the interaction object does not select an element with a reference mark (such as, mark A) in the scene, no feedback is given.
[0169] If the vertices of the rectangular block change, steps 1806 and 1807 need to be repeatedly executed.
[0170] Step 1808, the server determines whether the virtual environment elements within the range include elements with a reference mark (e.g., mark A). If the virtual environment elements include elements with a reference mark (e.g., mark A), step 1809 is executed followed by step 1811. If the virtual environment elements do not include elements with a reference mark (e.g., mark A), step 1810 is executed followed by step 1811.
[0171] Step 1809, the server splits the element with the reference mark included in the virtual environment element into sub - level environment elements, and uses the virtual environment element and the sub - level environment elements as the virtual home materials corresponding to the range.
[0172] Step 1810, the server does not perform sub - level splitting and uses the virtual environment element as the virtual home material.
[0173] Step 1811, the server feeds back the virtual home materials corresponding to the range to the terminal.
[0174] Step 1812, the terminal determines whether the interaction object has saved confirmation. If the interaction object has not saved confirmation, step 1813 is executed. If the interaction object has saved confirmation, step 1814 is executed.
[0175] Here, saving confirmation means that after generating a confirmation operation for a certain range, an exit request is sent. Not saving confirmation means that an exit request is directly sent without generating a confirmation operation for any range.
[0176] Step 1813, the terminal exits the replication mode (i.e., the material acquisition mode).
[0177] Step 1814, the terminal saves the virtual home materials to the home collection furniture (i.e., the material library) and exits the replication mode.
[0178] After saving to the home collection furniture, if the interaction object enters the home to view the collection, the terminal determines whether it is a group with sub - level environment elements. A group with sub - level environment elements will display the sub - level environment elements, and a group without sub - level environment elements will only display the main content (i.e., the virtual environment element).
[0179] See Figure 19 , this application embodiment provides a device for obtaining virtual home materials, and the device includes:
[0180] A display module 1901, configured to display a virtual environment;
[0181] The display module 1901 is further configured to, in response to a material acquisition request, display a range selection box in the virtual environment;
[0182] An acquisition module 1902, configured to acquire virtual home materials corresponding to a target range in response to a determination operation of the target range, where the target range is a range selected in a virtual environment based on a range selection box, and the virtual home materials are determined based on virtual environment elements located within the target range in the virtual environment.
[0183] In a possible implementation manner, the display module 1901 is further configured to, in response to a selection operation of a target element in the virtual environment, move the range selection box to a position centered on the center of the target element, and adjust the size of the range selection box to wrap the size of the target element.
[0184] In a possible implementation manner, the range selection box corresponds to an adjustment control, and the display module 1901 is further configured to, in response to a triggering operation of the adjustment control, adjust the range selection box according to the adjustment method corresponding to the adjustment control.
[0185] In a possible implementation manner, the adjustment control includes at least one of a translation control, a rotation control, or a size adjustment control; wherein, the size adjustment control includes at least one of an overall magnification control, an overall reduction control, or a dimension adjustment control, and the dimension adjustment control includes sub-controls corresponding to at least one dimension of the range selection box, and any sub-control corresponding to a dimension is used to adjust the size of any dimension of the range selection box.
[0186] In a possible implementation manner, the display module 1901 is further configured to, in response to a switching operation of switching the first perspective to the second perspective, switch the display effect of the virtual environment and the range selection box from the display effect in the first perspective to the display effect in the second perspective.
[0187] In a possible implementation manner, when the virtual environment element meets the splitting condition, the virtual home materials include the virtual environment element and sub-level environment elements, and the sub-level environment elements are obtained by splitting the virtual environment element.
[0188] In a possible implementation manner, the virtual environment element meets the splitting condition, including: the virtual environment element includes an element with a reference mark; the sub-level environment element is the element with the reference mark included in the virtual environment element.
[0189] In a possible implementation manner, when the virtual environment element does not meet the splitting condition, the virtual home materials include the virtual environment element, and the virtual home materials do not include sub-level environment elements, and the sub-level environment elements are obtained by splitting the virtual environment element.
[0190] In a possible implementation manner, the display module 1901 is further configured to display a material acquisition control;
[0191] The obtaining module 1902 is further configured to obtain a material obtaining request in response to a triggering operation of the material obtaining control.
[0192] In a possible implementation manner, the display module 1901 is further configured to hide the range selection box and display a prompt message in response to an exit request. The prompt message is used to prompt that the virtual home materials have been stored in the material library.
[0193] In a possible implementation manner, the display module 1901 is further configured to display the environmental elements included in the virtual home materials in response to a viewing operation of the material library; and arrange the virtual home by using any one of the environmental elements in response to a selection operation of any one of the environmental elements in the virtual home materials.
[0194] It should be noted that when the device provided in the above embodiments implements its functions, only the division of the above function modules is used for illustration. In actual applications, the above functions may be allocated to different function modules according to needs, that is, the internal structure of the device is divided into different function modules to complete all or part of the functions described above. In addition, the device provided in the above embodiments and the method embodiments belong to the same concept. For the specific implementation process and effects, etc., please refer to the method embodiments, which will not be elaborated here.
[0195] Figure 20 It is a schematic structural diagram of a computer device provided by an embodiment of the present application. The computer device may be a terminal, for example, it may be: a PC, a mobile phone, a smart phone, a PDA, a wearable device, a handheld portable game device, a PPC, a tablet computer, a smart car machine, a smart TV, a smart speaker, a vehicle-mounted terminal, etc. The terminal may also be referred to by other names such as a user equipment, a portable terminal, a laptop terminal, a desktop terminal, etc.
[0196] Generally, the terminal includes: a processor 2001 and a memory 2002.
[0197] The processor 2001 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. The processor 2001 may be implemented in at least one of the following hardware forms: DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 2001 may also include a main processor and a coprocessor. The main processor is used to process data in the wake state and is also called the CPU (Central Processing Unit); the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 2001 may be integrated with a GPU (Graphics Processing Unit), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 2001 may further include an AI (Artificial Intelligence) processor, and the AI processor is used to process computational operations related to machine learning.
[0198] The memory 2002 may include one or more computer-readable storage media, and the computer-readable storage media may be non-transitory. The memory 2002 may further include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 2002 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 2001 so that the terminal implements the method for obtaining virtual home materials provided in the method embodiments of the present application.
[0199] In some embodiments, the terminal may optionally further include: a peripheral device interface 2003 and at least one peripheral device. The processor 2001, the memory 2002, and the peripheral device interface 2003 may be connected through a bus or signal lines. Each peripheral device may be connected to the peripheral device interface 2003 through a bus, signal lines, or a circuit board. Specifically, the peripheral devices include at least one of the following: a radio frequency circuit 2004, a display screen 2005, a camera module 2006, an audio circuit 2007, and a power supply 2008.
[0200] The peripheral device interface 2003 can be used to connect at least one I / O (Input / Output) related peripheral device to the processor 2001 and the memory 2002. In some embodiments, the processor 2001, the memory 2002, and the peripheral device interface 2003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 2001, the memory 2002, and the peripheral device interface 2003 can be implemented on a separate chip or circuit board, and this embodiment does not limit this.
[0201] The radio frequency circuit 2004 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 2004 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 2004 converts an electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 2004 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and so on. The radio frequency circuit 2004 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: metropolitan area network, generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area network, and / or WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 2004 may further include a circuit related to NFC (Near Field Communication), and this application does not limit this.
[0202] The display screen 2005 is used to display the UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 2005 is a touch display screen, the display screen 2005 also has the ability to collect touch signals on or above the surface of the display screen 2005. The touch signals can be input as control signals to the processor 2001 for processing. At this time, the display screen 2005 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 2005, which is provided on the front panel of the terminal; in other embodiments, there may be at least two display screens 2005, which are respectively provided on different surfaces of the terminal or are in a folding design; in other embodiments, the display screen 2005 may be a flexible display screen, which is provided on a curved surface or a folding surface of the terminal. Even, the display screen 2005 can also be set to an irregular non-rectangular shape, that is, a special-shaped screen. The display screen 2005 can be prepared using materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0203] The camera module 2006 is used to collect images or videos. Optionally, the camera module 2006 includes a front camera and a rear camera. Generally, the front camera is provided on the front panel of the terminal, and the rear camera is provided on the back of the terminal. In some embodiments, there are at least two rear cameras, which are respectively any one of a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera, so as to implement the function of background blurring by fusing the main camera and the depth-of-field camera, panoramic shooting by fusing the main camera and the wide-angle camera, and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera module 2006 may further include a flash. The flash can be a single-color-temperature flash or a dual-color-temperature flash. A dual-color-temperature flash refers to a combination of a warm-light flash and a cold-light flash, which can be used for light compensation under different color temperatures.
[0204] The audio circuit 2007 may include a microphone and a speaker. The microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals for input to the processor 2001 for processing, or input to the radio frequency circuit 2004 to achieve voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal. The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signals from the processor 2001 or the radio frequency circuit 2004 into sound waves. The speaker may be a traditional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for uses such as ranging. In some embodiments, the audio circuit 2007 may further include a headphone jack.
[0205] The power supply 2008 is used to supply power to each component in the terminal. The power supply 2008 may be alternating current, direct current, a disposable battery or a rechargeable battery. When the power supply 2008 includes a rechargeable battery, the rechargeable battery may support wired charging or wireless charging. The rechargeable battery may also be used to support fast charging technology.
[0206] In some embodiments, the terminal further includes one or more sensors 2009. The one or more sensors 2009 include but are not limited to: an acceleration sensor 2010, a gyroscope sensor 2011, a pressure sensor 2012, an optical sensor 2013, and a proximity sensor 2014.
[0207] The acceleration sensor 2010 can detect the magnitudes of accelerations on the three coordinate axes of the coordinate system established by the terminal. For example, the acceleration sensor 2010 can be used to detect the components of the gravitational acceleration on the three coordinate axes. The processor 2001 can control the display screen 2005 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 2010. The acceleration sensor 2010 can also be used for collecting game or user's motion data.
[0208] The gyroscope sensor 2011 can detect the body direction and rotation angle of the terminal. The gyroscope sensor 2011 can cooperate with the acceleration sensor 2010 to collect the 3D actions of the user on the terminal. According to the data collected by the gyroscope sensor 2011, the processor 2001 can achieve the following functions: motion sensing (such as changing the UI according to the user's tilting operation), image stabilization during shooting, game control, and inertial navigation.
[0209] The pressure sensor 2012 can be disposed on the side frame of the terminal and / or the lower layer of the display screen 2005. When the pressure sensor 2012 is disposed on the side frame of the terminal, it can detect the holding signal of the user for the terminal, and the processor 2001 can perform left / right hand recognition or quick operation according to the holding signal collected by the pressure sensor 2012. When the pressure sensor 2012 is disposed on the lower layer of the display screen 2005, the processor 2001 controls the operable controls on the UI interface according to the pressure operation of the user on the display screen 2005. The operable controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0210] The optical sensor 2013 is used to collect the ambient light intensity. In one embodiment, the processor 2001 can control the display brightness of the display screen 2005 according to the ambient light intensity collected by the optical sensor 2013. Specifically, when the ambient light intensity is high, the display brightness of the display screen 2005 is increased; when the ambient light intensity is low, the display brightness of the display screen 2005 is decreased. In another embodiment, the processor 2001 can also dynamically adjust the shooting parameters of the camera module 2006 according to the ambient light intensity collected by the optical sensor 2013.
[0211] The proximity sensor 2014, also known as a distance sensor, is usually disposed on the front panel of the terminal. The proximity sensor 2014 is used to collect the distance between the user and the front of the terminal. In one embodiment, when the proximity sensor 2014 detects that the distance between the user and the front of the terminal is gradually decreasing, the processor 2001 controls the display screen 2005 to switch from the lit state to the off state; when the proximity sensor 2014 detects that the distance between the user and the front of the terminal is gradually increasing, the processor 2001 controls the display screen 2005 to switch from the off state to the lit state.
[0212] Those skilled in the art can understand that Figure 20 the structure shown in does not limit the terminal, and it may include more or fewer components than shown in the figure, or combine some components, or adopt different component arrangements.
[0213] In an exemplary embodiment, a computer device is further provided. The computer device includes a processor and a memory, and at least one computer program is stored in the memory. The at least one computer program is loaded and executed by one or more processors so that the computer device implements any one of the above methods for obtaining virtual home materials.
[0214] In an exemplary embodiment, a computer-readable storage medium is further provided. At least one computer program is stored in the computer-readable storage medium and is loaded and executed by a processor of a computer device so that the computer implements any one of the above methods for obtaining virtual home materials.
[0215] In a possible implementation manner, the above computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
[0216] In an exemplary embodiment, a computer program or a computer program product is further provided. The computer program or the computer program product includes computer instructions that are loaded and executed by a processor so that the computer implements any one of the above methods for obtaining virtual home materials.
[0217] The information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.), and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards of relevant countries and regions. For example, the material acquisition requests, determination operations of the target range, etc. involved in this application are all obtained under full authorization.
[0218] It should be noted that the terms "first", "second", etc. in this application are used to distinguish similar objects and do not necessarily have to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of this application described here can be implemented in an order different from those illustrated or described here. The implementation manners described in the above exemplary embodiments do not represent all implementation manners consistent with this application. On the contrary, they are only examples of devices and methods consistent with some aspects of this application.
[0219] It should be understood that "a plurality of" mentioned herein refers to two or more. "And / or" describes the association relationship of associated objects and indicates that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after.
[0220] The above are only exemplary embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the principles of the present application shall be included within the protection scope of the present application.
Claims
1. A method for obtaining virtual home materials, characterized in that, The method includes: Displaying a virtual environment; In response to a material acquisition request, displaying a range selection box in the virtual environment; In response to an operation for determining a target range, acquiring virtual home materials corresponding to the target range, where the target range is a range selected in the virtual environment based on the range selection box, and the virtual home materials are determined based on virtual environment elements located within the target range in the virtual environment.
2. The method according to claim 1, characterized in that, After displaying the range selection box in the virtual environment, the method further includes: In response to a selection operation on a target element in the virtual environment, moving the range selection box to a position centered on the center of the target element and adjusting the size of the range selection box to enclose the size of the target element.
3. The method according to claim 1, characterized in that, The range selection box corresponds to adjustment controls. After displaying the range selection box in the virtual environment, the method further includes: In response to a triggering operation on the adjustment controls, adjusting the range selection box according to the adjustment method corresponding to the adjustment controls.
4. The method according to claim 3, wherein The adjustment controls include at least one of a translation control, a rotation control, or a size adjustment control; wherein the size adjustment control includes at least one of an overall magnification control, an overall reduction control, or a dimension adjustment control, and the dimension adjustment control includes sub-controls corresponding to at least one dimension of the range selection box, and the sub-control corresponding to any dimension is used to adjust the size of the range selection box in the any dimension.
5. The method according to claim 1, characterized in that After displaying the range selection box in the virtual environment, the method further includes: In response to a switching operation for switching a first perspective to a second perspective, switching the display effect of the virtual environment and the range selection box from the display effect in the first perspective to the display effect in the second perspective.
6. The method according to any one of claims 1-5, characterized in that, When the virtual environment elements meet the splitting conditions, the virtual home materials include the virtual environment elements and sub-level environment elements, and the sub-level environment elements are obtained by splitting the virtual environment elements.
7. The method according to claim 6, wherein The virtual environment elements meeting the splitting conditions include: the virtual environment elements include elements with reference marks; The sub-level environment elements are the elements with the reference marks included in the virtual environment elements.
8. The method according to any one of claims 1-5, characterized in that, When the virtual environment elements do not meet the splitting conditions, the virtual home materials include the virtual environment elements, and the virtual home materials do not include sub-level environment elements, and the sub-level environment elements are obtained by splitting the virtual environment elements.
9. The method according to any one of claims 1-5, characterized in that Before displaying the range selection box in the virtual environment in response to the material acquisition request, the method further includes: Displaying a material acquisition control; In response to a triggering operation on the material acquisition control, obtaining the material acquisition request.
10. The method according to any one of claims 1-5, characterized in that, After acquiring the virtual home materials corresponding to the target range, the method further includes: In response to an exit request, hiding the range selection box and displaying a prompt message for prompting that the virtual home materials have been stored in the material library.
11. The method according to claim 10, wherein The method further includes: In response to a viewing operation on the material library, displaying the environment elements included in the virtual home materials; In response to a selection operation on any environmental element in the virtual home material, the virtual home is arranged using the any environmental element.
12. An apparatus for obtaining virtual home materials, characterized in that, The device includes: a display module for displaying a virtual environment; The display module is further configured to display a range selection box in the virtual environment in response to a material acquisition request; an acquisition module for acquiring virtual home materials corresponding to a target range in response to a determination operation of the target range, where the target range is a range selected in the virtual environment based on the range selection box, and the virtual home materials are determined based on virtual environmental elements located within the target range in the virtual environment.
13. A computer device, characterized in that, The computer device includes a processor and a memory, and at least one computer program is stored in the memory. The at least one computer program is loaded and executed by the processor so that the computer device implements the method for acquiring virtual home materials as described in any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that, At least one computer program is stored in the computer-readable storage medium. The at least one computer program is loaded and executed by a processor so that a computer implements the method for acquiring virtual home materials as described in any one of claims 1 to 11.
15. A computer program product, characterized in that, The computer program product includes computer instructions. The computer instructions are loaded and executed by a processor so that a computer implements the method for acquiring virtual home materials as described in any one of claims 1 to 11.