Virtual scene editing method and device, electronic equipment and storage medium

By introducing slider sequence adjustment controls into the virtual scene editing tool, users can automatically adjust the position of the virtual model by adjusting the slider sequence, solving the problem of low adjustment efficiency in the existing technology, and achieving accurate and efficient model adjustment.

CN119971505AActive Publication Date: 2025-05-13NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510315836.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-17
Publication Date
2025-05-13
Estimated Expiration
2045-03-17

AI Technical Summary

Technical Problem

In the prior art, the adjustment efficiency of virtual models in virtual scenes is low, especially when the number of models is large, and the user needs to manually select and adjust it, which is time-consuming and error-prone.

Method used

By providing a graphical user interface, including slider sequence adjustment controls, users can automatically adjust the position of virtual models in the virtual scene by adjusting the order of the target sliders in the slider sequence.

Benefits of technology

The accurate adjustment and position synchronization of the virtual model are realized, the adjustment efficiency is improved, and the time and error rate of manual operation are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119971505A_ABST
    Figure CN119971505A_ABST
Patent Text Reader

Abstract

The invention provides a virtual scene editing method and device, electronic equipment and a storage medium, and relates to the technical field of games. The method comprises the following steps: in response to a trigger operation for adjusting the arrangement sequence of target sliding blocks in a sliding block sequence, determining the arrangement positions of the target sliding blocks in the sliding block sequence; and according to the arrangement position of the target sliding block in the sliding block sequence, adjusting the placement position of the first target virtual model relative to each first virtual model in the virtual scene, by applying the embodiment of the invention, a user can adjust the arrangement position of the target sliding block in the sliding block sequence, so that the user experience is improved. According to the invention, the placement position of the first target virtual model relative to each first virtual model can be adjusted, accurate adjustment is realized, and the adjustment efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of game technology, and in particular to a method, device, electronic device and storage medium for editing a virtual scene. Background Art

[0002] Track editors in User-Generated Content (UGC) are tools that allow users to customize and edit racing tracks. Users can design unique track layouts, landscapes, and difficulty levels based on their own ideas and needs. Editors usually provide various tools and options, such as curve tools, straight line tools, height adjustment tools, etc., to help users create and modify tracks more easily.

[0003] In the prior art, when adjusting the position of a virtual model in a racing scene, a user is often required to select the virtual model in the scene for manual adjustment.

[0004] Therefore, when the existing adjustment method is used for adjustment, if there are many virtual models in the scene, there will be a problem of low adjustment efficiency. Summary of the invention

[0005] The purpose of this application is to provide a virtual scene editing method, device, electronic device and storage medium to address the deficiencies in the above-mentioned prior art, which can achieve precise adjustment of virtual models in virtual scenes and improve adjustment efficiency.

[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:

[0007] In a first aspect, the present invention provides a method for editing a virtual scene, wherein a graphical user interface is provided through a terminal device, wherein the graphical user interface includes a first target virtual model in the virtual scene, at least one first virtual model, and a first adjustment control, wherein the first adjustment control includes a slider sequence, wherein the slider sequence includes: a target slider corresponding to the first target virtual model, and first sliders corresponding to each first virtual model, wherein the method includes:

[0008] In response to a trigger operation of adjusting the arrangement order of the target slider in the slider sequence, determining an arrangement position of the target slider in the slider sequence;

[0009] According to the arrangement position of the target slider in the slider sequence, the placement position of the first target virtual model relative to each of the first virtual models in the virtual scene is adjusted.

[0010] In a second aspect, the present invention provides an editing device for a virtual scene, which provides a graphical user interface through a terminal device, wherein the graphical user interface includes a first target virtual model in the virtual scene, at least one first virtual model, and a first adjustment control, wherein the first adjustment control includes a slider sequence, wherein the slider sequence includes: a target slider corresponding to the first target virtual model, and first sliders corresponding to each first virtual model, including:

[0011] a response module, configured to determine an arrangement position of the target slider in the slider sequence in response to a trigger operation of adjusting an arrangement order of the target slider in the slider sequence;

[0012] The adjustment module is used to adjust the placement position of the first target virtual model relative to each of the first virtual models in the virtual scene according to the arrangement position of the target slider in the slider sequence.

[0013] In a third aspect, the present invention provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the virtual scene editing method as described in any of the aforementioned implementations.

[0014] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method for editing a virtual scene as described in any of the aforementioned embodiments are executed.

[0015] The beneficial effects of this application are:

[0016] In the virtual scene editing method, device, electronic device and storage medium provided by the embodiments of the present application, the method can provide a graphical user interface through a terminal device, the graphical user interface includes a first target virtual model in the virtual scene, at least one first virtual model and a first adjustment control, the first adjustment control includes a slider sequence, the slider sequence includes: a target slider corresponding to the first target virtual model, and a first slider corresponding to each first virtual model. The method includes: in response to a trigger operation of adjusting the arrangement order of the target slider in the slider sequence, determining the arrangement position of the target slider in the slider sequence; according to the arrangement position of the target slider in the slider sequence, adjusting the placement position of the first target virtual model in the virtual scene relative to each first virtual model. By applying the embodiments of the present application, the user can adjust the placement position of the first target virtual model relative to each first virtual model by adjusting the arrangement position of the target slider in the slider sequence, thereby achieving precise adjustment and improving adjustment efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 A flowchart of a method for editing a virtual scene provided in an embodiment of the present application;

[0019] Figure 2 A schematic diagram of a game interface provided by the present invention;

[0020] Figure 3 A schematic diagram of another game interface provided by the present invention;

[0021] Figure 4 A schematic diagram of another game interface provided by the present invention;

[0022] Figure 5 Another virtual scene editing method provided by the present invention;

[0023] Figure 6 A schematic diagram of another game interface provided by the present invention;

[0024] Figure 7 A schematic diagram of a first adjustment control provided by the present invention;

[0025] Figure 8 A schematic flow chart of another virtual scene editing method provided by the present invention;

[0026] Fig. 9 A schematic flow chart of another virtual scene editing method provided by the present invention;

[0027] Fig.10 A schematic flow chart of another virtual scene editing method provided by the present invention;

[0028] Fig.11 A schematic diagram of another game interface provided by the present invention;

[0029] Fig.12 A schematic flow chart of another virtual scene editing method provided by the present invention;

[0030] Fig.13 A schematic diagram of another game interface provided by the present invention;

[0031] Fig.14 A schematic flow chart of another virtual scene editing method provided by the present invention;

[0032] Fig.15 A schematic diagram of another game interface provided by the present invention;

[0033] Fig.16 A schematic diagram of another game interface provided by the present invention;

[0034] Fig.17 A schematic flow chart of another virtual scene editing method provided by the present invention;

[0035] Fig.18 A schematic diagram of functional modules of a virtual scene editing device provided in an embodiment of the present application;

[0036] Fig.19 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.

[0038] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0039] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0040] In the prior art, when adjusting the position of a virtual model in a racing scene through a track editor in user-generated content (UGC), the user is often required to select the virtual model in the scene for manual adjustment. Therefore, if there are many virtual models in the scene, the existing adjustment method will have the problem of low adjustment efficiency.

[0041] In view of this, an embodiment of the present application provides a method for editing a virtual scene, and application of this method can improve the adjustment efficiency and adjustment accuracy of a virtual model in a virtual scene.

[0042] The virtual scene editing method in one embodiment of the present disclosure can be run on a local terminal device or a server. When the virtual scene editing method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0043] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the editing method of the virtual scene are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.

[0044] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.

[0045] In a possible implementation, an embodiment of the present invention provides a method for editing a virtual scene, providing a graphical user interface through a terminal device, wherein the terminal device may be the local terminal device mentioned above, or may be a client device in the cloud interaction system mentioned above.

[0046] The virtual scene editing method provided by the present application is described in detail below through multiple embodiments.

[0047] Figure 1A flowchart of a method for editing a virtual scene provided by the present invention. The method may provide a graphical user interface through a terminal device, the graphical user interface may include a first target virtual model in the virtual scene, at least one first virtual model, and a first adjustment control, each virtual model may correspond to a slider, the first adjustment control includes a slider sequence, and the slider sequence includes: a target slider corresponding to the first target virtual model, and a first slider corresponding to each first virtual model.

[0048] Each slider may be marked with a corresponding virtual model. Optionally, the display style (e.g., fill color) of each slider may be different according to the actual application scenario. Optionally, the type of virtual model in the virtual scene may be: building, tree, river, pipeline, road, agency, etc., which is not limited here and may be different according to the actual application scenario.

[0049] like Figure 1 As shown, the editing method of the virtual scene includes:

[0050] Step 101: In response to a triggering operation of adjusting the arrangement order of a target slider in a slider sequence, determine an arrangement position of a target slider in the slider sequence.

[0051] The present application does not limit the number of first virtual models in the virtual scene, and may include one or more according to the actual application scenario. The slider sequence may include virtual sliders corresponding to each virtual model, that is, the slider sequence may include: a target slider corresponding to the first target virtual model, and first sliders corresponding to each first virtual model. Of course, the present application does not limit the number of each first slider in the slider sequence, and may include one or more according to the actual application scenario.

[0052] Optionally, the player can act on the target slider in the slider sequence by triggering methods such as dragging, dragging, long pressing and dragging to adjust the arrangement order of the target slider in the slider sequence. In response to the triggering method, the arrangement order of the target slider in the slider sequence can be obtained.

[0053] In addition, according to the actual application scenario, in response to the trigger operation of adjusting the arrangement order of the target slider in the slider sequence, the target slider can be moved to the corresponding position and displayed in a preview format (for example, the target slider is displayed with 50% transparency). If no further adjustment operation from the user is received within a preset time threshold, the arrangement position of the target slider in the slider sequence is determined accordingly; otherwise, the trigger operation can be canceled and readjusted.

[0054] Step 102: adjusting the placement position of the first target virtual model relative to each first virtual model in the virtual scene according to the arrangement position of the target slider in the slider sequence.

[0055] The arrangement position of the target slider in the slider sequence corresponds to the placement position of the first target virtual model relative to each first virtual model. When making adjustments, the placement position of the first target virtual model relative to each first virtual model in the virtual scene can be adjusted according to the arrangement position of the target slider in the slider sequence.

[0056] It should be noted that, optionally, during the adjustment process, the adjustment of the placement position of the first target virtual model may also cause the placement position of at least some of the first virtual models in the virtual scene to be synchronously updated, wherein, when the update is performed, the placement position of each first virtual model in the virtual scene can be updated according to the arrangement position of the first slider corresponding to the first virtual model in the slider sequence and the available placement position in the virtual scene.

[0057] Figure 2 A schematic diagram of a game interface provided by the present invention, Figure 3 Schematic diagram of another game interface provided by the present invention. Figure 2 As shown, the virtual scene includes four first virtual models (A1, A2, A3 and A4) and a first target virtual model B, wherein, before adjustment, in order from left to right, the virtual models placed at each placement position in the virtual scene are: placement position C1 corresponds to the first virtual model A1, placement position C2 corresponds to the first virtual model A2, placement position C3 corresponds to the first virtual model A3, placement position C4 corresponds to the first virtual model A4, and placement position C5 corresponds to the first target virtual model B; in order from left to right, the order of the sliders of the slider sequence S1 is: the first slider M1 corresponding to the first virtual model A1, the second slider M2 corresponding to the first virtual model A2, the fourth slider M3 corresponding to the first virtual model A3, the fourth slider M4 corresponding to the first virtual model A4, and the target slider Ms corresponding to the first target virtual model B, and the display style (for example, fill color) of each slider is different.

[0058] Optionally, refer to Figure 3As shown, by using the method of the present application, the player can act on the target slider Ms in the slider sequence S1 by triggering methods such as dragging, dragging, long pressing and dragging, so as to adjust the slider sequence of the slider sequence S1 to: the first slider M1, the target slider Ms, the second slider M2, the third slider M3, and the fourth slider M4; further, in response to the triggering method, the first target virtual model B can be adjusted from the placement position C5 to the placement position C2, the first virtual model A2 to the placement position C3, the first virtual model A3 to the placement position C4, and the first virtual model A4 to the placement position C5, so as to achieve the synchronous and flexible update of the placement position of at least part of the first virtual model in the virtual scene without the user making further adjustments, thereby improving the flexibility and applicability of the method of the present application. It should be noted that, according to the actual application scenario, the update position of each virtual model can be determined according to the position that can be placed in the virtual scene and the attribute parameters (such as size, shape, etc.) of the virtual model.

[0059] Of course, it should be noted that, according to the actual application scenario, the placement positions of the first virtual model A1 and the first virtual model A2 can also be updated. Optionally, in the case of following the arrangement order indicated by the slider sequence, the first virtual model A1 can be placed at other available positions, the first virtual model A2 can be placed at the placement position C1, and the placement positions of the first virtual models A2, A3 and A4 remain unchanged. Of course, the specific adjustment method is not limited to this.

[0060] It can be seen that by applying the embodiments of the present application, accurate selection of the target slider can be achieved, and the user can adjust the placement position of the first target virtual model relative to each first virtual model by adjusting the arrangement position of the target slider in the slider sequence, thereby achieving accurate adjustment and improving adjustment efficiency. For example, when the first target virtual model (for example, a building group consisting of multiple buildings) includes multiple sub-target virtual models (for example, each building in the building group), the user does not need to manually select multiple times to select the first target virtual model, which can improve adjustment efficiency. In addition, it can also avoid missing some sub-target virtual models during the selection process, and achieve accurate adjustment; and according to the adjustment of the placement position of the first target virtual model, the placement position of each first virtual model in the virtual scene can be adjusted synchronously, which can achieve flexible adjustment.

[0061] In summary, an embodiment of the present invention provides a method for editing a virtual scene. The method can provide a graphical user interface through a terminal device. The graphical user interface includes a first target virtual model in the virtual scene, at least one first virtual model and a first adjustment control. The first adjustment control includes a slider sequence. The slider sequence includes: a target slider corresponding to the first target virtual model, and a first slider corresponding to each first virtual model. The method includes: in response to a trigger operation of adjusting the arrangement order of the target slider in the slider sequence, determining the arrangement position of the target slider in the slider sequence; according to the arrangement position of the target slider in the slider sequence, adjusting the placement position of the first target virtual model in the virtual scene relative to each first virtual model. By applying the embodiment of the present application, the user can adjust the placement position of the first target virtual model relative to each first virtual model by adjusting the arrangement position of the target slider in the slider sequence, thereby achieving precise adjustment and improving adjustment efficiency.

[0062] In an optional embodiment, the above method further includes:

[0063] In response to a selection operation on a target slider, a boundary adjustment control is displayed on at least one side of the target slider; in response to a trigger operation on the boundary adjustment control, a display proportion of the target slider in the slider sequence and a distribution area of ​​the first target virtual model in the virtual scene are adjusted.

[0064] The display ratio of the target slider in the slider sequence and the distribution range of the first target virtual model in the virtual scene have a corresponding relationship. Optionally, the larger the display ratio of the target slider in the slider sequence, the larger the distribution range of the first target virtual model in the virtual scene will be, and the smaller the display ratio of the target slider in the slider sequence, the smaller the distribution range of the first target virtual model in the virtual scene will be.

[0065] Optionally, a trigger operation such as long pressing, re-pressing, or double-clicking may be applied to the target slider to generate a selection operation for the target slider, and in response to the selection operation, a boundary adjustment control may be displayed on at least one side of the target slider. In some embodiments, when the boundary adjustment control is specifically displayed, it may be displayed on one side of the target slider, or on both sides, which is not limited here.

[0066] In the case where a boundary adjustment control is displayed on at least one side of the target slider, optionally, any boundary adjustment control can be acted on through triggering methods such as long pressing and dragging, pressing and dragging again, and double-clicking and dragging. In response to the triggering operation on the boundary adjustment control, the display ratio of the target slider in the slider sequence and the distribution area of ​​the first target virtual model in the virtual scene can be adjusted to improve the layout and adjustment efficiency of the model.

[0067] In some embodiments, during specific adjustments, for example, the display ratio of the target slider in the slider sequence can be increased, and the distribution area of ​​the first target virtual model in the virtual scene can be expanded simultaneously; or, the display ratio of the target slider in the slider sequence can be reduced, and the distribution area of ​​the first target virtual model in the virtual scene can be reduced simultaneously.

[0068] Figure 4 A schematic diagram of another game interface provided by the present invention. In an optional embodiment, in response to the selection operation of the target slider, the boundary adjustment control is displayed on at least one side of the target slider, including: in response to the selection operation of the target slider, a first boundary adjustment control and a second boundary adjustment control are displayed on both sides of the target slider respectively.

[0069] like Figure 4 As shown, optionally, the user can generate a selection operation for the target slider Ms by long pressing, hard pressing, double clicking or other triggering operations on the target slider Ms. In response to the selection operation, a first boundary adjustment control N1 and a second boundary adjustment control N2 can be displayed on the left and right sides of the target slider Ms, respectively.

[0070] Figure 5 Another virtual scene editing method provided by the present invention. Figure 6 A schematic diagram of another game interface provided by the present invention. Accordingly, in response to the triggering operation of the boundary adjustment control, the display proportion of the target slider in the slider sequence and the distribution area of ​​the first target virtual model in the virtual scene are adjusted, including:

[0071] Step 501: In response to a triggering operation on a first boundary adjustment control or a second boundary adjustment control, a display proportion of a target slider in a slider sequence is adjusted.

[0072] Step 502: Adjust the distribution area of ​​the first target virtual model in the virtual scene according to the new display proportion of the target slider in the slider sequence.

[0073] Combined with the above Figure 3 As shown, optionally, the first boundary adjustment control N1 or the second boundary adjustment control N2 can be acted on by triggering methods such as long pressing and dragging, pressing and dragging again, and double-clicking and dragging. In response to the triggering method, the display ratio of the target slider Ms in the slider sequence S1 can be adjusted to obtain a new display ratio and a new distribution area of ​​the first target virtual model in the virtual scene.

[0074] In some embodiments, when making specific adjustments, the display ratio of the target slider in the slider sequence may be increased to expand the distribution area of ​​the first target virtual model in the virtual scene, or the display ratio of the target slider in the slider sequence may be decreased to reduce the distribution area of ​​the first target virtual model in the virtual scene. This is not limited here and can be flexibly applied according to actual application scenarios.

[0075] In addition, combined Figure 1 and Figure 5 As shown, it should also be noted that step 501 and step 502 may also be performed after step 101 and step 102. The order between the two embodiments is not limited here and can be flexibly set according to actual application scenarios.

[0076] like Figure 6 As shown, in some embodiments, for example, the first virtual model B is a virtual tree, the display proportion of the target slider Ms in the slider sequence S1 before adjustment is 17%, and the number of the first target virtual model B in the virtual scene is 1; Figure 6 As shown, optionally, after adjustment, the new display proportion of the target slider Ms in the slider sequence S1 is 25%, and the number of the first target virtual model B in the virtual scene is 2. It can be seen that compared with before and after the adjustment, the distribution area of ​​the first target virtual model in the virtual scene has expanded. Therefore, the application method of the present application can realize flexible adjustment of the distribution area of ​​the first virtual model in the virtual scene.

[0077] Of course, it should be noted that the present application does not limit the numerical value of the display ratio of the front and rear target sliders in the slider sequence, the distribution position and density of the distribution area of ​​the first target virtual model in the virtual scene, etc., which may vary according to the actual application scenario.

[0078] Figure 7 A schematic diagram of a first adjustment control provided by the present invention. In an optional embodiment, in response to the triggering operation of the first boundary adjustment control or the second boundary adjustment control, adjusting the display proportion of the target slider in the slider sequence includes:

[0079] In response to a trigger operation of controlling the first boundary adjustment control to move in a first direction, or in response to a trigger operation of controlling the second boundary adjustment control to move in a second direction, a display proportion of the target slider in the slider sequence is increased.

[0080] The first direction and the second direction are opposite directions. Optionally, taking the sliders in the slider sequence arranged in the horizontal direction as an example, the first direction may be the horizontal left direction, and the second direction may be the horizontal right direction; of course, it should be noted that in some scenarios, if the sliders in the slider sequence are arranged in the vertical direction, the first direction may be the vertical upward direction, and the second direction may be the vertical downward direction, which is not limited here.

[0081] Alternatively, see Figure 7 As shown, the user can act on the first boundary adjustment control N1 to move in the first direction L1 by long pressing and dragging, pressing and dragging hard, double-clicking and dragging, etc., and in response to the trigger operation, the display proportion of the target slider Ms in the slider sequence S1 can be increased; or the user can act on the second boundary adjustment control N2 to move in the second direction L2 by long pressing and dragging, pressing and dragging hard, double-clicking and dragging, etc., and in response to the trigger operation, the display proportion of the target slider Ms in the slider sequence S1 can be increased.

[0082] It should be noted that, taking the first boundary adjustment control N1 as an example, the increase in the display ratio of the target slider Ms in the slider sequence S2 is proportional to the distance that the first boundary adjustment control N1 moves in the first direction L1, wherein the longer the moving distance, the greater the increase in the display ratio, and the closer the moving distance, the smaller the increase in the display ratio.

[0083] In an optional implementation, in response to the triggering operation of the first boundary adjustment control or the second boundary adjustment control, adjusting the display proportion of the target slider in the slider sequence includes:

[0084] In response to a trigger operation of controlling the first boundary adjustment control to move toward a second direction, or in response to a trigger operation of controlling the second boundary adjustment control to move toward a first direction, the display proportion of the target slider in the slider sequence is reduced, and the first direction and the second direction are opposite directions.

[0085] Alternatively, see Figure 7 As shown, of course, the user can also use triggering methods such as long press and drag, heavy press and drag, double-click and drag to act on the first boundary adjustment control N1 to move in the second direction L2. In response to the trigger operation, the display proportion of the target slider Ms in the slider sequence S1 can be reduced; or, the user can use triggering methods such as long press and drag, heavy press and drag, double-click and drag to act on the second boundary adjustment control N2 to move in the first direction L1. In response to the trigger operation, the display proportion of the target slider Ms in the slider sequence S1 can be reduced.

[0086] In summary, by applying the embodiments of the present application, it is possible to flexibly adjust the display ratio of the target slider in the slider sequence through the first boundary adjustment control or the second boundary adjustment control, thereby more intuitively adjusting the layout range of the first target virtual model. In particular, the application of this method can achieve rapid duplication and repetition of model layouts, so as to quickly create a large number of similar models. Compared with the existing manual creation method, the editing efficiency of the virtual scene can be improved.

[0087] Figure 8 FIG. 1 is a flow chart of another method for editing a virtual scene provided by the present invention. In an optional embodiment, as Figure 8 As shown, the above method also includes:

[0088] Step 801: When the target slider is in a selected state, a first model identifier corresponding to a first target virtual model is displayed in a model selection control.

[0089] Optionally, the model identifier may represent the model type. In some embodiments, the model type may include: trees, buildings, rivers, arch bridges, etc., which are not limited here. The model selection control may be used to modify the model type of each virtual model.

[0090] In some embodiments, the user can act on the target slider through triggering methods such as long press, double press, and hard press. In response to the trigger operation, it can be determined that the target slider is in a selected state. At this time, the first model identifier corresponding to the first target virtual model can be displayed in the model selection control.

[0091] Step 802: In response to a trigger operation on a first model identifier, display a model selection list.

[0092] Step 803: In response to a selection operation on a second model identifier in the model selection list, the first target virtual model in the virtual scene is switched to be displayed as a second target virtual model corresponding to the second model identifier.

[0093] When the first model identifier corresponding to the first target virtual model is displayed in the model selection control, optionally, the first model identifier can be acted upon by triggering methods such as single-clicking, double-clicking, long pressing, and pressing again. In response to the triggering operation, a model selection list can be displayed around the model selection control. Optionally, the model selection list can include multiple optional model identifiers that are different from the first model identifier.

[0094] Furthermore, the second model identifier in the model selection list can be acted on by single-clicking, double-clicking, long pressing, and re-pressing. In response to the selection operation, the model type of the first target virtual model in the virtual scene can be changed, that is, the first target virtual model in the virtual scene can be switched to the second target virtual model corresponding to the second model identifier.

[0095] It should be noted that the second model identifier can be any model identifier in the model selection list that is different from the first model identifier, and is not limited here. For example, the model type indicated by the first model identifier can be a tree, and the model type indicated by the second model identifier can be a building, but it is not limited thereto.

[0096] Fig. 9 FIG. 1 is a flow chart of another method for editing a virtual scene provided by the present invention. In an optional embodiment, as Fig. 9 As shown, the above method also includes:

[0097] Step 901: When the target slider is in a selected state, in response to a triggering operation on a second adjustment control, an adjustment interface corresponding to a first target virtual model is displayed.

[0098] Step 902: In response to a triggering operation on at least one sub-adjustment control in the adjustment interface, adjust the placement angle and / or display size of the first target virtual model in the virtual scene.

[0099] In some embodiments, in order to adjust the placement angle and / or display size of the first target virtual model in the virtual scene and improve the flexibility and applicability of the method of the present application, optionally, a second adjustment control may be provided in the game interface.

[0100] Optionally, when making specific adjustments, you can act on the target slider by single-clicking, double-clicking, long pressing, pressing again, etc. In response to the selection operation, it is determined that the target slider is in a selected state. At this time, you can act on the second adjustment control by triggering methods such as single-clicking, double-clicking, long pressing, pressing again, etc. In response to the triggering method, the adjustment interface corresponding to the first target virtual model can be displayed, wherein the adjustment interface may include at least one sub-adjustment control, wherein each sub-adjustment control is used to adjust different attribute parameters of the first target virtual model in the virtual scene.

[0101] Of course, it should be noted that the present application does not limit the specific expression form of each sub-adjustment control, and it can be flexibly adjusted according to the actual application scenario. In addition, it can be understood that if the first target virtual model is a three-dimensional model, then the placement angle in the virtual scene is also the three-dimensional placement angle of the first target virtual model in the virtual scene.

[0102] Fig.10 A schematic flow chart of another virtual scene editing method provided by the present invention. In an optional embodiment, at least part of the sub-adjustment controls include: an adjustment rod and a first adjustment slider located on the adjustment rod.

[0103] Optionally, there may be multiple sub-adjustment controls, each of which is used to adjust different attribute parameters of the target virtual model.

[0104] like Fig.10 As shown, in some scenarios, the second adjustment control may include a first sub-adjustment control P1 and a second sub-adjustment control P2, wherein the first sub-adjustment control P1 includes: a first adjustment rod P1-1 and a first adjustment slider P1-2 located on the first adjustment rod P1-1, and the first sub-adjustment control P1 is used to adjust the placement angle of the first target virtual model B in the virtual scene; the second sub-adjustment control P2 includes: a second adjustment rod P2-1 and a first adjustment slider P2-2 located on the second adjustment rod P2-1, and the second sub-adjustment control P2 is used to adjust the display size of the first target virtual model B in the virtual scene.

[0105] Optionally, in response to the triggering operation of at least one sub-adjustment control in the adjustment interface, adjusting the placement angle and / or display size of the first target virtual model in the virtual scene includes:

[0106] In response to a first sliding operation of the first adjustment slider on the adjustment rod, the placement angle and / or display size of the first target virtual model in the virtual scene is adjusted according to a first target adjustment value corresponding to the first sliding operation.

[0107] Among them, referring to the setting methods of the first sub-adjustment control P1 and the second sub-adjustment control P2, the first sub-adjustment control P1 is used as an example for explanation. When making adjustments, the first adjustment slider P1-2 can be controlled to slide on the first adjustment rod P1-1 through a first sliding operation. In response to the first sliding operation, the first target adjustment value of the first sliding operation can be obtained, and the placement angle of the first target virtual model B in the virtual scene can be adjusted according to the first target adjustment value (any value between 0 and 360°). For example, the first target virtual model B can be adjusted based on the current placement angle, and the first target adjustment value (10°) can be rotated counterclockwise to display. Of course, the specific adjustment method is not limited to this.

[0108] It is understandable that if the first adjustment slider P2-2 is controlled to slide on the first adjustment rod P2-1 through the first sliding operation, the display size of the first target virtual model B in the virtual scene can be adjusted according to the first target adjustment value (any value greater than 0 and less than 30). For example, the first target virtual model can be adjusted based on the current display size, enlarged by 2 times, enlarged by 3 times, etc., which is not limited here. It is understandable that if the first target adjustment value is less than 1, it indicates a zoom-out operation, such as zooming out by 0.5 times.

[0109] By applying the embodiments of the present application, it is possible to improve the accuracy of model position and angle adjustment, so that the layout results better meet user needs. Compared with the adjustment method through coordinate axis tools and rotation tools, the efficiency of model layout and adjustment can be improved, especially in large-scale scene editing.

[0110] Fig.11 This is a schematic diagram of another graphical user interface provided by the present invention. In an optional embodiment, at least part of the sub-adjustment controls further include: a mode control, the mode control is used to set the adjustment mode to a random mode or a manual mode.

[0111] Alternatively, see Fig.11 As shown, in some embodiments, the adjustment interface may include a second sub-adjustment control P2, and the second sub-adjustment control P2 is used to adjust the display size of the first target virtual model B in the virtual scene, and the second sub-adjustment control P2 also includes a mode control P3. Optionally, when the mode control P3 is not selected, the manual mode is the default, and when the mode control P3 is selected, it is switched to the random mode.

[0112] It should be noted that the random mode and the manual mode are two ways of adjusting the attribute parameters of the first target virtual model in the virtual scene. If the random mode is set, the corresponding target adjustment value in the random mode is determined according to the preset rules. If the manual mode is set, the corresponding target adjustment value in the manual mode can be determined according to the user's interactive operation.

[0113] Correspondingly, optionally, before the above-mentioned adjusting the placement angle and / or display size of the first target virtual model in the virtual scene according to the first target adjustment value corresponding to the first sliding operation in response to the first sliding operation of the first adjustment slider on the adjustment rod, it also includes:

[0114] In response to a first trigger operation on a mode control corresponding to a target sub-adjustment control in at least one sub-adjustment control, the adjustment mode is set to a manual mode.

[0115] Combination Fig.11 As shown, the target sub-adjustment control can be the second sub-adjustment control P2 mentioned above. Optionally, the mode control P3 in the second sub-adjustment control P2 can be acted on by a first triggering method such as single-clicking or double-clicking to cancel the selection of the mode control P3 and set its corresponding adjustment mode to manual mode. It should be noted that after setting to manual mode, the placement angle and / or display size of the first target virtual model in the virtual scene can be adjusted according to the first target adjustment value in response to the first sliding operation of the first adjustment slider on the adjustment rod. The specific adjustment method can be referred to the above-mentioned related instructions, which will not be repeated here.

[0116] Fig.12A schematic flow chart of another virtual scene editing method provided by the present invention. Fig.13 A schematic diagram of another graphical user interface provided by the present invention. In an optional embodiment, the above-mentioned adjustment of the placement angle and / or display size of the first target virtual model in the virtual scene in response to the triggering operation of at least one sub-adjustment control in the adjustment interface includes:

[0117] Step 1201: In response to a second trigger operation on a mode control in a target sub-adjustment control, the adjustment mode is set to a random mode, and a second adjustment slider is added and displayed on a target adjustment bar corresponding to the target sub-adjustment control.

[0118] Among them, see Fig.13 As shown, the target sub-adjustment control can be the above-mentioned second sub-adjustment control P2. Optionally, the mode control P3 in the second sub-adjustment control P2 can be acted on by a second trigger method such as single-clicking or double-clicking. In response to the second trigger method, the mode control P3 can be selected, and its corresponding adjustment mode can be set to a random mode. A second adjustment slider P2-4 can be added and displayed on the target adjustment bar corresponding to the target sub-adjustment control.

[0119] Optionally, the additionally displayed second adjustment slider P2-4 may be located at a specific position of the target adjustment lever, for example, at the end or the middle, which is not limited here and can be flexibly set according to actual application scenarios.

[0120] Step 1202: In response to a second sliding operation of the first adjustment slider on the target adjustment rod, determine a starting adjustment value.

[0121] Step 1203: In response to a third sliding operation of the second adjustment slider on the target adjustment rod, determine a termination adjustment value.

[0122] The random adjustment range may be determined according to the starting adjustment value and the ending adjustment value.

[0123] In some embodiments, during specific adjustments, the first adjustment slider can be controlled to slide on the target adjustment rod through a second sliding operation, and the starting adjustment value can be determined according to the second sliding operation; the second adjustment slider can be controlled to slide on the target adjustment rod through a third sliding operation, and the ending adjustment value can be determined according to the third sliding operation.

[0124] Reference Fig.13 As shown, the random adjustment range can be determined according to the starting adjustment value indicated by the first adjustment slider P2-2 and the ending adjustment value indicated by the second adjustment slider P2-3.

[0125] Step 1204: determine a second target adjustment value between the start adjustment value and the end adjustment value, and adjust the placement angle and / or display size of the first target virtual model in the virtual scene according to the second target adjustment value.

[0126] The second target adjustment value may be any value within the random adjustment range, and may be determined based on a preset random algorithm, such as a random number generator, and is not limited here.

[0127] It is understandable that after the second target adjustment value is determined, the placement angle and / or display size of the first target virtual model in the virtual scene can be adjusted according to the second target adjustment value, so as to achieve automatic adjustment of the first target virtual model, improve the editing efficiency of the virtual scene, and improve the meticulousness of the virtual scene layout. Fig.12 As shown, for example, in the random mode, the determined second target adjustment value may be 10. Of course, the specific value is not limited thereto.

[0128] Of course, it should be noted that in the random mode, after adjusting the placement angle and / or display size of the first target virtual model in the virtual scene according to the second target adjustment value, of course, according to the actual application scenario, the user can also further switch to the manual mode to achieve fine-tuning of the placement angle and / or display size, thereby improving the flexibility and applicability of the method of the present application. In addition, if the placement angle is a three-dimensional angle, the placement angle of each dimension (XYZ) of the first target virtual model in the virtual scene can be adjusted separately.

[0129] Fig.14 15 is a schematic diagram of another method for editing a virtual scene provided by the present invention. 16 is a schematic diagram of another graphical user interface provided by the present invention. In an optional embodiment, as Fig.15 As shown, the graphical user interface further includes: a curve editing control S2. Optionally, in response to the trigger operation of adjusting the arrangement order of the target slider in the slider sequence, before determining the arrangement position of the target slider in the slider sequence, it further includes:

[0130] Step 1401: In response to a triggering operation of a control curve editing control in a virtual scene, a corresponding model layout curve is displayed in the virtual scene.

[0131] Among them, the curve editing control is used to edit the model layout curve in the virtual scene. The model layout curve can determine the layout path, layout direction, etc. of each virtual model in the virtual scene.

[0132] Alternatively, see Fig.15As shown, the curve editing control S2 can be called out by single-clicking, double-clicking, long pressing, pressing again, etc., and the curve editing control S2 can be controlled to move in the virtual scene by long pressing and dragging, etc. At this time, the model layout curve S3 can be displayed on the moving path corresponding to the curve editing control S2, for example, it can be a non-closed curve.

[0133] It should be noted that the model layout curve may be a straight line, a curve, or a closed curve (eg, a circle), and the specific form of the model layout curve is not limited herein.

[0134] Step 1402: Layout a first target virtual model and at least one first virtual model based on the model layout curve.

[0135] Optionally, when the model layout curve is displayed, the first target virtual model and at least one first virtual model can be set along the model layout curve. It should be noted that when the layout is specifically set, it can be implemented according to a preset layout algorithm, or it can be implemented by manual layout by the user, which is not limited here.

[0136] Step 1403: In response to a triggering operation on the model layout curve, display a first adjustment control.

[0137] When the corresponding model layout curve S3 is displayed in the virtual scene, the model layout curve S3 can be acted on by triggering methods such as single-click, double-click, long press, and heavy hit. In response to the triggering method, the first adjustment control S1 can be displayed.

[0138] As can be seen from the above description, the placement position of the first target virtual model relative to each first virtual model can be adjusted through the first adjustment control S1. The specific adjustment method can be found in the above description and will not be described again here.

[0139] Fig.16 A schematic diagram of another graphical user interface provided by the present invention. In an optional embodiment, the method further includes:

[0140] The number of first sliders in the first adjustment control is counted; if it is determined that the number is less than a preset number threshold, a new control is displayed around the first adjustment control.

[0141] like Fig.16 As shown, optionally, in order to improve the editing efficiency of the virtual scene, optionally, the number of the first slider in the first adjustment control can be counted in real time, wherein, if the counted number is less than a preset number threshold (such as 3), then a new control S4 can be displayed around the first adjustment control. It can be understood that at this time, a new virtual model can be quickly added to the virtual scene through the new control S4, thereby improving the editing efficiency of the virtual scene.

[0142] Of course, it should be noted that the display position and display method of the newly added controls are not limited to the diagram and can be flexibly set according to the actual application scenario.

[0143] Fig.17 A flowchart of another virtual scene editing method provided by the present invention. In an optional embodiment, in response to the trigger operation of adjusting the arrangement order of the target slider in the slider sequence, before determining the arrangement position of the target slider in the slider sequence, further includes:

[0144] Step 1701: In response to a trigger operation on a newly added control, a first target virtual model is displayed at a placeable position in the virtual scene along a model layout curve.

[0145] See also Fig.16 As shown, optionally, the newly added control S4 can be acted on by a triggering method such as clicking, long pressing, or pressing hard, and in response to the triggering operation, the first target virtual model can be displayed at a position that can be placed in the virtual scene along the model layout curve. Specifically, when displaying, it can be displayed according to preset rules, for example, a random position away from the model layout curve can be set according to a random number generator.

[0146] Optionally, the first target virtual model initially displayed may be a default virtual model, such as a house, and the model type of the first target virtual model may be changed later by referring to the aforementioned related methods.

[0147] Of course, it should be noted that, in response to the triggering operation of the newly added control, the type of the first target virtual model (for example, it can be a tree) can be determined, and the first target virtual model can be displayed at a placeable position in the virtual scene along the model layout curve according to the type of the first target virtual model.

[0148] Step 1702: Determine the initial arrangement position of the target slider in the slider sequence according to the initial placement positions of the first target virtual model and each first virtual model in the virtual scene, and display the target slider at the initial arrangement position.

[0149] Among them, referring to the above description, it can be known that each virtual module can correspond to a slider in a slider sequence, that is, the first target virtual model can correspond to the target slider; wherein, after determining the initial placement position of the first target virtual model relative to each first virtual model, the initial arrangement position of the target slider relative to each first slider can be determined accordingly, that is, the initial arrangement position of the target slider in the slider sequence, and the target slider is displayed at the initial arrangement position, so that when a new virtual model is added to the virtual scene, the slider sequence can be updated synchronously, so that subsequently, based on the slider sequence, by adjusting the arrangement position of the target slider in the slider sequence, the placement position of the first target virtual model relative to each first virtual model can be adjusted, thereby achieving precise adjustment and improving adjustment efficiency.

[0150] Optionally, according to the actual application scenario, other virtual models may be subsequently laid out at the location of the model layout curve, such as a track, a river, a bridge, etc., which is not limited here.

[0151] It should be noted that in actual application, after the user confirms the model selection and settings, the editor of the virtual scene will save all changes so that the current state can be maintained when loaded next time. In this way, the user can quickly copy and repeat the previous layout, saving a lot of time. At the same time, according to the user's settings, the editor can add new models along the model layout curve, realizing the rapid copying and repetition of the model layout.

[0152] Fig.18 The functional module diagram of a virtual scene editing device provided by the present invention provides a graphical user interface through a terminal device, the graphical user interface includes a first target virtual model in the virtual scene, at least one first virtual model and a first adjustment control, the first adjustment control includes a slider sequence, the slider sequence includes: a target slider corresponding to the first target virtual model, and a first slider corresponding to each first virtual model. The basic principle of the device and the technical effect produced are the same as those of the corresponding method embodiment described above. For the sake of brief description, the parts not mentioned in this embodiment can refer to the corresponding content in the method embodiment. Fig.18 As shown, the editing device comprises:

[0153] A response module 110, configured to determine an arrangement position of the target slider in the slider sequence in response to a trigger operation of adjusting an arrangement order of the target slider in the slider sequence;

[0154] The adjustment module 120 is used to adjust the placement position of the first target virtual model relative to each of the first virtual models in the virtual scene according to the arrangement position of the target slider in the slider sequence.

[0155] In an optional implementation, the response module 110 is further configured to display a boundary adjustment control on at least one side of the target slider in response to a selection operation on the target slider;

[0156] In response to the triggering operation of the boundary adjustment control, the display proportion of the target slider in the slider sequence and the distribution area of ​​the first target virtual model in the virtual scene are adjusted.

[0157] In an optional implementation, the response module 110 is further configured to display a first boundary adjustment control and a second boundary adjustment control on both sides of the target slider in response to a selection operation on the target slider;

[0158] In response to the triggering operation of the boundary adjustment control, adjusting the display proportion of the target slider in the slider sequence and the distribution area of ​​the first target virtual model in the virtual scene includes:

[0159] In response to a triggering operation on the first boundary adjustment control or the second boundary adjustment control, adjusting a display proportion of the target slider in the slider sequence;

[0160] According to the new display proportion of the target slider in the slider sequence, the distribution area of ​​the first target virtual model in the virtual scene is adjusted.

[0161] In an optional embodiment, the response module 110 is also used to increase the display proportion of the target slider in the slider sequence in response to a trigger operation of controlling the first boundary adjustment control to move in a first direction, or in response to a trigger operation of controlling the second boundary adjustment control to move in a second direction, the first direction and the second direction being opposite directions.

[0162] In an optional embodiment, the response module 110 is further used to reduce the display proportion of the target slider in the slider sequence in response to a trigger operation of controlling the first boundary adjustment control to move in a second direction, or in response to a trigger operation of controlling the second boundary adjustment control to move in a first direction.

[0163] In an optional implementation manner, the response module 110 is further configured to display a first model identifier corresponding to the first target virtual model in a model selection control when the target slider is in a selected state;

[0164] In response to a triggering operation on the first model identifier, displaying a model selection list;

[0165] In response to a selection operation on a second model identifier in the model selection list, the first target virtual model in the virtual scene is switched and displayed as a second target virtual model corresponding to the second model identifier.

[0166] In an optional implementation, the response module 110 is further configured to display an adjustment interface corresponding to the first target virtual model in response to a triggering operation on a second adjustment control when the target slider is in a selected state;

[0167] In response to a triggering operation on at least one sub-adjustment control in the adjustment interface, the placement angle and / or display size of the first target virtual model in the virtual scene is adjusted.

[0168] In an optional embodiment, at least part of the sub-adjustment controls include: an adjustment rod and a first adjustment slider located on the adjustment rod;

[0169] The response module 110 is specifically used to respond to a first sliding operation of the first adjustment slider on the adjustment rod, and adjust the placement angle and / or display size of the first target virtual model in the virtual scene according to a first target adjustment value corresponding to the first sliding operation.

[0170] In an optional embodiment, at least part of the sub-adjustment controls further include: a mode control, the mode control being used to set the adjustment mode to a random mode or a manual mode;

[0171] The response module 110 is further configured to set the adjustment mode to the manual mode in response to a first trigger operation on a mode control corresponding to a target sub-adjustment control in at least one of the sub-adjustment controls.

[0172] In an optional embodiment, the response module 110 is specifically configured to respond to a second trigger operation on the mode control in the target sub-adjustment control, set the adjustment mode to a random mode, and add a second adjustment slider to the target adjustment bar corresponding to the target sub-adjustment control;

[0173] In response to a second sliding operation of the first adjustment slider on the target adjustment rod, determining a starting adjustment value;

[0174] In response to a third sliding operation of the second adjustment slider on the target adjustment rod, determining a termination adjustment value;

[0175] A second target adjustment value between the start adjustment value and the end adjustment value is determined, and a placement angle and / or display size of the first target virtual model in the virtual scene is adjusted according to the second target adjustment value.

[0176] In an optional embodiment, the graphical user interface further comprises: a curve editing control, the response module further being used to display the corresponding model layout curve in the virtual scene in response to a triggering operation of controlling the curve editing control in the virtual scene;

[0177] In response to a triggering operation on the model layout curve, the first adjustment control is displayed.

[0178] In an optional implementation, the editing device further includes: a display module, configured to count the number of the first sliders in the first adjustment control;

[0179] If it is determined that the number is less than a preset number threshold, a new control is displayed around the first adjustment control.

[0180] In an optional implementation, the display module is further configured to display the first target virtual model at a placeable position in the virtual scene along the model layout curve in response to a triggering operation on the newly added control;

[0181] According to the initial placement positions of the first target virtual model and each first virtual model in the virtual scene, the initial arrangement position of the target slider in the slider sequence is determined, and the target slider is displayed at the initial arrangement position.

[0182] The above-mentioned device is used to execute the method provided by the aforementioned embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0183] The above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more microprocessors, or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0184] Fig.19 The following is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device can be integrated into the above-mentioned editing device. Fig.19As shown, the electronic device may include: a processor 210, a storage medium 220 and a bus 230, the storage medium 220 stores machine-readable instructions executable by the processor 210, when the electronic device is running, the processor 210 and the storage medium 220 communicate through the bus 230, the processor 210 executes the machine-readable instructions to perform the steps of the following method embodiment:

[0185] In response to a trigger operation of adjusting the arrangement order of the target slider in the slider sequence, determining the arrangement position of the target slider in the slider sequence; and adjusting the placement position of the first target virtual model in the virtual scene relative to each of the first virtual models according to the arrangement position of the target slider in the slider sequence.

[0186] In an optional embodiment, the method further includes: in response to a selection operation on the target slider, displaying a boundary adjustment control on at least one side of the target slider; in response to a triggering operation on the boundary adjustment control, adjusting the display ratio of the target slider in the slider sequence and the distribution area of ​​the first target virtual model in the virtual scene.

[0187] In an optional embodiment, in response to the selection operation of the target slider, displaying a boundary adjustment control on at least one side of the target slider includes: in response to the selection operation of the target slider, displaying a first boundary adjustment control and a second boundary adjustment control on both sides of the target slider respectively;

[0188] The step of adjusting the display ratio of the target slider in the slider sequence and the distribution area of ​​the first target virtual model in the virtual scene in response to the triggering operation of the boundary adjustment control includes: adjusting the display ratio of the target slider in the slider sequence in response to the triggering operation of the first boundary adjustment control or the second boundary adjustment control; and adjusting the distribution area of ​​the first target virtual model in the virtual scene according to the new display ratio of the target slider in the slider sequence.

[0189] In an optional embodiment, adjusting the display proportion of the target slider in the slider sequence in response to a trigger operation on the first boundary adjustment control or the second boundary adjustment control includes: increasing the display proportion of the target slider in the slider sequence in response to a trigger operation of controlling the first boundary adjustment control to move in a first direction, or in response to a trigger operation of controlling the second boundary adjustment control to move in a second direction, the first direction and the second direction being opposite directions.

[0190] In an optional embodiment, adjusting the display proportion of the target slider in the slider sequence in response to a trigger operation on the first boundary adjustment control or the second boundary adjustment control includes: reducing the display proportion of the target slider in the slider sequence in response to a trigger operation of controlling the first boundary adjustment control to move in the second direction, or in response to a trigger operation of controlling the second boundary adjustment control to move in the first direction.

[0191] In an optional embodiment, the method also includes: when the target slider is in a selected state, displaying a first model identifier corresponding to the first target virtual model in the model selection control; in response to a trigger operation on the first model identifier, displaying a model selection list; in response to a selection operation on a second model identifier in the model selection list, switching the first target virtual model in the virtual scene to a second target virtual model corresponding to the second model identifier.

[0192] In an optional embodiment, the method also includes: when the target slider is in a selected state, in response to a trigger operation on a second adjustment control, displaying an adjustment interface corresponding to the first target virtual model; in response to a trigger operation on at least one sub-adjustment control in the adjustment interface, adjusting the placement angle and / or display size of the first target virtual model in the virtual scene.

[0193] In an optional embodiment, at least part of the sub-adjustment controls include: an adjustment rod and a first adjustment slider located on the adjustment rod; in response to a triggering operation of at least one sub-adjustment control in the adjustment interface, adjusting the placement angle and / or display size of the first target virtual model in the virtual scene includes:

[0194] In response to a first sliding operation of the first adjustment slider on the adjustment rod, the placement angle and / or display size of the first target virtual model in the virtual scene is adjusted according to a first target adjustment value corresponding to the first sliding operation.

[0195] In an optional embodiment, at least part of the sub-adjustment controls further include: a mode control, the mode control being used to set the adjustment mode to a random mode or a manual mode;

[0196] In response to a first sliding operation of the first adjustment slider on the adjustment rod, before adjusting the placement angle and / or display size of the first target virtual model in the virtual scene according to a first target adjustment value corresponding to the first sliding operation, it includes: in response to a first trigger operation of a mode control corresponding to a target sub-adjustment control in at least one of the sub-adjustment controls, setting the adjustment mode to manual mode.

[0197] In an optional embodiment, in response to a trigger operation on at least one sub-adjustment control in the adjustment interface, adjusting the placement angle and / or display size of the first target virtual model in the virtual scene includes: in response to a second trigger operation on the mode control in the target sub-adjustment control, setting the adjustment mode to a random mode, and adding and displaying a second adjustment slider on the target adjustment bar corresponding to the target sub-adjustment control; determining a starting adjustment value in response to a second sliding operation of the first adjustment slider on the target adjustment bar; determining an ending adjustment value in response to a third sliding operation of the second adjustment slider on the target adjustment bar; determining a second target adjustment value between the starting adjustment value and the ending adjustment value, and adjusting the placement angle and / or display size of the first target virtual model in the virtual scene according to the second target adjustment value.

[0198] In an optional embodiment, the graphical user interface also includes: a curve editing control, which responds to a trigger operation of adjusting the arrangement order of the target slider in the slider sequence, and before determining the arrangement position of the target slider in the slider sequence, further includes: responding to a trigger operation of controlling the curve editing control in the virtual scene, displaying the corresponding model layout curve in the virtual scene; and displaying the first adjustment control in response to a trigger operation on the model layout curve.

[0199] In an optional implementation, the method further includes: counting the number of the first sliders in the first adjustment control; and if it is determined that the number is less than a preset number threshold, displaying a new control around the first adjustment control.

[0200] In an optional embodiment, the method further includes: in response to a trigger operation for adjusting the arrangement order of the target slider in the slider sequence, before determining the arrangement position of the target slider in the slider sequence, the method further includes: in response to a trigger operation for the newly added control, displaying the first target virtual model at a placeable position in the virtual scene along the model layout curve; determining the initial arrangement position of the target slider in the slider sequence according to the initial placement positions of the first target virtual model and each first virtual model in the virtual scene, and displaying the target slider at the initial arrangement position.

[0201] The specific implementation method and technical effects of the above method embodiment are similar to those mentioned above and will not be repeated here.

[0202] Optionally, the present application further provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the following method embodiment are executed:

[0203] In response to a trigger operation of adjusting the arrangement order of the target slider in the slider sequence, determining the arrangement position of the target slider in the slider sequence; and adjusting the placement position of the first target virtual model in the virtual scene relative to each of the first virtual models according to the arrangement position of the target slider in the slider sequence.

[0204] In an optional embodiment, the method further includes: in response to a selection operation on the target slider, displaying a boundary adjustment control on at least one side of the target slider; in response to a triggering operation on the boundary adjustment control, adjusting the display ratio of the target slider in the slider sequence and the distribution area of ​​the first target virtual model in the virtual scene.

[0205] In an optional embodiment, in response to the selection operation of the target slider, displaying a boundary adjustment control on at least one side of the target slider includes: in response to the selection operation of the target slider, displaying a first boundary adjustment control and a second boundary adjustment control on both sides of the target slider respectively;

[0206] The step of adjusting the display ratio of the target slider in the slider sequence and the distribution area of ​​the first target virtual model in the virtual scene in response to the triggering operation of the boundary adjustment control includes: adjusting the display ratio of the target slider in the slider sequence in response to the triggering operation of the first boundary adjustment control or the second boundary adjustment control; and adjusting the distribution area of ​​the first target virtual model in the virtual scene according to the new display ratio of the target slider in the slider sequence.

[0207] In an optional embodiment, adjusting the display proportion of the target slider in the slider sequence in response to a trigger operation on the first boundary adjustment control or the second boundary adjustment control includes: increasing the display proportion of the target slider in the slider sequence in response to a trigger operation of controlling the first boundary adjustment control to move in a first direction, or in response to a trigger operation of controlling the second boundary adjustment control to move in a second direction, the first direction and the second direction being opposite directions.

[0208] In an optional implementation, in response to the triggering operation of the first boundary adjustment control or the second boundary adjustment control, adjusting the display proportion of the target slider in the slider sequence includes:

[0209] In response to a trigger operation of controlling the first boundary adjustment control to move toward a second direction, or in response to a trigger operation of controlling the second boundary adjustment control to move toward a first direction, a display proportion of the target slider in the slider sequence is reduced.

[0210] In an optional embodiment, the method also includes: when the target slider is in a selected state, displaying a first model identifier corresponding to the first target virtual model in the model selection control; in response to a trigger operation on the first model identifier, displaying a model selection list; in response to a selection operation on a second model identifier in the model selection list, switching the first target virtual model in the virtual scene to a second target virtual model corresponding to the second model identifier.

[0211] In an optional embodiment, the method also includes: when the target slider is in a selected state, in response to a trigger operation on a second adjustment control, displaying an adjustment interface corresponding to the first target virtual model; in response to a trigger operation on at least one sub-adjustment control in the adjustment interface, adjusting the placement angle and / or display size of the first target virtual model in the virtual scene.

[0212] In an optional embodiment, at least part of the sub-adjustment controls include: an adjustment rod and a first adjustment slider located on the adjustment rod; in response to a triggering operation of at least one sub-adjustment control in the adjustment interface, adjusting the placement angle and / or display size of the first target virtual model in the virtual scene includes:

[0213] In response to a first sliding operation of the first adjustment slider on the adjustment rod, the placement angle and / or display size of the first target virtual model in the virtual scene is adjusted according to a first target adjustment value corresponding to the first sliding operation.

[0214] In an optional embodiment, at least part of the sub-adjustment controls further include: a mode control, the mode control being used to set the adjustment mode to a random mode or a manual mode;

[0215] In response to a first sliding operation of the first adjustment slider on the adjustment rod, before adjusting the placement angle and / or display size of the first target virtual model in the virtual scene according to a first target adjustment value corresponding to the first sliding operation, it includes: in response to a first trigger operation of a mode control corresponding to a target sub-adjustment control in at least one of the sub-adjustment controls, setting the adjustment mode to manual mode.

[0216] In an optional embodiment, in response to a trigger operation on at least one sub-adjustment control in the adjustment interface, adjusting the placement angle and / or display size of the first target virtual model in the virtual scene includes: in response to a second trigger operation on the mode control in the target sub-adjustment control, setting the adjustment mode to a random mode, and adding and displaying a second adjustment slider on the target adjustment bar corresponding to the target sub-adjustment control; determining a starting adjustment value in response to a second sliding operation of the first adjustment slider on the target adjustment bar; determining an ending adjustment value in response to a third sliding operation of the second adjustment slider on the target adjustment bar; determining a second target adjustment value between the starting adjustment value and the ending adjustment value, and adjusting the placement angle and / or display size of the first target virtual model in the virtual scene according to the second target adjustment value.

[0217] In an optional embodiment, the graphical user interface also includes: a curve editing control, which responds to a trigger operation of adjusting the arrangement order of the target slider in the slider sequence, and before determining the arrangement position of the target slider in the slider sequence, further includes: responding to a trigger operation of controlling the curve editing control in the virtual scene, displaying the corresponding model layout curve in the virtual scene; and displaying the first adjustment control in response to a trigger operation on the model layout curve.

[0218] In an optional implementation, the method further includes: counting the number of the first sliders in the first adjustment control; and if it is determined that the number is less than a preset number threshold, displaying a new control around the first adjustment control.

[0219] In an optional embodiment, the method further includes: in response to a trigger operation for adjusting the arrangement order of the target slider in the slider sequence, before determining the arrangement position of the target slider in the slider sequence, the method further includes: in response to a trigger operation for the newly added control, displaying the first target virtual model at a placeable position in the virtual scene along the model layout curve; determining the initial arrangement position of the target slider in the slider sequence according to the initial placement positions of the first target virtual model and each first virtual model in the virtual scene, and displaying the target slider at the initial arrangement position.

[0220] The specific implementation method and technical effects of the above method embodiment are similar to those mentioned above and will not be repeated here.

[0221] Optionally, the present application also provides a computer program product, which includes instructions, and when the instructions are executed on an electronic device, the electronic device implements the steps of the above method embodiment.

[0222] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0223] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0224] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0225] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the methods of each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.

[0226] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0227] The above are only preferred embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application. It should be noted that similar numbers and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. The above are only preferred embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A method for editing a virtual scene, characterized in that: A graphical user interface is provided through a terminal device, the graphical user interface including a first target virtual model in a virtual scene, at least one first virtual model, and a first adjustment control, the first adjustment control including a slider sequence, the slider sequence including: a target slider corresponding to the first target virtual model, and first sliders corresponding to each first virtual model, the method including: In response to a trigger operation of adjusting the arrangement order of the target slider in the slider sequence, determining an arrangement position of the target slider in the slider sequence; According to the arrangement position of the target slider in the slider sequence, the placement position of the first target virtual model relative to each of the first virtual models in the virtual scene is adjusted.

2. The method according to claim 1, characterized in that The method further comprises: In response to a selection operation on the target slider, displaying a boundary adjustment control on at least one side of the target slider; In response to the triggering operation of the boundary adjustment control, the display proportion of the target slider in the slider sequence and the distribution area of ​​the first target virtual model in the virtual scene are adjusted.

3. The method according to claim 2, characterized in that In response to the selection operation of the target slider, displaying a boundary adjustment control on at least one side of the target slider comprises: In response to a selection operation on the target slider, displaying a first boundary adjustment control and a second boundary adjustment control on both sides of the target slider respectively; In response to the triggering operation of the boundary adjustment control, adjusting the display proportion of the target slider in the slider sequence and the distribution area of ​​the first target virtual model in the virtual scene includes: In response to a triggering operation on the first boundary adjustment control or the second boundary adjustment control, adjusting a display proportion of the target slider in the slider sequence; According to the new display proportion of the target slider in the slider sequence, the distribution area of ​​the first target virtual model in the virtual scene is adjusted.

4. The method according to claim 3, characterized in that The adjusting the display proportion of the target slider in the slider sequence in response to the triggering operation of the first boundary adjustment control or the second boundary adjustment control includes: In response to a trigger operation of controlling the first boundary adjustment control to move in a first direction, or in response to a trigger operation of controlling the second boundary adjustment control to move in a second direction, the display proportion of the target slider in the slider sequence is increased, and the first direction and the second direction are opposite directions.

5. The method according to claim 4, characterized in that The adjusting the display proportion of the target slider in the slider sequence in response to the triggering operation of the first boundary adjustment control or the second boundary adjustment control includes: In response to a trigger operation of controlling the first boundary adjustment control to move toward a second direction, or in response to a trigger operation of controlling the second boundary adjustment control to move toward a first direction, a display proportion of the target slider in the slider sequence is reduced.

6. The method according to claim 1, characterized in that The method further comprises: When the target slider is in a selected state, displaying a first model identifier corresponding to the first target virtual model in the model selection control; In response to a triggering operation on the first model identifier, displaying a model selection list; In response to a selection operation on a second model identifier in the model selection list, the first target virtual model in the virtual scene is switched and displayed as a second target virtual model corresponding to the second model identifier.

7. The method according to claim 1, characterized in that The method further comprises: When the target slider is in a selected state, in response to a triggering operation on a second adjustment control, an adjustment interface corresponding to the first target virtual model is displayed; In response to a triggering operation on at least one sub-adjustment control in the adjustment interface, the placement angle and / or display size of the first target virtual model in the virtual scene is adjusted.

8. The method according to claim 7, characterized in that At least part of the sub-adjustment controls include: an adjustment rod and a first adjustment slider located on the adjustment rod; The adjusting, in response to a triggering operation on at least one sub-adjustment control in the adjustment interface, a placement angle and / or a display size of the first target virtual model in the virtual scene includes: In response to a first sliding operation of the first adjustment slider on the adjustment rod, the placement angle and / or display size of the first target virtual model in the virtual scene is adjusted according to a first target adjustment value corresponding to the first sliding operation.

9. The method according to claim 8, characterized in that At least some of the sub-adjustment controls further include: a mode control, the mode control being used to set the adjustment mode to a random mode or a manual mode; In response to a first sliding operation of the first adjusting slider on the adjusting rod, before adjusting the placement angle and / or display size of the first target virtual model in the virtual scene according to a first target adjustment value corresponding to the first sliding operation, the method includes: In response to a first triggering operation on a mode control corresponding to a target sub-adjustment control in at least one of the sub-adjustment controls, the adjustment mode is set to a manual mode.

10. The method according to claim 9, characterized in that The adjusting, in response to a triggering operation on at least one sub-adjustment control in the adjustment interface, a placement angle and / or a display size of the first target virtual model in the virtual scene includes: In response to a second trigger operation on the mode control in the target sub-adjustment control, setting the adjustment mode to the random mode, and adding and displaying a second adjustment slider on the target adjustment bar corresponding to the target sub-adjustment control; In response to a second sliding operation of the first adjustment slider on the target adjustment rod, determining a starting adjustment value; In response to a third sliding operation of the second adjustment slider on the target adjustment rod, determining a termination adjustment value; A second target adjustment value between the start adjustment value and the end adjustment value is determined, and a placement angle and / or display size of the first target virtual model in the virtual scene is adjusted according to the second target adjustment value.

11. The method according to any one of claims 1 to 10, characterized in that: The graphical user interface further includes: a curve editing control, and in response to the triggering operation of adjusting the arrangement order of the target slider in the slider sequence, before determining the arrangement position of the target slider in the slider sequence, further includes: In response to a triggering operation of controlling the curve editing control in the virtual scene, displaying a corresponding model layout curve in the virtual scene; In response to a triggering operation on the model layout curve, the first adjustment control is displayed.

12. The method according to claim 11, characterized in that The method further comprises: Counting the number of the first sliders in the first adjustment control; If it is determined that the number is less than a preset number threshold, a new control is displayed around the first adjustment control.

13. The method according to claim 12, characterized in that In response to the triggering operation of adjusting the arrangement order of the target slider in the slider sequence, before determining the arrangement position of the target slider in the slider sequence, the method further includes: In response to a triggering operation on the newly added control, displaying the first target virtual model at a placeable position in the virtual scene along the model layout curve; According to the initial placement positions of the first target virtual model and each first virtual model in the virtual scene, the initial arrangement position of the target slider in the slider sequence is determined, and the target slider is displayed at the initial arrangement position.

14. A virtual scene editing device, characterized in that: A graphical user interface is provided through a terminal device, wherein the graphical user interface includes a first target virtual model in a virtual scene, at least one first virtual model, and a first adjustment control, wherein the first adjustment control includes a slider sequence, wherein the slider sequence includes: a target slider corresponding to the first target virtual model, and first sliders corresponding to each first virtual model, including: a response module, configured to determine an arrangement position of the target slider in the slider sequence in response to a trigger operation of adjusting an arrangement order of the target slider in the slider sequence; The adjustment module is used to adjust the placement position of the first target virtual model relative to each of the first virtual models in the virtual scene according to the arrangement position of the target slider in the slider sequence.

15. An electronic device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the virtual scene editing method as described in any one of claims 1-13.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the virtual scene editing method according to any one of claims 1 to 13 are executed.

Citation Information

Patent Citations

  • Game operation control method and device and electronic equipment

    CN116301540A

  • Virtual article transfer method and device, electronic equipment and storage medium

    CN117547807A

  • Virtual model placement method and device, electronic equipment and readable storage medium

    CN117959704A

  • Method for controlling game display, non-transitory computer-readable storage medium and electronic device

    US20230405452A1