Component editing method and device and electronic equipment

By displaying the rotation axis of the rotation motion component in the graphical user interface of the UGC editor and allowing users to adjust their direction, the problem that players cannot intuitively edit the rotation motion direction is solved, achieving the effect of intuitive editing and reducing operation costs.

CN119938008APending Publication Date: 2025-05-06SHANGHAI NETEASE CUICAN NETWORK TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411905979.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-20
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

In the UGC editor, players cannot intuitively edit the movement direction of the rotational motion component, and the existing technology has high operating costs and is not intuitive.

Method used

The rotational movement direction of the target scene component is determined by displaying the rotation axis of the target scene component in the graphical user interface and adjusting the direction of the rotation axis in response to the user's editing operation.

Benefits of technology

It enables players to intuitively and directly edit the rotation movement direction, reduces operating costs, and improves editing efficiency and experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119938008A_ABST
    Figure CN119938008A_ABST
Patent Text Reader

Abstract

The invention provides a component editing method and device and electronic equipment, a first editing operation for a target scene component is responded, the rotation axis of the target scene component is controlled to be displayed in a graphical user interface, and the rotation axis is used for indicating the rotation motion direction of the target scene component; and in response to a second editing operation for the rotation axis, adjusting the direction of the rotation axis in the virtual editing scene based on the second editing operation, and determining the rotation motion direction of the target scene component based on the adjusted direction. In the mode, when a user edits the autorotation target scene component, the autorotation axis corresponding to the target scene component can be displayed, the autorotation motion direction of the target scene component is adjusted by editing the autorotation axis, and when the autorotation axis is edited, the state of the edited autorotation axis can be displayed in real time in the graphical user interface; therefore, the user can edit the rotation direction visually and directly.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of scene editing, and in particular to a component editing method, device and electronic device. Background Art

[0002] In a UGC (User Generated Content) editor, players can edit the rotation motion component in the editing scene. In related technologies, the rotation motion direction of the rotation motion component is determined by inputting the speed of three-dimensional coordinates in the editing interface. However, this method has high operating costs and is not intuitive, and players cannot edit the motion direction of the rotation motion component intuitively. Summary of the invention

[0003] The purpose of the present disclosure is to provide a component editing method, device and electronic device, so as to intuitively and directly edit the rotation direction of a scene component on a UGC editor.

[0004] In a first aspect, the present disclosure provides a component editing method, the method comprising: displaying a graphical user interface through a terminal device, the graphical user interface including a virtual editing scene; wherein the virtual editing scene includes at least one scene component; at least one scene component includes a rotating target scene component; in response to a first editing operation on the target scene component, controlling the display of a rotation axis of the target scene component in the graphical user interface; wherein the rotation axis is used to indicate the rotation direction of the target scene component; in response to a second editing operation on the rotation axis, adjusting the direction of the rotation axis in the virtual editing scene based on the second editing operation, and determining the rotation direction of the target scene component based on the adjusted direction.

[0005] In a second aspect, the present disclosure provides a component editing device, which includes: an interface display module, used to display a graphical user interface through a terminal device, the graphical user interface including a virtual editing scene; wherein the virtual editing scene includes at least one scene component; at least one scene component includes a rotating target scene component; a rotation axis display module, used to respond to a first editing operation on the target scene component, and control the display of the rotation axis of the target scene component in the graphical user interface; wherein the rotation axis is used to indicate the rotation direction of the target scene component; a direction adjustment module, used to respond to a second editing operation on the rotation axis, adjust the direction of the rotation axis in the virtual editing scene based on the second editing operation, and determine the rotation direction of the target scene component based on the adjusted direction.

[0006] In a third aspect, the present disclosure provides an electronic device, which includes a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the above-mentioned component editing method.

[0007] In a fourth aspect, the present disclosure provides a computer-readable storage medium storing computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the above-mentioned component editing method.

[0008] The embodiments of the present disclosure bring the following beneficial effects:

[0009] The present disclosure provides a component editing method, device and electronic device, firstly displaying a graphical user interface through a terminal device, wherein the graphical user interface includes a virtual editing scene; wherein the virtual editing scene includes at least one scene component; wherein at least one scene component includes a rotating target scene component; and then responding to a first editing operation for the target scene component, controlling the display of the rotation axis of the target scene component in the graphical user interface; wherein the rotation axis is used to indicate the rotation direction of the target scene component; and then responding to a second editing operation for the rotation axis, adjusting the direction of the rotation axis in the virtual editing scene based on the second editing operation, and determining the rotation direction of the target scene component based on the adjusted direction. In this method, when a user edits a rotating target scene component, the rotation axis corresponding to the target scene component can be displayed, and the rotation direction of the target scene component can be adjusted by editing the rotation axis. While editing the rotation axis, the state of the edited rotation axis will be displayed in real time in the graphical user interface, so that the user can edit the rotation direction intuitively and directly.

[0010] Other features and advantages of the present disclosure will be set forth in the following description, or some features and advantages may be inferred or unambiguously determined from the description, or may be learned by implementing the above-mentioned technology of the present disclosure.

[0011] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, the following specifically cites preferred implementation modes and describes them in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0013] Figure 1 A flowchart of a component editing method provided by an embodiment of the present disclosure;

[0014] Figure 2A schematic diagram showing a rotation axis provided in an embodiment of the present disclosure;

[0015] Figure 3 A schematic diagram of displaying three-dimensional rotating coordinates on a rotation axis provided by an embodiment of the present disclosure;

[0016] Figure 4 A schematic diagram of adjusting the rotation axis when the Y axis of a three-dimensional rotating coordinate is triggered provided by an embodiment of the present disclosure;

[0017] Figure 5 A schematic diagram of adjusting the rotation axis when triggering the X-axis of a three-dimensional rotating coordinate provided by an embodiment of the present disclosure;

[0018] Figure 6 A display schematic diagram of an editing control provided by an embodiment of the present disclosure;

[0019] Figure 7 A schematic diagram of the structure of a component editing device provided by an embodiment of the present disclosure;

[0020] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

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

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

[0023] In the UGC editor, the rotation direction of the rotation motion component can only be indirectly controlled through the speed of the three-dimensional coordinates. The operation cost is high and not intuitive, and the player cannot edit the rotation direction intuitively.

[0024] Based on the above problems, the embodiments of the present disclosure provide a component editing method, device and electronic device. The technology can be applied to UGC editing scenarios, especially to game editing scenarios or editing scenarios of the rotation direction of the rotation motion component in the UGC editor.

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

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

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

[0028] In a possible implementation, the present disclosure provides a component editing method, such as Figure 1 As shown, the method comprises the following specific steps:

[0029] Step S102, displaying a graphical user interface through a terminal device, wherein the graphical user interface includes a virtual editing scene; wherein the virtual editing scene includes at least one scene component; and the at least one scene component includes a rotating target scene component.

[0030] In a specific implementation, the above-mentioned graphical user interface is displayed when a game program is running on a terminal device or when a UGC editor application is running; wherein the game program can be an application for any game, and the terminal device can be the local terminal device mentioned above, or it can be a client device in the cloud interaction system mentioned above. For example, the terminal device can be a mobile phone, a tablet computer, or a personal computer. The above-mentioned virtual editing scene is a scene provided by running a game program or a UGC editor application, and can also be understood as a scene in the game editing stage provided by a game editor. The virtual editing scene can include one or more scene components, and the scene components can be edited in the virtual editing scene. In actual applications, when a user triggers an editing instruction in the UGC editor, the virtual editing scene can be displayed in the graphical user interface. For example, the editing instruction can be an operation to enter a game editor; it can also be an operation to select a scene map for editing, etc.

[0031] In a specific embodiment, after the virtual editing scene is displayed in the graphical user interface, the scene component can be set in the virtual editing scene in the following manner: displaying a component editing window in the graphical user interface; wherein the component editing window includes a plurality of scene component controls; in response to a selection operation on a first scene component control in the component editing window, controlling the generation of a scene component corresponding to the first scene component control in the virtual editing scene. The above-mentioned first scene component control can be any scene component control included in the component editing window. The specific operation of the above-mentioned selection operation on the first scene component control can be determined according to R&D requirements, and can also be determined according to the user's setting operation. For example, the selection operation can be an operation of dragging the first scene component control into the virtual editing scene, or an operation of clicking or long pressing the first scene component control in the component editing window, etc.

[0032] Specifically, the component type and component form of the scene component control included in the above-mentioned component editing window can be set according to the research and development requirements. For example, the component editing window may include multiple different types of scene component controls, including: terrain component controls, mechanism component controls, decoration component controls, rotation components and combination component controls, etc. Each type of scene component control also contains multiple scene component controls. For example, the mechanism component control also includes motion mechanism component controls, mode mechanism component controls, logic component controls, object component controls and floor component controls, among which the motion mechanism component control also includes cylinders, gears, cross gears, clockwise turntables, etc. Among them, the rotation component includes multiple shapes of rotation component controls, and the target scene component corresponding to the rotation component control can rotate in the virtual editing scene. .

[0033] Step S104, in response to the first editing operation on the target scene component, controlling the display of the rotation axis of the target scene component in the graphical user interface; wherein the rotation axis is used to indicate the rotation direction of the target scene component.

[0034] In specific implementation, the specific operation corresponding to the above-mentioned first editing operation can be determined according to R&D requirements or user operations. For example, the first editing operation can be a click operation, a double-click operation, or a long press operation on the target scene component. When the player performs the first editing operation on the target scene component, the rotation axis of the target scene component will be displayed at a specified position in the graphical user interface. The specified position can be the center position of the target scene component, or a fixed position in the graphical user interface. Among them, the target scene component moves clockwise or counterclockwise around the direction of the rotation axis, that is, the direction of the rotation axis is used to determine the rotation direction of the target scene component.

[0035] Specifically, the display style of the above-mentioned rotation axis in the graphical user interface can be determined according to research and development requirements. For example, the rotation axis can be represented by a line segment with an arrow (the direction of the arrow here is also the direction of the rotation axis), or it can be represented by a line segment and a direction indicator around the line segment, and the direction indicator is used to indicate the direction of the rotation movement.

[0036] Step S106, in response to the second editing operation on the rotation axis, adjusting the orientation of the rotation axis in the virtual editing scene based on the second editing operation, and determining the rotation direction of the target scene component based on the adjusted orientation.

[0037] In specific implementation, the specific operation corresponding to the second editing operation can be determined according to research and development requirements. For example, the second editing operation can be a drag operation on the rotation axis, a rotation operation on the rotation axis, or an input operation on the displayed rotation axis parameters after selecting the rotation axis, etc. When the user performs the second editing operation, the direction of the rotation axis displayed in the virtual editing scene will be adjusted following the second editing operation, so that the user can intuitively edit and see the direction of the rotation axis and the rotation direction of the target scene component, which helps to improve the efficiency of the player's parameter adjustment.

[0038] According to the above-mentioned component editing method, when the user is editing the rotating target scene component, the rotation axis corresponding to the target scene component can be displayed, and the rotation direction of the target scene component can be adjusted by editing the rotation axis. While editing the rotation axis, the status of the edited rotation axis will be displayed in real time in the graphical user interface, so that the user can edit the rotation direction intuitively and directly.

[0039] The following embodiment is used to describe a method of displaying a rotation axis in the center of a graphical user interface.

[0040] Specifically, the above-mentioned specific process of responding to the first editing operation on the target scene component and controlling the display of the rotation axis of the target scene component in the graphical user interface may include: responding to the first editing operation on the target scene component and controlling the display of the rotation axis in the first display mode at the center position of the target scene component.

[0041] In the specific implementation, since rotation refers to the movement of the target scene component rotating by itself, the target scene component will rotate along an axis that passes through the target scene component itself. This axis is called the rotation axis. Therefore, when the user performs the first editing operation on the target scene component, the rotation axis will be displayed at the center of the target scene component to indicate that the target scene component rotates along the rotation axis. At this time, the rotation axis is displayed in a first display mode, and the specific display mode corresponding to the first display mode can be determined according to research and development needs. For example, the first display mode can be to display the rotation axis in a first color, or to display the rotation axis in a first line type, etc. Among them, the first color can be blue or green, etc., and the first line type can be a solid line or a dotted line, etc.

[0042] Furthermore, a direction mark is displayed near the rotation axis, and the direction indicated by the direction mark is the rotation direction of the target scene component. Since the rotation axis is usually an axis, the rotation axis can indicate along which axis the target scene component rotates, but it may not accurately indicate whether it rotates clockwise or counterclockwise along the axis. Therefore, by displaying a direction mark near the rotation axis, the rotation direction of the target scene component can be viewed more intuitively. Among them, the specific position corresponding to the position near the rotation axis can be determined according to research and development needs. For example, the nearby position can be around the rotation axis, on the left or right side of the rotation axis, etc.

[0043] like Figure 2 FIG. 1 is a schematic diagram showing a rotation axis provided by an embodiment of the present disclosure. Figure 2 The rectangular object in the figure is the target scene component, the finger position points to the center of the target scene component, the straight line with an arrow passing through the center is the rotation axis, and the direction of the arrow is the direction of the rotation axis. The circular ring with an arrow displayed around the rotation axis is the direction mark, and the arrow in the direction mark is used to indicate the rotation direction of the target scene component.

[0044] In an optional embodiment, after the rotation axis corresponding to the target scene component is displayed, the visual level of the rotation axis is above the target scene component, thereby facilitating user observation.

[0045] Further, in response to a second editing operation on the rotation axis, the display mode of the rotation axis is switched to a second display mode; wherein the first display mode is different from the second display mode. Specifically, after the rotation axis corresponding to the target scene component is displayed in the graphical user interface, the user performs a second editing operation on the rotation axis, and the rotation axis is displayed in a second display mode, which is different from the first display mode, so that the user can understand whether the rotation axis is currently being edited through the display mode.

[0046] The specific display mode corresponding to the second display mode can be determined according to the research and development requirements. For example, the second display mode can be to display the rotation axis in a second color, or to display the rotation axis in a second line type, etc. The second color can be red or yellow, etc., and the second line type can be a solid line or a dotted line, etc. For example, when the user does not edit the rotation axis, the rotation axis is displayed in green, and when the user edits the rotation axis, the rotation axis is displayed in yellow.

[0047] The following embodiments are used to describe the method of editing the rotation axis.

[0048] In an optional embodiment, the above-mentioned response to the second editing operation on the rotation axis and the specific process of adjusting the direction of the rotation axis in the virtual editing scene based on the second editing operation may include: responding to the selection operation on the rotation axis, controlling the display of three-dimensional rotation coordinates in the graphical user interface; responding to the trigger operation on the target axis in the three-dimensional rotation coordinates, controlling the rotation of the rotation axis toward the target axis; wherein the direction of the rotation axis follows the rotation change of the rotation axis.

[0049] In specific implementation, the above selection operation can be a click operation or a long press operation on the rotation axis. After the rotation axis corresponding to the target scene component is selected, the three-axis rotation coordinates will be displayed in the graphical user interface. The three-axis rotation coordinates are based on the rotation axis, not the world coordinates. The three-dimensional rotation coordinates are used to edit the direction of the rotation axis. Figure 3 FIG. 1 is a schematic diagram showing a three-dimensional rotating coordinate on a rotation axis provided by an embodiment of the present disclosure. Figure 3 The three-axis coordinate system displayed on the rotation axis in the figure is a three-dimensional rotating coordinate system. The finger position corresponds to the Y-axis, the bottom of the finger position is the Z-axis, and the right side of the finger position is the X-axis.

[0050] The specific operation corresponding to the trigger operation on the target axis in the three-dimensional rotating coordinates can be determined according to the research and development needs. For example, it can be a drag operation or a long press operation on the target axis in the three-dimensional rotating coordinates, and then the adjustment range is determined according to the drag distance or the long press duration. Among them, the target axis can be any axis in the three-dimensional rotating coordinates, or any one of the two axes specified in the three-dimensional rotating coordinates. The two specified axes are determined based on research and development needs. Because the axis of rotation is a line, it will not change if it is rotated according to the third dimension, so it is necessary to specify two axes for rotational motion. Among them, the two specified axes can be the X-axis and the Y-axis, or the X-axis and the Z-axis, or the Y-axis and the Z-axis.

[0051] When the user triggers the target axis in the three-dimensional rotating coordinates, the rotation axis will rotate toward the target axis. The rotation angle of the rotation axis toward the target axis can be determined according to the touch amplitude of the triggering target axis. Generally, the larger the touch amplitude, the larger the corresponding rotation angle.

[0052] For example, suppose the rotation axis only supports rotation on the X-axis and Y-axis, such as Figure 4 FIG. 1 is a schematic diagram of adjusting the rotation axis when the Y axis of the three-dimensional rotating coordinate is triggered according to an embodiment of the present disclosure. Figure 4 The finger position in the image corresponds to the Y axis of the three-dimensional rotation coordinate. When the user drags the Y axis with his finger, the rotation axis will rotate toward the Y axis. Figure 4 The axis of rotation in the right image is Figure 4 The left image in the figure is a schematic diagram of the rotation axis rotating toward the Y axis. Figure 5 FIG. 1 is a schematic diagram of adjusting the rotation axis when the X-axis of a three-dimensional rotating coordinate is triggered according to an embodiment of the present disclosure. Figure 5 The finger position in the image corresponds to the X-axis of the three-dimensional rotation coordinate. When the user drags the X-axis with his finger, the rotation axis will rotate toward the X-axis. Figure 5 The axis of rotation in the right image is Figure 5 Schematic diagram of the left image after the rotation axis is rotated toward the X-axis.

[0053] Furthermore, the specific process of determining the rotation direction of the target scene component based on the adjusted orientation may include: taking the adjusted orientation as the rotation axis and determining the clockwise direction or counterclockwise direction perpendicular to the rotation axis as the rotation direction of the target scene component. Whether the clockwise direction or the counterclockwise direction is specifically determined according to R&D requirements or user settings.

[0054] In another optional embodiment, the above-mentioned specific process of responding to the second editing operation on the rotation axis and adjusting the direction of the rotation axis in the virtual editing scene based on the second editing operation may include: responding to the third editing operation on the target scene component, controlling the display of an editing panel corresponding to the target scene component in the graphical user interface; wherein the editing panel includes an axial coordinate input control of a preset axial direction corresponding to the rotation axis; responding to an input operation on the axial coordinate input control, and adjusting the direction of the rotation axis in the virtual editing scene based on the input operation.

[0055] In specific implementation, the specific operation corresponding to the third editing operation can be determined according to R&D requirements and user operations. For example, the third editing operation can be a trigger operation on the editing control after the user selects the target scene component, or a trigger operation on a specified key in the keyboard. When the user performs the third editing operation on the target scene component, an editing panel corresponding to the target scene component will be displayed in the graphical user interface. The editing panel includes a plurality of parameter editing controls corresponding to the target scene component, and the parameter editing control includes an axial coordinate input control for a preset axial direction corresponding to the rotation axis. The user can adjust the direction of the rotation axis in the virtual editing scene by entering the coordinate value in the axial coordinate input control, or by adjusting the coordinate value corresponding to the axial coordinate input control.

[0056] Furthermore, the editing panel also includes a rotation speed adjustment control and a motion time adjustment control; wherein the rotation speed adjustment control is used to adjust the rotation speed of the target scene component, and the motion time adjustment control is used to adjust the rotation time of the target scene component. That is, the user can adjust the rotation speed and rotation time of the target scene component in the editing panel according to needs.

[0057] like Figure 6 FIG. 1 is a display schematic diagram of an editing control provided by an embodiment of the present disclosure. Figure 6 The control corresponding to the "X-axis" in the diagram is the X-axis coordinate input control. Users can directly enter the coordinate value in the X-axis coordinate input control, or use the corresponding "-" control to lower the current X-axis coordinate value, or use the corresponding "+" control to increase the current X-axis coordinate value. Figure 6 The coordinate value corresponding to the X axis is 30; Figure 6 The control corresponding to the "Y axis" in the diagram is the Y axis coordinate input control. Users can directly enter the coordinate value in the Y axis coordinate input control, or use the corresponding "-" control to lower the current Y axis coordinate value, or use the corresponding "+" control to increase the current Y axis coordinate value. Figure 6The coordinate value corresponding to the middle Y axis is 30; the user can directly enter the speed value in the rotation speed adjustment control, or use the corresponding "-" control to lower the current speed value, or use the corresponding "+" control to increase the current speed value. Figure 6 The speed value corresponding to the rotation speed adjustment control is 90; the user can directly enter the time value in the exercise time adjustment control, or use the corresponding "-" control to lower the current time value, or use the corresponding "+" control to increase the current time value. Figure 6 The time value corresponding to the middle motion time adjustment control is 2 seconds.

[0058] In the above method, the user can intuitively and directly edit the direction of the rotation movement on the mobile game UGC editor or the terminal game UGC editor, thereby improving the editing efficiency and editing experience of the rotation movement.

[0059] Based on the above method embodiment, the present disclosure also provides a component editing device, such as Figure 7 As shown, the device comprises:

[0060] The interface display module 70 is used to display a graphical user interface through a terminal device, wherein the graphical user interface includes a virtual editing scene; wherein the virtual editing scene includes at least one scene component; and the at least one scene component includes a rotating target scene component.

[0061] The rotation axis display module 71 is used to respond to the first editing operation on the target scene component and control the display of the rotation axis of the target scene component in the graphical user interface; wherein the rotation axis is used to indicate the rotation direction of the target scene component.

[0062] The direction adjustment module 72 is used to respond to the second editing operation on the rotation axis, adjust the direction of the rotation axis in the virtual editing scene based on the second editing operation, and determine the rotation direction of the target scene component based on the adjusted direction.

[0063] With the above-mentioned component editing device, when the user is editing a rotating target scene component, the rotation axis corresponding to the target scene component can be displayed, and the rotation direction of the target scene component can be adjusted by editing the rotation axis. While editing the rotation axis, the state of the edited rotation axis will be displayed in real time in the graphical user interface, so that the user can edit the rotation direction intuitively and directly.

[0064] Specifically, the rotation axis display module 71 is used to: respond to a first editing operation on a target scene component and control the display of the rotation axis in a first display mode at the center of the target scene component.

[0065] Furthermore, a direction mark is displayed near the rotation axis, and the direction indicated by the direction mark is the rotation direction of the target scene component.

[0066] In an optional embodiment, the above-mentioned device also includes a display switching module, which is used to: in response to a second editing operation on the rotation axis, switch the display mode of the rotation axis to a second display mode; wherein the first display mode is different from the second display mode.

[0067] Furthermore, the above-mentioned direction adjustment module 72 is used to: respond to the selection operation on the rotation axis, control the display of three-dimensional rotating coordinates in the graphical user interface; respond to the trigger operation on the target axis in the three-dimensional rotating coordinates, and control the rotation of the rotation axis toward the target axis; wherein the direction of the rotation axis follows the rotation change of the rotation axis.

[0068] Furthermore, the direction adjustment module 72 is further used to: determine the rotation direction of the target scene component in a clockwise direction or a counterclockwise direction perpendicular to the rotation axis with the adjusted direction as the rotation axis.

[0069] Furthermore, the above-mentioned direction adjustment module 72 is also used to: respond to the third editing operation on the target scene component, control the display of the editing panel corresponding to the target scene component in the graphical user interface; wherein the editing panel includes an axial coordinate input control of a preset axial direction corresponding to the rotation axis; respond to the input operation on the axial coordinate input control, and adjust the direction of the rotation axis in the virtual editing scene based on the input operation.

[0070] In an optional embodiment, the above-mentioned editing panel also includes a rotation speed adjustment control and a motion time adjustment control; wherein the rotation speed adjustment control is used to adjust the rotation speed of the target scene component, and the motion time adjustment control is used to adjust the rotation time of the target scene component.

[0071] The component editing device provided in the embodiment of the present disclosure has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.

[0072] The present disclosure also provides an electronic device, such as Figure 8 As shown, the electronic device includes a processor and a memory, the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the above-mentioned component editing method.

[0073] Specifically, the above-mentioned component editing method includes: displaying a graphical user interface through a terminal device, the graphical user interface including a virtual editing scene; wherein the virtual editing scene includes at least one scene component; at least one scene component includes a rotating target scene component; in response to a first editing operation on the target scene component, controlling the display of the rotation axis of the target scene component in the graphical user interface; wherein the rotation axis is used to indicate the rotation direction of the target scene component; in response to a second editing operation on the rotation axis, adjusting the direction of the rotation axis in the virtual editing scene based on the second editing operation, and determining the rotation direction of the target scene component based on the adjusted direction.

[0074] According to the above-mentioned component editing method, when the user is editing the rotating target scene component, the rotation axis corresponding to the target scene component can be displayed, and the rotation direction of the target scene component can be adjusted by editing the rotation axis. While editing the rotation axis, the status of the edited rotation axis will be displayed in real time in the graphical user interface, so that the user can edit the rotation direction intuitively and directly.

[0075] In an optional embodiment, the above-mentioned step of controlling the display of the rotation axis of the target scene component in the graphical user interface in response to the first editing operation on the target scene component includes: responding to the first editing operation on the target scene component, controlling the display of the rotation axis in the first display mode at the center position of the target scene component.

[0076] In an optional embodiment, a direction mark is displayed near the rotation axis, and the direction indicated by the direction mark is the rotation direction of the target scene component.

[0077] In an optional embodiment, the method further includes: in response to a second editing operation on the rotation axis, switching the display mode of the rotation axis to a second display mode; wherein the first display mode is different from the second display mode.

[0078] In an optional embodiment, the above-mentioned step of responding to the second editing operation on the rotation axis and adjusting the direction of the rotation axis in the virtual editing scene based on the second editing operation includes: responding to a selection operation on the rotation axis, controlling the display of three-dimensional rotation coordinates in a graphical user interface; responding to a trigger operation on a target axis in the three-dimensional rotation coordinates, controlling the rotation axis to rotate toward the target axis; wherein the direction of the rotation axis follows the rotation change of the rotation axis.

[0079] In an optional embodiment, the step of determining the rotation direction of the target scene component based on the adjusted orientation includes: taking the adjusted orientation as the rotation axis and determining the clockwise or counterclockwise direction perpendicular to the rotation axis as the rotation direction of the target scene component.

[0080] In an optional embodiment, the above-mentioned step of responding to the second editing operation on the rotation axis and adjusting the direction of the rotation axis in the virtual editing scene based on the second editing operation includes: responding to the third editing operation on the target scene component, controlling the display of an editing panel corresponding to the target scene component in the graphical user interface; wherein the editing panel includes an axial coordinate input control for a preset axial direction corresponding to the rotation axis; responding to an input operation on the axial coordinate input control, and adjusting the direction of the rotation axis in the virtual editing scene based on the input operation.

[0081] In an optional embodiment, the above-mentioned editing panel also includes a rotation speed adjustment control and a motion time adjustment control; wherein the rotation speed adjustment control is used to adjust the rotation speed of the target scene component, and the motion time adjustment control is used to adjust the rotation time of the target scene component.

[0082] Further, Figure 8 The electronic device shown further includes a bus 102 and a communication interface 103 , and the processor 101 , the communication interface 103 and the memory 100 are connected via the bus 102 .

[0083] The memory 100 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 102 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0084] The processor 101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 101. The above processor 101 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present disclosure can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 100, and the processor 101 reads the information in the memory 100 and completes the steps of the method of the above embodiment in combination with its hardware.

[0085] The embodiments of the present disclosure also provide a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the above-mentioned component editing method. The specific implementation can be found in the method embodiment, which will not be repeated here.

[0086] Specifically, the above-mentioned component editing method includes: displaying a graphical user interface through a terminal device, the graphical user interface including a virtual editing scene; wherein the virtual editing scene includes at least one scene component; at least one scene component includes a rotating target scene component; in response to a first editing operation on the target scene component, controlling the display of the rotation axis of the target scene component in the graphical user interface; wherein the rotation axis is used to indicate the rotation direction of the target scene component; in response to a second editing operation on the rotation axis, adjusting the direction of the rotation axis in the virtual editing scene based on the second editing operation, and determining the rotation direction of the target scene component based on the adjusted direction.

[0087] According to the above-mentioned component editing method, when the user is editing the rotating target scene component, the rotation axis corresponding to the target scene component can be displayed, and the rotation direction of the target scene component can be adjusted by editing the rotation axis. While editing the rotation axis, the status of the edited rotation axis will be displayed in real time in the graphical user interface, so that the user can edit the rotation direction intuitively and directly.

[0088] In an optional embodiment, the above-mentioned step of controlling the display of the rotation axis of the target scene component in the graphical user interface in response to the first editing operation on the target scene component includes: responding to the first editing operation on the target scene component, controlling the display of the rotation axis in the first display mode at the center position of the target scene component.

[0089] In an optional embodiment, a direction mark is displayed near the rotation axis, and the direction indicated by the direction mark is the rotation direction of the target scene component.

[0090] In an optional embodiment, the method further includes: in response to a second editing operation on the rotation axis, switching the display mode of the rotation axis to a second display mode; wherein the first display mode is different from the second display mode.

[0091] In an optional embodiment, the above-mentioned step of responding to the second editing operation on the rotation axis and adjusting the direction of the rotation axis in the virtual editing scene based on the second editing operation includes: responding to a selection operation on the rotation axis, controlling the display of three-dimensional rotation coordinates in a graphical user interface; responding to a trigger operation on a target axis in the three-dimensional rotation coordinates, controlling the rotation axis to rotate toward the target axis; wherein the direction of the rotation axis follows the rotation change of the rotation axis.

[0092] In an optional embodiment, the step of determining the rotation direction of the target scene component based on the adjusted orientation includes: taking the adjusted orientation as the rotation axis and determining the clockwise or counterclockwise direction perpendicular to the rotation axis as the rotation direction of the target scene component.

[0093] In an optional embodiment, the above-mentioned step of responding to the second editing operation on the rotation axis and adjusting the direction of the rotation axis in the virtual editing scene based on the second editing operation includes: responding to the third editing operation on the target scene component, controlling the display of an editing panel corresponding to the target scene component in the graphical user interface; wherein the editing panel includes an axial coordinate input control for a preset axial direction corresponding to the rotation axis; responding to an input operation on the axial coordinate input control, and adjusting the direction of the rotation axis in the virtual editing scene based on the input operation.

[0094] In an optional embodiment, the above-mentioned editing panel also includes a rotation speed adjustment control and a motion time adjustment control; wherein the rotation speed adjustment control is used to adjust the rotation speed of the target scene component, and the motion time adjustment control is used to adjust the rotation time of the target scene component.

[0095] If the method is implemented in the form of a software unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a terminal device, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0096] In the description of the present disclosure, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present disclosure and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present disclosure. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0097] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A component editing method, characterized in that: The method comprises: Displaying a graphical user interface through a terminal device, wherein the graphical user interface includes a virtual editing scene; wherein the virtual editing scene includes at least one scene component; and the at least one scene component includes a rotating target scene component; In response to a first editing operation on the target scene component, controlling the display of the rotation axis of the target scene component in the graphical user interface; wherein the rotation axis is used to indicate the rotation direction of the target scene component; In response to a second editing operation on the rotation axis, the orientation of the rotation axis in the virtual editing scene is adjusted based on the second editing operation, and the rotation direction of the target scene component is determined based on the adjusted orientation.

2. The method according to claim 1, characterized in that The step of controlling the display of the rotation axis of the target scene component in the graphical user interface in response to the first editing operation on the target scene component comprises: In response to a first editing operation on the target scene component, a rotation axis is controlled to be displayed in a first display mode at a center position of the target scene component.

3. The method according to claim 2, characterized in that A direction mark is displayed near the rotation axis, and the direction indicated by the direction mark is the rotation direction of the target scene component.

4. The method according to claim 2, characterized in that: The method further comprises: In response to a second editing operation on the rotation axis, the display mode of the rotation axis is switched to a second display mode; wherein the first display mode is different from the second display mode.

5. The method according to claim 1, characterized in that The step of responding to a second editing operation on the rotation axis and adjusting the direction of the rotation axis in the virtual editing scene based on the second editing operation comprises: In response to a selection operation on the rotation axis, controlling the display of three-dimensional rotation coordinates in the graphical user interface; In response to a trigger operation on a target axis in the three-dimensional rotating coordinates, the rotation axis is controlled to rotate toward the target axis; wherein the direction of the rotation axis follows the rotation change of the rotation axis.

6. The method according to claim 5, characterized in that The step of determining the rotational movement direction of the target scene component based on the adjusted orientation includes: The adjusted orientation is used as the rotation axis, and the clockwise direction or counterclockwise direction perpendicular to the rotation axis is determined as the rotation direction of the target scene component.

7. The method according to claim 1, characterized in that The step of responding to a second editing operation on the rotation axis and adjusting the direction of the rotation axis in the virtual editing scene based on the second editing operation comprises: In response to a third editing operation on the target scene component, controlling the display of an editing panel corresponding to the target scene component in the graphical user interface; wherein the editing panel includes an axial coordinate input control of a preset axial direction corresponding to the rotation axis; In response to an input operation on the axial coordinate input control, the direction of the rotation axis in the virtual editing scene is adjusted based on the input operation.

8. The method according to claim 7, characterized in that The editing panel also includes a rotation speed adjustment control and a motion time adjustment control; wherein the rotation speed adjustment control is used to adjust the rotation speed of the target scene component, and the motion time adjustment control is used to adjust the rotation time of the target scene component.

9. A component editing device, characterized in that: The device comprises: An interface display module, used for displaying a graphical user interface through a terminal device, wherein the graphical user interface includes a virtual editing scene; wherein the virtual editing scene includes at least one scene component; wherein the at least one scene component includes a rotating target scene component; A rotation axis display module, used for controlling the display of the rotation axis of the target scene component in the graphical user interface in response to a first editing operation on the target scene component; wherein the rotation axis is used to indicate the rotation direction of the target scene component; A direction adjustment module is used to respond to a second editing operation on the rotation axis, adjust the direction of the rotation axis in the virtual editing scene based on the second editing operation, and determine the rotation direction of the target scene component based on the adjusted direction.

10. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the component editing method according to any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the component editing method according to any one of claims 1 to 8.