Editing method and device of virtual scene, storage medium and electronic equipment

CN122874888APending Publication Date: 2026-10-09NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611184577.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-05
Publication Date
2026-10-09

AI Technical Summary

Technical Problem

但是,现有的虚拟场景的编辑方法使得用户必须采用反复视野切换、镜头缩放等方式不断调整待放置对象的摆放位置,使得虚拟场景的编辑流程繁琐、效率低

Benefits of technology

上述虚拟场景的编辑方法,通过在第一界面窗口中显示待调整对象;在图形用户界面中显示第二界面窗口,第二界面窗口中至少包含第二视角下的目标参照对象,目标参照对象是属于候选参照对象中的参照对象;响应于针对待调整对象的位姿调整操作,确定调整后的待调整对象的第一位姿参数;根据待调整对象的第一位姿参数与目标参照对象的第二位姿参数的比对结果,通过第二界面窗口呈现针对待调整对象的摆放提示信息。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122874888A_ABST
    Figure CN122874888A_ABST
Patent Text Reader

Abstract

The present disclosure provides a virtual scene editing method and device, a computer storage medium and an electronic device, and relates to the technical field of games. The method comprises: displaying a to-be-adjusted object in a first interface window; displaying a second interface window in a graphical user interface, the second interface window comprising at least a target reference object under a second perspective, the target reference object being a reference object from among candidate reference objects; in response to a pose adjustment operation on the to-be-adjusted object, determining a first pose parameter of the adjusted to-be-adjusted object; and presenting, through the second interface window, placement prompt information for the to-be-adjusted object according to a comparison result of the first pose parameter of the to-be-adjusted object and a second pose parameter of the target reference object. The present disclosure can simplify the scene editing process and improve the editing efficiency of the virtual scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of game technology, and more particularly to a method for editing virtual scenes, a device for editing virtual scenes, a computer storage medium, and an electronic device. Background Technology

[0002] In current mainstream virtual scene editors, users can design and edit the scene content of each level in a game. During the editing process, users typically use existing models in the scene as references to accurately position and place the model to be placed. However, existing virtual scene editing methods require users to repeatedly switch viewpoints and zoom the camera to adjust the placement of objects, making the virtual scene editing process cumbersome and inefficient. Summary of the Invention

[0003] This disclosure provides a method for editing virtual scenes, a device for editing virtual scenes, a computer storage medium, and an electronic device, thereby simplifying the editing process of virtual scenes. Users can accurately locate and place the model to be placed without having to repeatedly switch viewpoints, zoom in and out of the camera, and adjust the position of the model to be placed, thus improving the editing efficiency of virtual scenes.

[0004] In a first aspect, one embodiment of this disclosure provides a method for editing a virtual scene. A graphical user interface (GUI) is provided through a terminal device. The GUI includes a first interface window containing at least a portion of the scene to be edited from a first perspective. The scene to be edited includes at least one candidate reference object. The method includes: displaying an object to be adjusted in the first interface window; displaying a second interface window in the GUI, the second interface window containing at least a target reference object from a second perspective, the target reference object being a reference object among the candidate reference objects; determining a first pose parameter of the adjusted object in response to a pose adjustment operation on the object to be adjusted; and presenting placement prompts for the object to be adjusted through the second interface window based on a comparison result between the first pose parameter of the object to be adjusted and the second pose parameter of the target reference object.

[0005] Secondly, one embodiment of this disclosure provides a virtual scene editing device, which provides a graphical user interface through a terminal device. The graphical user interface includes a first interface window, which includes at least a portion of the scene to be edited from a first perspective. The scene to be edited includes at least one candidate reference object. The device includes: an object display module for displaying an object to be adjusted in the first interface window; an interface display module for displaying a second interface window in the graphical user interface, which includes at least a target reference object from a second perspective, the target reference object being a reference object among the candidate reference objects; a pose adjustment module for determining a first pose parameter of the adjusted object in response to a pose adjustment operation on the object to be adjusted; and a prompt information display module for presenting placement prompt information for the object to be adjusted through the second interface window based on a comparison result between the first pose parameter of the object to be adjusted and the second pose parameter of the target reference object.

[0006] Thirdly, one embodiment of this disclosure provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-described method for editing a virtual scene.

[0007] Fourthly, one embodiment of this disclosure provides an electronic device, including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the above-described virtual scene editing method by executing the executable instructions.

[0008] Fifthly, one embodiment of this disclosure provides a computer program product, including a computer program that is executed by a processor to implement the above-described method for editing a virtual scene.

[0009] The technical solution disclosed herein has the following beneficial effects: The above-described virtual scene editing method involves: displaying the object to be adjusted in a first interface window; displaying a second interface window in a graphical user interface, the second interface window containing at least a target reference object from a second perspective, the target reference object being a reference object among candidate reference objects; determining the first pose parameter of the adjusted object in response to a pose adjustment operation on the object to be adjusted; and presenting placement prompts for the object to be adjusted through the second interface window based on the comparison result between the first pose parameter of the object to be adjusted and the second pose parameter of the target reference object.

[0010] On the one hand, while the user adjusts the object to be placed in real time in the first interface window, the target reference object from a second perspective can be simultaneously displayed in the second interface window as a placement reference. This allows the user to refer to the target reference object in real time without being limited by the field of view displayed in the first interface window. This solves the technical problems of low scene editing efficiency and reliance on short-term memory caused by the need for users to repeatedly switch perspectives in existing technologies. It significantly reduces user operation interruptions and memory burden, thereby improving scene editing efficiency. On the other hand, this method can also provide visual feedback to the user by displaying placement prompts for the object to be placed in real time in the second interface window during the user's adjustment process. This significantly improves the accuracy and efficiency of object placement and alignment, making the user's creative process more coherent and intuitive.

[0011] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0012] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure. It is obvious that the drawings described below are merely some embodiments of this disclosure, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.

[0013] Figure 1A A schematic diagram of an implementation environment provided by one exemplary embodiment of this disclosure is shown; Figure 1B A schematic diagram of an implementation environment provided by another exemplary embodiment of this disclosure is shown; Figure 2 An architecture diagram of a virtual scene editing system according to this exemplary embodiment is shown; Figure 3 A flowchart illustrating a method for editing a virtual scene in this exemplary embodiment is shown; Figure 4 A schematic diagram of a first interface window and a second interface window in this exemplary embodiment is shown. Figure 5 A schematic diagram of a pattern editing interface in this exemplary embodiment is shown; Figure 6 A schematic diagram showing the object identifier corresponding to a candidate reference object in this exemplary embodiment is shown; Figure 7 This illustration shows a visual indicator for matching a candidate reference object in this exemplary embodiment. Figure 8 This diagram illustrates a method for displaying placement prompts in this exemplary embodiment. Figure 9 This schematic diagram illustrates the structure of a virtual scene editing device in this exemplary embodiment. Figure 10 The schematic diagram illustrates the structure of an electronic device in this exemplary embodiment. Detailed Implementation

[0014] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this disclosure more comprehensive and complete, and to fully convey the concept of exemplary embodiments to those skilled in the art. The described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a full understanding of embodiments of this disclosure. However, those skilled in the art will recognize that the technical solutions of this disclosure can be practiced with one or more specific details omitted, or other methods, components, apparatus, steps, etc., can be employed. In other instances, well-known technical solutions are not shown or described in detail to avoid obscuring various aspects of this disclosure.

[0015] Furthermore, the accompanying drawings are merely illustrative of this disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0016] The flowchart shown in the attached diagram is merely an illustrative example and does not necessarily include all steps. For example, some steps may be broken down, while others may be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.

[0017] In current mainstream scene editors, such as User Generated Content (UGC) map editors, creators can design scene content for each level of a game. During scene editing, creators typically use existing models in the scene as references to accurately locate and place the model to be placed. However, when an existing reference model is outside the creator's current editing field of view, the creator cannot directly obtain the position of the existing model and use it as a reference.

[0018] For example, combining Figure 1A The image shows the editing interface of a virtual scene editor. This interface contains a scene presented in a first-person perspective, specifically an external corridor scene outside a room. Near the room's door, a placed model is located within this corridor scene. (Continue to refer to...) Figure 1B The image shows another editing interface of the virtual scene editor. This interface includes a scene presented from a second-person perspective, which is an interior scene of a room. In the application scenario described above, when the creator needs to use an existing model outside the room as a reference model to position and place the model to be placed inside the room (e.g., align it), the scene presented from both perspectives is obscured by the room walls, making it impossible for the creator to maintain... Figure 1B While displaying the view of the room's interior scene, the reference model already placed outside the room (corresponding to) is directly acquired. Figure 1B The position of the dashed model shown in the figure.

[0019] In relevant technical solutions, if a creator needs to use a placed model that is not within the same field of view as a reference model, they must use camera zoom and perspective shifting to achieve this. Figure 1A The viewpoint shown and Figure 1B Repeatedly operate between the shown viewpoints to switch to Figure 1A View from the perspective shown Figure 1A After the position of the reference model shown, switch to it based on memory. Figure 1B From the perspective shown, the model to be placed is then arranged according to memory, and continuous adjustments are required after placement.

[0020] However, the above-mentioned methods of editing virtual scenes not only disrupt the continuity of the creator's scene creation process, which is time-consuming and labor-intensive, making the creation process cumbersome and affecting the efficiency of editing virtual scenes, but also rely more on the creator's spatial imagination and short-term memory, and are also prone to positional deviations, affecting the accuracy of model placement.

[0021] This exemplary embodiment addresses the aforementioned problems and proposes a method for editing virtual scenes. This method can be applied to any application scenario involving virtual scene editing. On one hand, in scene editing assistance mode, when a user adjusts an object to be placed in real-time in the first interface window, they can use the object to be adjusted from the first perspective and the target reference object from the second perspective, both simultaneously displayed in the second interface window, as placement references. This allows the user to refer to the target reference object in real-time without being limited by the field of view of the first interface window. This solves the technical problems of low scene editing efficiency and reliance on short-term memory caused by repeated perspective switching in existing technologies, significantly reducing user operation interruptions and memory burden, and improving scene editing efficiency. On the other hand, this method also provides visual feedback through real-time placement prompts for the objects to be adjusted presented in the second interface window, thereby significantly improving the accuracy and efficiency of object placement and alignment, making the user's creative process more coherent and intuitive.

[0022] Figure 2 The illustration shows an implementation environment diagram provided by one exemplary embodiment of the present disclosure. Next, the virtual scene editing method and apparatus proposed in this disclosure will be applied to... Figure 2 The exemplary implementation environment shown is illustrated.

[0023] For example, such as Figure 2 As shown, the system architecture 200 may include terminal device 201 and server 202.

[0024] The terminal device 201 (hereinafter referred to as the terminal) can be a smartphone, tablet, laptop, touch screen, game console, personal computer (PC), personal digital assistant (PDA), or other terminal device. The terminal device 201 may also include a client, which can be a game application client, a browser client with scene editing programs, or an instant messaging client. The server 202 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.

[0025] The virtual scene editing method and apparatus provided in the embodiments of this disclosure can be executed by a computer device, wherein the computer device can be, for example, Figure 2The system architecture 200 shown includes devices such as terminal device 201 or server 202. For example, when the virtual scene editing method and apparatus run on terminal device 201, terminal device 201 stores a virtual scene editing application and is used to present the virtual scene to be edited. Terminal device 201 is used to interact with users / players through a graphical user interface, for example, by downloading, installing, and running the virtual scene editing application through terminal device 201. The way terminal device 201 provides the graphical user interface to the user can include various methods, such as rendering it on the terminal device's display screen or presenting the graphical user interface through holographic projection. For example, the terminal device may include a touch screen and a processor. The touch screen is used to present the graphical user interface and receive operation commands generated by the user acting on the graphical user interface. The graphical user interface includes game screens. The processor is used to run the game, generate the graphical user interface, respond to operation commands, and control the display of the graphical user interface on the touch screen.

[0026] In this system, the terminal device 201 held by the player / user can connect to the server 202 via network 203. Terminal device 201 can be any device with computing hardware capable of supporting and executing software products corresponding to scene editing (e.g., game scenes). Additionally, the terminal has one or more multi-touch screens for sensing and acquiring user input through touch or swipe operations performed at multiple points on one or more touch displays. Furthermore, when the system includes multiple terminals, multiple servers, and multiple networks, different terminals can connect to each other through different networks and different servers. Network 203 can be of various connection types, such as wired, wireless communication links, or fiber optic cables, for example, wireless networks include Wi-Fi, LAN, cellular networks, 2G networks, 3G networks, 4G networks, 5G networks, etc. Furthermore, different terminals can also connect to other terminals or to servers using their own Bluetooth networks or hotspot networks. For example, multiple users can connect online through different terminals via appropriate networks and synchronize with each other to support multiplayer games. In addition, the system can include multiple databases (not shown in the figure), which are coupled to different servers, and can continuously store information related to the game environment in the databases as different users edit multi-user scenes online.

[0027] This disclosure provides a method for editing a virtual scene, which can be executed by a terminal or a server. This disclosure describes a method for editing a virtual scene executed by a terminal as an example. The terminal includes a touchscreen display and a processor. The touchscreen display is used to present a graphical user interface (GUI) and receive operation commands generated by the user interacting with the GUI. When the user operates the GUI through the touchscreen display, the GUI can control local content on the terminal in response to the received operation commands, or it can control content on a peer server in response to the received operation commands. For example, the operation commands generated by the user interacting with the GUI may include commands to launch a scene editing application. The processor is configured to launch a scene editing application (e.g., a UGC editor) after receiving the user's command to launch the scene editing application. Furthermore, the processor is configured to render and draw a game-related GUI on the touchscreen display. The touchscreen display is a multi-touch sensitive screen capable of sensing touch or swipe operations performed simultaneously by multiple points on the screen. When the user performs touch operations on the GUI using their finger, the GUI, upon detecting the touch operation, controls different virtual objects within the GUI to perform actions corresponding to the touch operation. For example, the game can be any type of game, such as a casual game, action game, role-playing game, strategy game, sports game, or puzzle game. Furthermore, the graphical user interface can display one or more indicators to provide information to the user. The processor can be configured to respond to operation commands generated by the user's touch input to display the corresponding game screen.

[0028] It should be noted that, Figure 2 The scene diagram of the virtual scene editing system shown is merely an example. The virtual scene editing scenario described in this disclosure is for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and does not constitute a limitation on the technical solutions provided by the embodiments of this disclosure. As will be known to those skilled in the art, the technical solutions provided by the embodiments of this disclosure are also applicable to similar technical problems.

[0029] For example, in one exemplary embodiment, a graphical user interface (GUI) is provided by a terminal device 201. The GUI includes a first interface window containing at least a portion of the scene to be edited from a first perspective, and the scene to be edited includes at least one candidate reference object. Specifically, the object to be adjusted is displayed in the first interface window provided by the terminal device 201; then, a second interface window is displayed in the GUI provided by the terminal device 201, the second interface window containing at least a target reference object from a second perspective, the target reference object being a reference object among the candidate reference objects; in response to a pose adjustment operation on the object to be adjusted, the terminal device 201 determines the first pose parameter of the adjusted object; based on the comparison result between the first pose parameter of the object to be adjusted and the second pose parameter of the target reference object, placement prompts for the object to be adjusted are presented through the second interface window.

[0030] Furthermore, in one embodiment of this disclosure, the virtual scene editing method can run on a local terminal device or a server. When the virtual scene editing method runs 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 client devices.

[0031] In some alternative implementations, various cloud applications, such as cloud gaming, can run under the cloud interaction system. Taking cloud gaming as an example, cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operating mode, the game program and the game screen presentation are separated. The storage and execution of virtual scene editing methods are completed on the cloud gaming server. The client device is used for data reception, transmission, and game screen presentation. For example, the client device can be a display device with data transmission capabilities located close to the user, such as a mobile terminal, television, computer, or PDA; however, the information processing is performed by the cloud gaming server in the cloud. When playing the game, the player operates the client device to send operation commands to the cloud gaming server. The cloud gaming server runs the game according to the operation commands, encodes and compresses the game screen and other data, returns it to the client device via the network, and finally, the client device decodes and outputs the game screen.

[0032] In one alternative implementation, taking a game as an example, the local terminal device stores the game program and is used to display the game screen. The local terminal device is used to interact with the player through a graphical user interface (GUI), i.e., conventionally downloading, installing, and running the game program via an electronic device. The local terminal device can provide the GUI to the player in various ways, such as rendering it on the terminal's display screen or providing it to the player via holographic projection. For example, the local terminal device can include a display screen for displaying the GUI, which includes game screens, and a processor for running the game, generating the GUI, and controlling the display of the GUI on the display screen.

[0033] In one possible implementation, the present invention provides a method for editing a virtual scene, which provides a graphical user interface through a terminal device, wherein the terminal device may be the aforementioned local terminal device or a client device in the aforementioned cloud interaction system.

[0034] However, those skilled in the art will readily understand that the above application scenarios are merely examples and are not limited to these exemplary embodiments.

[0035] After understanding the system architecture of this disclosure, combined with Figure 3 The method for editing virtual scenes provided in this disclosure is described in detail.

[0036] Figure 3 The flowchart illustrating a virtual scene editing method in this exemplary embodiment is shown. This method can be applied to the aforementioned terminal device, specifically by providing a graphical user interface (GUI) containing a first interface window. The first interface window contains at least a portion of the scene to be edited from a first perspective, and the scene to be edited includes at least one candidate reference object in a placed state. See also... Figure 3 The virtual scene editing method provided in this embodiment includes the following steps S301-S303: Step S301: Display the object to be adjusted in the first interface window.

[0037] Step S302: Display a second interface window in the graphical user interface. The second interface window contains at least the target reference object from the second perspective. The target reference object is a reference object that belongs to the candidate reference objects.

[0038] Step S303: In response to the pose adjustment operation for the object to be adjusted, determine the first pose parameter of the object to be adjusted after adjustment.

[0039] Step S304: Based on the comparison result between the first pose parameter of the object to be adjusted and the second pose parameter of the target reference object, display placement prompts for the object to be adjusted through the second interface window.

[0040] exist Figure 3 The provided technical solution offers two key advantages. First, while the user adjusts the object to be placed in real-time within the first interface window, a target reference object from a second perspective can be simultaneously displayed in the second interface window as a placement reference. This allows the user to refer to the target reference object in real-time without being limited by the field of view of the first interface window. This solves the technical problems of low scene editing efficiency and reliance on short-term memory caused by the need for repeated switching of perspectives in existing technologies. It significantly reduces user operation interruptions and memory burden, thereby improving scene editing efficiency. Second, this method can also provide real-time placement prompts for the object to be placed through the second interface window during the user's adjustment process, providing visual feedback for the user's reference. This significantly improves the accuracy and efficiency of object placement and alignment, making the user's creative process more coherent and intuitive.

[0041] The following will describe in conjunction with specific embodiments Figure 3 The specific implementation methods of each step in the illustrated embodiment are described in detail below: In step S301, the object to be adjusted is displayed in the first interface window.

[0042] The first interface window is used to display the scene to be edited in the current view (i.e., first-person view). The object to be adjusted is a virtual object in which the user can virtually adjust its position, angle and other pose parameters in the first interface window at the current moment.

[0043] It should be noted that, within this first interface window, users can adjust the pose parameters of virtual objects that have already been placed in the scene to be edited. The object to be adjusted in this case is the virtual object already placed in the scene to be edited. Users can also place new virtual objects in the scene to be edited and adjust their pose parameters during the placement process. In this case, the object to be adjusted is the newly added virtual object in the scene to be edited.

[0044] Taking the newly added virtual object as an example, in an optional embodiment, the user can select a virtual object as the object to be adjusted from the item list provided in the graphical user interface. After selecting the object, it will be displayed in the scene to be edited shown in the first interface window. For example, combined with... Figure 1B The graphical user interface shown provides a "component bar" containing multiple virtual objects that the user can select, such as... Figure 1BThe icons "Cube - Deformable", "Ring - Deformable", "Frustum - Deformable", "Cone - Deformable", and "Sector - Deformable" shown allow users to select objects to place and add them to the scene being edited. For example, continue referring to... Figure 1B When a user selects "Cone - Deformable" as the object to be placed from the above multiple virtual objects, it will appear as follows in the scene to be edited: Figure 1B The objects to be placed are shown.

[0045] Optionally, to facilitate users in quickly distinguishing between the currently being manipulated object to be placed and the virtual object that has already been placed, the display status of the currently being manipulated object to be placed and the virtual object that has already been placed can be differentiated. For example, the outer contour of the currently being manipulated object to be placed can be highlighted, while the virtual object that has already been placed does not need to be highlighted. Of course, other methods can also be used to differentiate them, and the embodiments disclosed herein are not exhaustive or particularly limited.

[0046] In step S302, a second interface window is displayed in the graphical user interface. The second interface window contains at least the target reference object from the second perspective. The target reference object is a reference object that belongs to the candidate reference objects.

[0047] The target reference object is one or more virtual objects selected from the candidate reference objects already placed in the scene to be edited. These virtual objects serve as a reference for the user to adjust the pose of the object to be placed. For example, if the user needs to place the object to be placed in a position aligned with or symmetrical to the target reference object, the placement position and angle of the target reference object must be used as a reference. It is understood that the target reference object can be a virtual object visible in the first interface window, or it can be a virtual object not visible in the first interface window (e.g., ...). Figure 1B The scene shown.

[0048] For example, based on step S301 above, the process continues to display a second interface window in the graphical user interface. This second interface window differs from the first interface window. It provides auxiliary information to the user when they are editing the scene to place virtual objects. This second interface window includes at least a target reference object from a second viewpoint, allowing the user to adjust the object to be placed using the pose parameters of the target reference object displayed in the second interface window, thus avoiding the need for the user to adjust the object based on the pose parameters of the target reference object. Figure 1B The scene shown involves a tedious and repetitive editing process involving switching viewpoints and zooming the camera.

[0049] For example, when displaying a second interface window in a graphical user interface, for ease of comparison, the first interface window and the second interface window need to be displayed simultaneously in the graphical user interface. The following will illustrate one of the display methods with reference to specific embodiments.

[0050] In one optional embodiment of this disclosure, the step of displaying a second interface window in a graphical user interface includes: displaying the second interface window at a target location on the first interface window.

[0051] The target location includes at least one of the following: The distance between the object to be adjusted and the area to be placed is a preset distance; The candidate reference objects associated with the object to be adjusted are not obscured in the first interface window.

[0052] For example, the target location can be a position that does not obstruct the user's placement adjustment operation on the object to be adjusted, that is, it does not obstruct the candidate reference object associated with the object to be adjusted in the first interface window. In addition, in order to facilitate the user to refer to the effective information carried in the second interface window, the target location can also be a position at a suitable distance (neither too far nor too close, i.e., a preset distance) from the placement position of the object to be adjusted, so that the user can make a visual reference.

[0053] For example, refer to Figure 4 As shown, the first interface window 401 displays the scene content presented from the current editing perspective (i.e., first-person perspective). Users can perform adjustments to objects to be placed within the first interface window 401, and the adjusted objects are rendered in real time. A second interface window 402 is displayed at a location within the first interface window 401. The display position of the second interface window 402 neither obstructs nor affects the user's adjustments to the objects, and its distance from the placement position of the objects is appropriate, thus providing a convenient reference for the user's adjustments.

[0054] In addition to the above embodiments, this disclosure can also use other display methods to display the second interface window in the graphical user interface. For example, the graphical user interface can be divided into two parts, one part displays the first interface window and the other part displays the second interface window. The two parts can be divided horizontally or vertically. The embodiments of this disclosure do not impose any special limitations on this.

[0055] In some example embodiments of this disclosure, for ease of comparison, the second interface window may include not only the target reference object from the second perspective, but also the object to be placed from the first perspective.

[0056] For example, continue to refer to Figure 4As shown, the second interface window 402 contains the target reference model displayed in the right area of ​​the interface. Figure 4 The cone model placed vertically in the center can also include objects to be placed displayed in the left area of ​​the interface. Figure 4 A cone model placed horizontally in the middle.

[0057] In this embodiment, by displaying both the object to be placed in the first view and the target reference object in the second view in the second interface window, it is easier to make a more intuitive comparison of pose parameters and further enhance the visual feedback effect in the scene editing process.

[0058] Furthermore, in some example embodiments of this disclosure, when performing the above step S302, the step of displaying the second interface window in the graphical user interface may be performed in scene editing assistance mode; in non-scene editing assistance mode (e.g., which can be defined as normal editing mode), it is not necessary to perform the step of displaying the second interface window in the graphical user interface.

[0059] The scene editing assistance mode provides auxiliary labeling information for the placement of scene content (i.e., virtual objects placed in the scene) during scene editing. Correspondingly, the other mode is the normal editing mode, which does not provide auxiliary labeling information for the placement of scene content. In normal editing mode, users need to place objects manually based on their placement experience and visual observation.

[0060] For example, after entering the scene editing assistance mode, during the scene editing process in the first interface window of the user's first perspective, a second interface window can be displayed in the graphical user interface to synchronously display the target reference object in the second perspective through the second interface window.

[0061] In one alternative embodiment, the system can be set to a default state (e.g., the state when the user first enters the application) to present a certain mode of the scene editing system. For example, it can present a normal editing mode in the default state, or it can present a scene editing assistance mode in the default state. The specific mode can be pre-configured by the application developer, or the user can flexibly choose the mode according to their own needs.

[0062] The following will provide an exemplary description of a user's flexible selection of modes based on their own needs, using specific embodiments as examples.

[0063] In an optional embodiment of this disclosure, the method further includes: In response to receiving a mode setting command, the mode editing interface window is displayed in the graphical user interface; in response to a confirmation operation on the first control in the mode editing interface window, the system controls the entry into the scene editing auxiliary mode.

[0064] For example, when a terminal device receives a mode setting instruction, it can display a mode editing interface in the graphical user interface, so that the user can flexibly select a mode based on the mode editing instruction interface.

[0065] It should be understood that the mode setting instruction can be an instruction generated by the terminal device in response to a trigger operation on a control in the graphical user interface (corresponding to a touch trigger mode), or it can be an instruction generated by the terminal device in response to a preset non-touch mode. The preset non-touch mode can be, for example, a voice mode, a gesture recognition mode, a facial expression recognition mode, an eye tracking mode, etc. Of course, any other mode can also be used, and the embodiments of this disclosure do not impose any special limitations on this.

[0066] For example, the mode editing interface window displayed in the graphical user interface contains a first control, which can be used to control entry into the scene editing auxiliary mode.

[0067] Based on the above embodiments, the user can also choose to exit the scene editing assistance mode. In one optional embodiment of this disclosure, in scene editing assistance mode, the user exits the scene editing assistance mode in response to a confirmation operation on the second control in the mode editing interface window.

[0068] After entering the scene editing assistance mode based on the above embodiments, the user can also exit the scene editing assistance mode through the second control contained in the mode editing interface window displayed by the graphical user interface.

[0069] In embodiments of this disclosure, different types of scene editing assistance modes can also be configured. In an optional embodiment of this disclosure, the first control includes a first sub-control and a second sub-control. The first sub-control is configured to respond to a first trigger operation and control entry into a first type of scene editing assistance mode, and the second sub-control is configured to respond to a second trigger operation and control entry into a second type of scene editing assistance mode.

[0070] The differences between the first type of scene editing assistance mode and the second type of scene editing assistance mode triggered by the first sub-control and the second sub-control respectively may lie in the different selection methods of the object to be placed, the different methods of determining the target reference object, or other differences, etc. The embodiments disclosed herein do not impose any special limitations on this.

[0071] For example, the first type of scene editing assistance mode and the second type of scene editing assistance mode are distinguished by the different ways of determining the target reference object. The first control includes a first sub-control and a second sub-control. The first sub-control is configured to respond to the first trigger operation and control the entry into the first type of scene editing assistance mode; the second sub-control is configured to respond to the second trigger operation and control the entry into the second type of scene editing assistance mode.

[0072] Optionally, when determining the target reference object, the system can support intelligent automatic confirmation of the target reference object, or the system can support the user to manually select the target reference object from multiple candidate reference objects in the scene to be edited. In the application scenario of this embodiment, the first type of scene editing assistance mode can be configured as a scene editing assistance mode that supports intelligent automatic confirmation of the target reference object, and the corresponding second type of scene editing assistance mode can be configured as a scene editing assistance mode that supports manual confirmation of the target reference object.

[0073] For example, when a terminal device receives a mode setting command, it can display something like this in the graphical user interface: Figure 5 The shown image is the pattern editing interface window. (Refer to...) Figure 5 The mode editing interface window includes an automatic mode and a manual mode. The automatic mode corresponds to the first type of scene editing assistance mode in the above embodiment, and is specifically configured as a scene editing assistance mode that supports intelligent automatic confirmation of target reference objects. The manual mode corresponds to the second type of scene editing assistance mode in the above embodiment, and is specifically configured as a scene editing assistance mode that supports manual confirmation of target reference objects.

[0074] Reference Figure 5 When the terminal device responds to the first trigger operation for the first sub-control, it can update the "Auto Mode" in the mode editing interface window from an unselected state to a selected state (for example, refer to...). Figure 5 As shown, the circle component before "Auto Mode" updates from an empty, unselected state to a selected state with a checkmark, and in response to... Figure 5 After the "Publish" control shown in the diagram performs a trigger operation, the control enters the first type of scene editing assistance mode. Alternatively, when the user needs to manually select a target reference object, when the terminal device responds to a second trigger operation for the second sub-control, it can update the "Manual Mode" in the mode editing interface window from an unselected state to a selected state (for example, corresponding to...). Figure 5 The circle component before "Manual Mode" changes from an empty, unselected state to a selected state with a checkmark, and responds to... Figure 5 After the "Publish" control shown in the image performs the trigger operation, the control enters the second type of scene editing assistance mode.

[0075] pass Figure 5 The mode editing interface window shown may optionally include: functional controls for determining the display between the first-view window and the second-view window, such as those corresponding to... Figure 5 The "Overlay Auxiliary" control shown in the image, when Figure 5 If the "Overlay Auxiliary" control shown is in the on state, then the result is as follows: Figure 4 The second-view window shown is overlaid on the first-view window. Conversely, if... Figure 5 If the "Overlay Assist" control shown is turned off, then other default display methods are used between the first-view window and the second-view window, such as dividing the graphical user interface into two parts, one part displaying the first interface window and the other part displaying the second interface window.

[0076] It should also be noted that, Figure 5 The mode editing interface window shown also includes a "default off" control (i.e., the second control shown in the above embodiment). When the terminal device responds to the selection operation of the "default off" control, it can control the exit of the scene editing auxiliary mode.

[0077] The following will provide an exemplary description of embodiments for determining the target reference object, in conjunction with several specific examples shown below.

[0078] Example A: Intelligent automatic identification of target reference objects.

[0079] In one optional embodiment of this disclosure, the target reference object is determined from the candidate reference objects based on a preset algorithm.

[0080] In this embodiment A, the target reference object can be automatically determined from one or more candidate reference objects that are already placed in the scene to be edited, based on a preset intelligent algorithm.

[0081] The above-mentioned intelligent algorithm will be described in detail below with reference to specific embodiments.

[0082] In one optional embodiment of this disclosure, the step of determining the target reference object from candidate reference objects based on a preset algorithm includes at least one of the following: Set the previously placed object in the scene to be edited as the target reference object; Candidate reference objects belonging to the same object category as the object to be adjusted are identified as target reference objects; Candidate reference objects that have a preset association with the object to be adjusted are identified as target reference objects.

[0083] For example, the aforementioned preset intelligent algorithm could automatically track the previously placed object and use it as the target reference object for the object to be placed now. For instance, if a user just placed a "cone" object (i.e., the previously placed object) at a previous moment, when adjusting the object to be placed at the current moment, the user can directly use the "cone" object that was just placed at the previous moment as the target reference object.

[0084] For example, the aforementioned preset intelligent algorithm can also identify candidate reference objects belonging to the same object category as the object to be placed as the target reference object. For example, reference... Figure 4 As shown, when the user selects a "cone" as the object to be adjusted, all "cones" in the candidate reference objects will be used as the target reference objects when placing the object.

[0085] For example, the aforementioned preset algorithm can also determine candidate reference objects that have a preset association with the object to be adjusted as the target reference object. For example, the preset association can be a trigger-action relationship, such as "switch A" controlling "door B" to open or close. In this case, when targeting one of the virtual objects that have the preset association, the other virtual object can be selected as the target reference object.

[0086] Through the above embodiments, users can automatically select a target reference object that matches the currently edited object during the scene editing process, thereby improving the portability of user operations and the efficiency of scene editing.

[0087] Example B: Manually selecting the target reference object.

[0088] In one optional embodiment of this disclosure, the object identifiers of each candidate reference object in the scene to be edited are displayed on the graphical user interface, or the object identifiers of candidate reference objects that meet preset conditions in the scene to be edited are displayed on the graphical user interface, so that in response to a trigger operation on the object identifier to be adjusted, the reference object corresponding to the object identifier to be adjusted is determined as the target reference object.

[0089] Among them, the object identifier to be adjusted is any one or more identifiers belonging to the corresponding object identifiers of the candidate reference object.

[0090] For example, the system can display the object identifiers of each candidate reference object in the scene to be edited in the graphical user interface, or display the object identifiers of candidate reference objects in the scene to be edited that meet preset conditions in the graphical user interface, so that the player can select the reference object corresponding to the object identifier to be adjusted from the provided object identifiers as the target reference object.

[0091] In this embodiment, the object identifiers of all candidate reference objects in the scene to be edited can be displayed in the graphical user interface, or only the object identifiers of candidate reference objects that meet preset conditions can be displayed in the graphical user interface for the user to select the target reference object. For example, the preset conditions can be a preset scene range, so as to... Figure 1B Taking the application scenario shown as an example, when a user edits the scene of the virtual room, all candidate reference objects within a distance range determined by the virtual room can be displayed as reference objects in the graphical user interface.

[0092] To improve relevance, the second interface window can display the object identifiers of each candidate reference object in the scene to be edited, or display the object identifiers of candidate reference objects in the scene to be edited that meet preset conditions.

[0093] For ease of understanding, please refer to Figure 6 As shown, the second interface window displays area 601 containing the object identifiers of each candidate reference object in the scene to be edited or the object identifiers of candidate reference objects that meet preset conditions. Users can manually select the target reference object from the object identifiers of each candidate reference object displayed in area 601.

[0094] Through the above embodiments, users can flexibly select target reference objects according to their own needs during the scene editing process, thereby improving accuracy.

[0095] Based on the above embodiments, since the object identifiers of each candidate reference object in the scene to be edited, or the object identifiers of candidate reference objects that meet preset conditions, are displayed in the second interface window, they can be either within the current user's editing field of view and thus visually visible, or they can be outside the current user's editing field of view and thus visually invisible. To facilitate users in intuitively viewing whether each object identifier is visually visible or visually invisible, this can be implemented based on the following embodiments: In one optional embodiment of this disclosure, in the second type of scene editing assistance mode, a visual indicator matching the candidate reference object is displayed at the associated position of the object identifier corresponding to each candidate reference object.

[0096] The visual indicator includes visually visible indicators and visually invisible indicators. Visually visible indicators are used to indicate that the candidate reference object is visible from a first viewpoint, while visually invisible indicators are used to indicate that the candidate reference object is not visible from a first viewpoint. It should be noted that the invisibility shown in the above embodiments can be completely invisible or partially invisible, where partial invisibility can be, for example, a portion being exposed.

[0097] Optionally, visibility of a candidate reference object can be determined by statistically analyzing the volume and area of ​​the exposed region. For example, if the percentage of the volume and area of ​​a candidate reference object exposed in the first view exceeds 30% (this can be flexibly configured), then the candidate reference object is considered visible in the first view; if the percentage of the volume and area of ​​the exposed region is less than 30% (this can be flexibly configured), then the candidate reference object is considered invisible in the first view.

[0098] Alternatively, the determination can be made by checking whether the collision ray emitted from a specific location (such as the location of a virtual camera) is obstructed. Taking the location of a virtual camera as an example, a virtual collision ray is emitted from the virtual camera's position towards the object to be detected. This ray is equivalent to the line of sight from the eye to the object in reality. If the line of sight is blocked by other objects, the object to be detected is invisible; otherwise, if it is not obstructed, the object to be detected is visible.

[0099] Among them, the associated position is a position that makes it easy to show the relationship between the two. For example, the associated position can be the upper left / lower right corner, the upper / lower right corner, the top, the bottom, etc. of the candidate reference object.

[0100] Reference Figure 7 As shown above, in the above Figure 6 Based on the object identifiers of candidate reference objects in the scene to be edited, or the object identifiers of candidate reference objects that meet preset conditions, displayed in the second interface window, a visual indicator matching the candidate reference object can be displayed in the upper left corner of each object identifier. Taking optional object 4 and optional object 5 as examples, since optional object 4 is not visible from the first viewpoint, a visually invisible identifier 701 is added to the upper left corner of its object identifier, while optional object 5 is visible from the first viewpoint, so a visually visible identifier 702 is added to the upper left corner of its object identifier.

[0101] In this method, by adding visual indicators that match the candidate reference objects, it is easier to distinguish between invisible and visible reference objects in the current user's field of vision, thereby improving the user's selection efficiency.

[0102] In step S303, in response to the pose adjustment operation for the object to be adjusted, the first pose parameter of the object to be adjusted after adjustment is determined.

[0103] For example, a user can perform a placement adjustment operation on the object to be adjusted in the first interface window, and the system can determine the first pose parameter of the object to be adjusted in real time. Furthermore, in step S304, based on the comparison result between the first pose parameter of the object to be adjusted and the second pose parameter of the target reference object, placement prompt information for the object to be adjusted is presented through the second interface window.

[0104] In one optional embodiment of this disclosure, the pose parameters include one or more of the following: placement height parameter, horizontal position parameter, and rotation angle parameter.

[0105] For example, the first pose parameter of the object to be adjusted and the second pose parameter of the target reference object can be one or more of the following: the height parameter of its placement, the horizontal position parameter, and the rotation angle parameter of its placement.

[0106] Understandably, when comparing the first pose parameter of the object to be adjusted with the second pose parameter of the target reference object, the pose parameter indices being compared are consistent; for example, both are compared along the placement height dimension. When the pose parameters include multiple parameters such as placement height, horizontal position, and rotation angle, comparisons can be performed separately along their corresponding dimensions. For example, comparing the placement height of the object to be adjusted with the placement height of the target reference object, comparing the horizontal position of the object to be adjusted with the horizontal position of the target reference object, and comparing the rotation angle of the object to be adjusted with the rotation angle of the target reference object, thereby obtaining the corresponding comparison results.

[0107] Next, after determining the comparison result between the first pose parameter of the object to be adjusted and the second pose parameter of the target reference object, placement prompts for the object to be adjusted can be displayed through the second interface window based on the comparison result. The following will combine... Figure 8 Provide a detailed explanation.

[0108] Figure 8 This example illustrates a flowchart of a method for displaying placement prompts in this exemplary embodiment. Please refer to [link / reference]. Figure 8 In an optional embodiment of this disclosure, the step of presenting placement prompts for the object to be adjusted through a second interface window based on the comparison result between the first pose parameter of the object to be adjusted and the second pose parameter of the target reference object includes the following steps S801-S806: Step S801: Based on the comparison result between the first pose parameter of the object to be adjusted and the second pose parameter of the target reference object, determine the matching degree of the first parameter between the object to be adjusted and the target reference object.

[0109] Step S802: Determine whether the matching degree of the first parameter is less than the first matching degree threshold.

[0110] If the matching degree of the first parameter is less than the first matching degree threshold, then proceed to step 803 and display the second interface window in the first display format.

[0111] Next, when the first parameter matching degree is not less than the first matching degree threshold, that is, when the first parameter matching degree is greater than or equal to the first matching degree threshold, step S804 is executed to determine whether the first parameter matching degree satisfies that it is not less than the first matching degree threshold and less than the second matching degree threshold.

[0112] If the matching degree of the first parameter is not less than the first matching degree threshold and less than the second matching degree threshold, then step S805 is executed to display the second interface window in the second display format.

[0113] Conversely, if the matching degree of the first parameter is not less than the second matching degree threshold, then step S806 is executed to display the second interface window in the third display format.

[0114] exist Figure 8 In the embodiments shown, the differences between the first display form, the second display form, and the third display form may lie in the display color, display contrast, or other aspects, and the embodiments disclosed herein are not exhaustive.

[0115] For example, the degree of parameter matching between the object to be adjusted and the target reference object can be determined based on the number of matched parameters and the deviation of the parameter values. For instance, assuming the pose parameters include three parameters: placement height, horizontal position, and rotation angle, the more parameters that match, the higher the degree of parameter matching. Specifically, the degree of parameter matching is highest when the object to be adjusted matches all three parameters of the target reference object (placement height, horizontal position, and rotation angle), and lowest when none of these parameters match. Furthermore, the degree of matching between the target object and the target reference object can be considered, ensuring that a higher parameter value matching degree corresponds to a higher degree of parameter matching between the object to be adjusted and the target reference object.

[0116] Taking color display as an example, if the deviation of the pose parameters between the currently adjusted object and the target reference object is within the first matching degree threshold, it indicates that the currently placed adjusted object and the target reference object have achieved a match within the tolerance range of the first matching degree threshold. Therefore, a definitive success feedback is given to the user, such as adjusting the border of the second interface window to green. If the deviation of the pose parameters between the currently adjusted object and the target reference object is between the first and second matching degree thresholds, it indicates that the pose parameters of the currently placed adjusted object and the target reference object are relatively close, but have not yet achieved a precise match. Therefore, a strong "success is imminent" feedback can be given to the user, such as adjusting the border of the second interface window to orange. If the deviation of the pose parameters between the currently adjusted object and the target reference object exceeds the second matching degree threshold, it indicates that the deviation of the pose parameters between the currently placed adjusted object and the target reference object is extremely large. Therefore, corresponding feedback can be given to the user, such as adjusting the border of the second interface window to red.

[0117] In another optional embodiment of this disclosure, when there are multiple pose parameters, the step S201 above, which involves presenting placement prompts for the object to be adjusted through a second interface window based on the comparison result between the first pose parameter of the object to be adjusted and the second pose parameter of the target reference object, includes: determining the matching degree of the second parameter of each pose parameter of the object to be adjusted and the target reference object based on the comparison result between the first pose parameter of the object to be adjusted and the second pose parameter of the target reference object; if the matching degree of the target pose parameter among the multiple pose parameters of the object to be adjusted and the target reference object does not meet the preset matching degree condition, then placement prompts are displayed in the second interface window.

[0118] The placement prompt information includes one or more of the following: the current matching degree of the target pose parameter, and the placement adjustment strategy of the object to be adjusted. The target pose parameter can be some or all of multiple pose parameters. The preset matching degree condition can be whether the matching degree of the second parameter is less than the first matching degree threshold mentioned above. That is, when it is found that the matching degree of the second parameter does not meet the parameter matching standard, the corresponding placement prompt information is displayed; when it is found that the matching degree of the second parameter meets the parameter matching standard, no placement prompt information needs to be displayed.

[0119] For example, after determining the matching degree of the second parameter between the object to be adjusted and the target reference object for each pose parameter, placement prompts can be displayed in text form. Specifically, the placement prompts may include one or more of the following: the current matching degree of the target pose parameters and the placement adjustment strategy for the object to be adjusted.

[0120] For example, when the pose parameters include the placement height parameter, if the placement height parameter does not meet the parameter matching standard, the current matching degree of the placement height parameter and the corresponding placement adjustment strategy will be displayed in the second interface window. For example, the placement prompt message could be "The current matching degree of the placement height parameter is 50%, please adjust the position upwards."

[0121] Through the above embodiments, on the one hand, when the user adjusts the object to be placed in real time in the first interface window, the target reference object from a second perspective can be simultaneously displayed in the second interface window as a placement reference. This allows the user to refer to the target reference object in real time without being limited by the field of view displayed in the first interface window. This solves the technical problems of low scene editing efficiency and reliance on short-term memory caused by the need for users to repeatedly switch perspectives in the prior art, and achieves the technical effect of significantly reducing user operation interruptions and memory burden, and improving scene editing efficiency. On the other hand, this method can also provide visual feedback for the user to refer to by displaying placement prompts for the object to be placed in real time in the second interface window during the user's adjustment process. This significantly improves the accuracy and efficiency of object placement and alignment, making the user's creative process more coherent and intuitive.

[0122] To implement the above-mentioned virtual scene editing method, one embodiment of this disclosure provides a virtual scene editing device. Figure 9 The schematic diagram illustrates a schematic architecture of a virtual scene editing device.

[0123] The virtual scene editing device 900 includes an object display module 901, an interface display module 902, a pose adjustment module 903, and a prompt information display module 904.

[0124] The object display module 901 is used to display the object to be adjusted in a first interface window; the interface display module 902 is used to display a second interface window in a graphical user interface, the second interface window containing at least a target reference object from a second perspective, the target reference object being a reference object among candidate reference objects; the pose adjustment module 903 is used to determine the first pose parameter of the object to be adjusted after adjustment in response to the pose adjustment operation for the object to be adjusted; the prompt information display module 904 is used to present placement prompt information for the object to be adjusted through the second interface window based on the comparison result between the first pose parameter of the object to be adjusted and the second pose parameter of the target reference object.

[0125] In an optional embodiment of this disclosure, the device may further include a mode control module, and the interface display module 902 is specifically used to: display a second interface window in the graphical user interface in the scene editing assistance mode; the interface display module 902 is also used to: display a mode editing interface in the graphical user interface in response to receiving a mode setting instruction; the mode control module is used to: control entry into the scene editing assistance mode in response to a confirmation operation on the first control in the mode editing interface; the mode control module is used to: control exit from the scene editing assistance mode in response to a confirmation operation on the second control in the mode editing interface in the scene editing assistance mode.

[0126] In an optional embodiment of this disclosure, the device may further include an object determination module, which is configured to: determine a target reference object from candidate reference objects based on a preset algorithm; and / or, the object determination module is configured to: display object identifiers of each candidate reference object in the scene to be edited on a graphical user interface or display object identifiers of candidate reference objects in the scene to be edited that meet preset conditions on a graphical user interface, so as to determine the reference object corresponding to the object identifier to be adjusted as the target reference object in response to a trigger operation on the object identifier to be adjusted; wherein the object identifier to be adjusted is an identifier belonging to the object identifiers corresponding to the candidate reference objects.

[0127] In an optional embodiment of this disclosure, the step of determining the target reference object from candidate reference objects based on a preset algorithm includes at least one of the following: Set the previously placed object in the scene to be edited as the target reference object; Candidate reference objects in the scene to be edited that belong to the same object category as the object to be adjusted are identified as target reference objects; Candidate reference objects in the scene to be edited that have a preset relationship with the object to be adjusted are identified as target reference objects.

[0128] In an optional embodiment of this disclosure, the device may further include an identification display module, which is used to: display a visual indicator matching the candidate reference object at the associated position of the object identifier corresponding to each candidate reference object; wherein the visual indicator includes: a visually visible indicator and a visually invisible indicator, the visually visible indicator being used to indicate that the candidate reference object is visible from a first viewpoint, and the visually invisible indicator being used to indicate that the candidate reference object is not visible from a first viewpoint.

[0129] In one optional embodiment of this disclosure, the second interface window includes the object to be placed from a first perspective and the target reference object from a second perspective.

[0130] In an optional embodiment of this disclosure, the interface display module 902 is further configured to display a second interface window at a target location on the first interface window; wherein the target location includes at least one of the following: The distance between the object to be adjusted and the area to be placed is a preset distance; It does not obscure the candidate reference objects associated with the object to be adjusted in the first interface window.

[0131] In one optional embodiment of this disclosure, the pose parameters include one or more of the following: placement height parameter, horizontal position parameter, and rotation angle parameter.

[0132] In an optional embodiment of this disclosure, the pose adjustment module 903 further includes a prompt information display module, which is used to: determine the first parameter matching degree between the object to be adjusted and the target reference object based on the comparison result of the first pose parameter of the object to be adjusted and the second pose parameter of the target reference object; if the first parameter matching degree is less than the first matching degree threshold, then display the second interface window in a first display format; if the first parameter matching degree is not less than the first matching degree threshold and is less than the second matching degree threshold, then display the second interface window in a second display format; if the first parameter matching degree is not less than the second matching degree threshold, then display the second interface window in a third display format.

[0133] In an optional embodiment of this disclosure, the prompt information display module is used to: determine the matching degree of the second parameter of each pose parameter of the object to be adjusted and the target reference object based on the comparison result of the first pose parameter of the object to be adjusted and the second pose parameter of the target reference object; if the matching degree of the target pose parameter among the multiple pose parameters of the object to be adjusted and the target reference object does not meet the preset matching degree condition, then display placement prompt information in the second interface window; wherein, the placement prompt information includes: the current matching degree of the target pose parameter, one or more of the placement adjustment strategy of the object to be adjusted, and the target pose parameter is some or all of the multiple pose parameters.

[0134] The virtual scene editing device 900 provided in this embodiment can execute the technical solution of the virtual scene editing method in any of the above embodiments. Its implementation principle and beneficial effects are similar to those of the virtual scene editing method. Please refer to the implementation principle and beneficial effects of the virtual scene editing method. It will not be repeated here.

[0135] In exemplary embodiments of this disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the methods described above is stored. In some possible embodiments, various aspects of the present invention may also be implemented as a program product comprising program code that, when the program product is run on a terminal device, causes the terminal device to perform the steps of the various exemplary embodiments of the present invention described in the "Exemplary Methods" section above.

[0136] According to embodiments of the present invention, a program product for implementing the above-described method may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0137] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0138] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium, capable of sending, propagating, or transmitting programs for use by or in conjunction with an instruction execution system, apparatus, or device.

[0139] The program code contained on the readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, radio frequency (RF) and so on, or any suitable combination thereof.

[0140] Program code for performing the operations of this invention can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java and C++, and conventional procedural programming languages ​​such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0141] In an exemplary embodiment of this disclosure, an electronic device capable of implementing the above-described method is also provided.

[0142] Those skilled in the art will understand that various aspects of the present invention can be implemented as systems, methods, or program products. Therefore, various aspects of the present invention can be specifically implemented in the following forms: entirely in hardware, entirely in software (including firmware, microcode, etc.), or in a combination of hardware and software, collectively referred to herein as “circuit,” “module,” or “system.”

[0143] The following reference Figure 10 To describe an electronic device 1000 according to this embodiment of the present invention. Figure 10 The electronic device 1000 shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.

[0144] like Figure 10 As shown, the electronic device 1000 is manifested in the form of a general-purpose computing device. The components of the electronic device 1000 may include, but are not limited to: at least one processing unit 1010, at least one storage unit 1020, a bus 1030 connecting different system components (including storage unit 1020 and processing unit 1010), and a display unit 1040.

[0145] The storage unit stores program code, which can be executed by the processing unit 1010 to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of the present invention. For example, the processing unit 1010 can perform, as follows: Figure 3Steps S301 to S303 are shown in the diagram.

[0146] Storage unit 1020 may include readable media in the form of volatile storage units, such as random access memory (RAM) 10201 and / or cache memory 10202, and may further include read-only memory (ROM) 10203.

[0147] Storage unit 1020 may also include a program / utility 10204 having a set (at least one) program module 10205, such program module 10205 including but not limited to: operating system, one or more application programs, other program modules and program data, each or some combination of these examples may include an implementation of a network environment.

[0148] Bus 1030 can represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of the multiple bus structures.

[0149] Electronic device 1000 can also communicate with one or more external devices 1500 (e.g., keyboard, pointing device, Bluetooth device, etc.), one or more devices that enable a user to interact with electronic device 1000, and / or any device that enables electronic device 1000 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed via input / output (I / O) interface 1050. Furthermore, electronic device 1000 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 1060. As shown, network adapter 1060 communicates with other modules of electronic device 1000 via bus 1030. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, Redundant Arrays of Independent Disks (RAID) systems, tape drives, and data backup storage systems.

[0150] From the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, terminal device, or network device, etc.) to execute the methods according to the embodiments of this disclosure.

[0151] Furthermore, the above figures are merely illustrative of the processes included in the method according to exemplary embodiments of the present invention, and are not intended to be limiting. It is readily understood that the processes shown in the above figures do not indicate or limit the temporal order of these processes. Additionally, it is readily understood that these processes may be executed synchronously or asynchronously, for example, in multiple modules.

[0152] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0153] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.

[0154] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is defined only by the appended claims.

Claims

1. A method for editing a virtual scene, characterized in that, The method includes providing a graphical user interface via a terminal device, the graphical user interface including a first interface window, the first interface window including at least a portion of the scene to be edited from a first perspective, the scene to be edited including at least one candidate reference object, the method comprising: The object to be adjusted is displayed in the first interface window; A second interface window is displayed in the graphical user interface. The second interface window contains at least a target reference object from a second perspective. The target reference object is a reference object that belongs to the candidate reference objects. In response to the pose adjustment operation for the object to be adjusted, the first pose parameter of the object to be adjusted after adjustment is determined; Based on the comparison result between the first pose parameter of the object to be adjusted and the second pose parameter of the target reference object, placement prompts for the object to be adjusted are presented through the second interface window.

2. The method according to claim 1, characterized in that, The step of displaying the second interface window in the graphical user interface includes: In scene editing assistance mode, the second interface window is displayed in the graphical user interface; The method further includes: In response to receiving a mode setting command, a mode editing interface is displayed in the graphical user interface; In response to a confirmation operation on the first control in the mode editing interface, the system controls entry into the scene editing assistance mode; In the scene editing assistance mode, in response to the confirmation operation of the second control in the scene editing interface, the system exits the scene editing assistance mode.

3. The method according to claim 1, characterized in that, The method further includes: The target reference object is determined from the candidate reference objects based on a preset algorithm; And / or, display the object identifiers of each candidate reference object in the scene to be edited on the graphical user interface, or display the object identifiers of candidate reference objects in the scene to be edited that meet preset conditions on the graphical user interface, so as to determine the reference object corresponding to the object identifier to be adjusted as the target reference object in response to a trigger operation on the object identifier to be adjusted; wherein, the object identifier to be adjusted is an identifier belonging to the object identifier corresponding to the candidate reference object.

4. The method according to claim 3, characterized in that, The step of determining the target reference object from the candidate reference objects based on a preset algorithm includes at least one of the following: The previous object placed in the scene to be edited is determined as the target reference object; The candidate reference object in the scene to be edited that belongs to the same object category as the object to be adjusted is determined as the target reference object; The candidate reference objects in the scene to be edited that have a preset relationship with the object to be adjusted are determined as the target reference objects.

5. The method according to claim 3, characterized in that, The method further includes: A visual indicator matching the candidate reference object is displayed at the associated position of the object identifier corresponding to each candidate reference object; wherein, the visual indicator includes: a visually visible indicator and a visually invisible indicator, the visually visible indicator is used to indicate that the candidate reference object is visible from the first viewpoint, and the visually invisible indicator is used to indicate that the candidate reference object is not visible from the first viewpoint.

6. The method according to claim 1, characterized in that, The second interface window contains the object to be placed from the first perspective and the target reference object from the second perspective.

7. The method according to claim 1, characterized in that, The step of displaying the second interface window in the graphical user interface includes: The second interface window is displayed at a target location on the first interface window, wherein the target location includes at least one of the following: The distance between the object to be adjusted and the area to be placed is a preset distance; The candidate reference objects associated with the object to be adjusted are not obscured in the first interface window.

8. The method according to claim 1, characterized in that, The pose parameters include one or more of the following: placement height parameter, horizontal position parameter, and rotation angle parameter.

9. The method according to claim 1 or 8, characterized in that, The step of presenting placement prompts for the object to be adjusted through the second interface window based on the comparison result between the first pose parameter of the object to be adjusted and the second pose parameter of the target reference object includes: Based on the comparison result between the first pose parameter of the object to be adjusted and the second pose parameter of the target reference object, the matching degree of the first parameter between the object to be adjusted and the target reference object is determined. If the matching degree of the first parameter is less than the first matching degree threshold, then the second interface window is displayed in the first display format; If the matching degree of the first parameter is not less than the first matching degree threshold and is less than the second matching degree threshold, then the second interface window is displayed in the second display format; If the matching degree of the first parameter is not less than the matching degree threshold of the second parameter, then the second interface window is displayed in the third display format.

10. The method according to claim 1 or 8, characterized in that, When the pose parameters include multiple parameters, the step of presenting placement prompts for the object to be adjusted through the second interface window based on the comparison result between the first pose parameter of the object to be adjusted and the second pose parameter of the target reference object includes: Based on the comparison result between the first pose parameter of the object to be adjusted and the second pose parameter of the target reference object, the matching degree of the second parameter of each pose parameter of the object to be adjusted and the target reference object is determined. If the matching degree of the target pose parameter among the multiple pose parameters corresponding to the object to be adjusted and the target reference object does not meet the preset matching degree condition, the placement prompt information is displayed in the second interface window; wherein, the placement prompt information includes: the current matching degree of the target pose parameter, one or more of the placement adjustment strategies of the object to be adjusted, and the target pose parameter is some or all of the multiple pose parameters.

11. A virtual scene editing device, characterized in that, A graphical user interface is provided via a terminal device, the graphical user interface including a first interface window, the first interface window including at least a portion of the scene to be edited from a first perspective, the scene to be edited including at least one candidate reference object, the device comprising: An object display module is used to display the object to be adjusted in the first interface window; An interface display module is used to display a second interface window in the graphical user interface, wherein the second interface window contains at least a target reference object from a second perspective, and the target reference object is a reference object belonging to the candidate reference objects. The pose adjustment module is used to determine the first pose parameter of the object to be adjusted after adjustment in response to the pose adjustment operation of the object to be adjusted. The prompt information display module is used to present placement prompt information for the object to be adjusted through the second interface window based on the comparison result between the first pose parameter of the object to be adjusted and the second pose parameter of the target reference object.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method according to any one of claims 1 to 10.

13. An electronic device, characterized in that, include: processor; as well as Memory for storing the executable instructions of the processor; The processor is configured to execute the method of any one of claims 1 to 10 by executing the executable instructions.