Scene editing method and device and electronic equipment

By using the first and second response areas of the brush indicator in the graphical user interface of the mobile UGC editor, users can accurately control the effective position of the brush attribute and perform scene editing, solving the problem of precise control difficulty in mobile terrain editing, improving editing accuracy and reducing the probability of misoperation.

CN119925942APending Publication Date: 2025-05-06NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the UGC editor on the mobile terminal, it is difficult for users to accurately control the height of the terrain or modify the details, resulting in a high probability of misoperation and the inability to accurately locate and modify the points.

Method used

By displaying the brush indicator in the graphical user interface, the brush indicator is configured with a first response area and a second response area that does not overlap therewith. The user accurately controls the brush attribute effective position by moving the brush indicator of the second response area, and then performs scene editing by triggering the first response area.

Benefits of technology

This method effectively reduces the probability of misoperation, allows users to accurately locate and edit a certain point in the scene, and improves editing accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119925942A_ABST
    Figure CN119925942A_ABST
Patent Text Reader

Abstract

The invention provides a scene editing method and device and electronic equipment, a brush indicator is displayed in a graphical user interface, the brush indicator is configured with a first response area and a second response area which is displayed in a non-overlapping mode with the first response area, and the brush indicator is configured with brush attributes used for changing a virtual editing scene; responding to a moving operation aiming at the second response area, and controlling the indicator position of the brush indicator to move from the first position to the second position; and in response to a trigger operation for the first response area, editing the virtual editing scene at the second position according to the brush attribute. In the mode, a user accurately controls the brush attribute effective position by moving the second response area, the scene at the brush attribute effective position is edited by triggering the first response area, and due to the fact that the first response area and the second response area are not overlapped, brush attribute effective position adjustment and brush editing can be carried out separately, so that the user experience is improved, and the user experience is improved. Therefore, a certain point in the scene can be accurately positioned for editing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] In the related art, in the terrain editing function of the UGC (User Generated Content) editor on the mobile terminal, the user can modify the height or material of the terrain in a brush-like manner. Specifically, the user directly clicks or slides the brush tool on the touch screen with his finger, and the brush drawing position is always the finger's contact position. After the user touches the screen, the drawing position is directly modified. When adjusting the terrain height or drawing small terrain details, the size of the finger relative to the screen makes it impossible for the user to control the contact point very accurately, and the finger occlusion problem causes insufficient touch accuracy, which increases the probability of misoperation and makes it difficult to accurately locate a point to modify the terrain. Summary of the invention

[0003] The purpose of the present disclosure is to provide a scene editing method, device and electronic device to accurately edit virtual scenes and reduce the probability of erroneous operations.

[0004] In a first aspect, the present disclosure provides a scene editing method, which displays a graphical user interface through a terminal device, wherein the graphical user interface includes a virtual editing scene, and the method includes: controlling a brush indicator to be displayed in the graphical user interface, wherein the brush indicator is configured with a first response area and a second response area displayed non-overlapping with the first response area, wherein the brush indicator is configured with corresponding brush attributes, and the brush attributes are configured to change the virtual editing scene; responding to a movement control operation on the second response area, controlling the indicator position of the brush indicator to move from a first position to a second position based on the movement control operation; responding to a trigger operation on the first response area, editing the virtual editing scene at the second position according to the brush attributes.

[0005] In a second aspect, the present disclosure provides a scene editing device, which displays a graphical user interface through a terminal device, wherein the graphical user interface includes a virtual editing scene, and the device includes: an indicator display module, which is used to control the display of a brush indicator in the graphical user interface, and the brush indicator is configured with a first response area and a second response area displayed non-overlapping with the first response area, wherein the brush indicator is configured with corresponding brush attributes, and the brush attributes are configured to change the virtual editing scene; a movement control module, which is used to respond to a movement control operation on the second response area, and control the indicator position of the brush indicator to move from a first position to a second position based on the movement control operation; and a scene editing module, which is used to respond to a trigger operation on the first response area, and edit the virtual editing scene at the second position according to the brush attributes.

[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 scene 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 scene editing method.

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

[0009] The present disclosure provides a scene editing method, device and electronic device, which firstly controls the display of a brush indicator in a graphical user interface, wherein the brush indicator is configured with a first response area and a second response area that is displayed non-overlappingly with the first response area, wherein the brush indicator is configured with corresponding brush attributes, and the brush attributes are configured to change the virtual editing scene; then responds to a movement control operation on the second response area, controls the indicator position of the brush indicator to move from a first position to a second position based on the movement control operation; then responds to a trigger operation on the first response area, and edits the virtual editing scene at the second position according to the brush attributes. In this method, the user accurately controls the effective position of the brush attribute by moving the second response area configured by the brush indicator, and then edits the scene at the effective position of the brush attribute by triggering the first response area configured by the brush indicator. Since the first response area and the second response area in this method are non-overlapping, the effective position of the brush attribute can be adjusted and the brush editing can be performed separately, thereby avoiding misoperation, and a certain point in the scene can also be accurately located for editing.

[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 scene editing method provided by an embodiment of the present disclosure;

[0014] Figure 2 A schematic diagram of displaying a brush mark provided in an embodiment of the present disclosure;

[0015] Figure 3 A schematic diagram of displaying a first control and a second control provided in an embodiment of the present disclosure;

[0016] Figure 4 A schematic diagram showing a shape adjustment control and a size adjustment control provided in an embodiment of the present disclosure;

[0017] Figure 5 A display schematic diagram of a terrain component provided by an embodiment of the present disclosure;

[0018] Figure 6 A schematic diagram of displaying a brush indicator in a second display mode provided by an embodiment of the present disclosure;

[0019] Figure 7 A schematic diagram of the structure of a scene 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 solution and advantages of the embodiments of the present disclosure clearer, the technical solution 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] The scene editing method in one embodiment of the present disclosure can be run on a local terminal device or a server. When the scene editing method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0024] In an optional implementation, various cloud applications, such as cloud games, can be run under the cloud interaction system. 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 scene 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 user 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.

[0025] 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 user through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the user in a variety of ways, for example, it may be rendered and displayed on the display screen of the terminal, or provided to the user 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.

[0026] In a possible implementation, the embodiment of the present disclosure provides a terrain editing method, wherein a graphical user interface is displayed by a terminal device, and the graphical user interface includes a virtual editing scene, such as Figure 1 As shown, the method comprises the following specific steps:

[0027] Step S102, controlling the display of a brush indicator in a graphical user interface, wherein the brush indicator is configured with a first response area and a second response area displayed non-overlapping with the first response area, wherein the brush indicator is configured with corresponding brush attributes, and the brush attributes are configured to change the virtual editing scene.

[0028] 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 editing stage provided by the UGC editor. In actual applications, when a user triggers an editing instruction, a virtual editing scene can be displayed in the graphical user interface, and the editing instruction can be determined according to the editing rules. For example, the editing instruction can be an operation to enter the UGC editor; it can also be an operation to select a scene map for editing, etc.

[0029] The user can control the display of the brush indicator in the graphical user interface by specifying an interaction method, and the specific method corresponding to the specified interaction method can be determined according to the research and development requirements. For example, the specified interaction method can be a click operation on the specified control displayed in the graphical user interface, or a trigger operation on the specified scene component in the virtual editing scene, or other interaction methods. The initial display position of the brush indicator in the graphical user interface can be determined according to the research and development requirements and user operations. For example, the initial display position can be a fixed position in the graphical user interface, or a user trigger position, etc. The display style of the brush indicator can be determined according to the research and development requirements. For example, the brush indicator can be displayed as a circle or a square, etc. The brush indicator is configured with corresponding brush attributes, and the brush attributes are configured to change the virtual editing scene; wherein, the brush attributes can include but are not limited to brush size and brush effective shape, the brush size is used for the size of the scope of action of the brush indicator, and the brush effective shape is used to indicate the shape style edited within the brush size.

[0030] Specifically, the brush indicator is configured with at least a first response area and a second response area displayed non-overlappingly with the first response area, that is, the first response area and the second response area are different response areas, and the response ranges corresponding to the first response area and the second response area may not be displayed in the graphical user interface, or may be displayed in the graphical user interface in the form of controls or logos. Since the first response area and the second response area are displayed non-overlappingly, when one of the response areas is triggered by the operating medium, the other response area will not be blocked. In an optional embodiment, the trigger response function corresponding to the first response area is different from the trigger response function corresponding to the second response area, and the trigger response function corresponding to each response area can be determined according to research and development needs.

[0031] Step S104 , in response to a movement control operation on the second response area, controlling the pointer position of the brush pointer to move from the first position to the second position based on the movement control operation.

[0032] The specific operation corresponding to the above-mentioned mobile control operation can be determined according to the research and development requirements. For example, the mobile control operation can be a drag operation acting on the second response area, or an operation in which the user triggers the mobile control after selecting the second response area, or an operation in which the user controls the movement of the second response area through a designated button in the game controller, etc. When the user performs a mobile control operation on the second response area, the brush indicator will be moved from the first position to the second position in the virtual editing scene. The first position is also the position where the brush indicator starts to move, and the second position is also the position to which the brush indicator moves when the mobile control operation ends.

[0033] In an optional embodiment, there is a binding relationship between the brush indicator and the second response area, and the positional relationship between the second response area and the brush indicator is fixed, so when the user controls the second response area to move in the virtual editing scene, the brush indicator will move with the movement of the second response area. In another optional embodiment, there may be no binding relationship between the brush indicator and the second response area, and the second response area may be a fixed area in the graphical user interface, and the second response area is only used to control the movement of the brush indicator in the virtual editing scene and will not move itself. In this case, the movement control operation for the second response area may be a sliding operation performed in the second response area or a sliding operation starting from the second response area.

[0034] Step S106 , in response to the trigger operation on the first response area, the virtual editing scene at the second position is edited according to the brush attributes.

[0035] In specific implementation, the trigger operation for the first response area can be determined according to R&D requirements and user operations. For example, the trigger operation can be a click operation performed by the user in the first response area or a sliding operation starting from the first response area. When the pointer position of the brush pointer is at the second position, the user triggers the first response area, and the virtual editing scene at the second position can be edited according to the brush attributes. For example, a specified object can be set on the virtual editing scene at the second position according to the brush attributes, and the display parameters of the virtual editing scene at the second position can also be changed.

[0036] In the above scene editing method, the user accurately controls the effective position of the brush attributes by moving the second response area configured by the brush indicator, and then edits the scene at the effective position of the brush attributes by triggering the first response area configured by the brush indicator. Since the first response area and the second response area in this method are non-overlapping, the effective position of the brush attributes and the brush editing can be adjusted separately to avoid misoperation, and a certain point in the scene can also be accurately located for editing.

[0037] The following embodiment is used to describe another scene editing method.

[0038] Specifically, after the brush indicator is displayed in the graphical user interface, in response to a first trigger operation directed to a third response area in the virtual editing scene, a third position of the third response area acted upon by the first trigger operation is obtained, wherein the third response area does not include the first response area and the second response area; and the virtual editing scene at the third position is edited according to the brush attributes.

[0039] In a specific implementation, the third response area is any area in the virtual editing scene except the first response area and the second response area. After the brush indicator is displayed in the graphical user interface, the user triggers any position in the third response area in the virtual editing scene, and the virtual editing scene at the position can be edited according to the brush attributes, so that the user can edit any area in the virtual editing scene to meet the user's personalized needs.

[0040] The following embodiments are used to describe the brush identifier included in the brush indicator.

[0041] Specifically, the brush indicator includes a brush logo, and the display style of the brush logo can be determined according to research and development requirements. For example, the brush logo can be displayed in a brush shape, or in a graphic shape such as a circle or a square. Based on this, the specific process of controlling the pointer position of the brush indicator to move from the first position to the second position based on the movement control operation can include: controlling the brush logo to move from the first position to the second position based on the movement control operation.

[0042] In a specific implementation, the indicator position of the brush indicator matches the position of the brush identifier. When the user performs a mobile control operation on the second response area, the brush indicator will move along with the mobile control operation, that is, the brush identifier in the brush indicator will move along with the mobile control operation, thereby changing the indicator position of the brush indicator in the virtual editing scene.

[0043] In an optional embodiment, the first response area is associated with the brush mark. For example, the brush mark is located in the first response area, or the brush mark is bound to the position of the first response area. Figure 2FIG. 1 is a schematic diagram showing a display of a brush mark provided by the present disclosure. Figure 2 The circular mark in the middle can be used to indicate the brush indicator. The brush mark is displayed in the middle of the brush indicator. No matter how the brush indicator is moved, the brush mark is always located in the middle of the brush indicator.

[0044] The following embodiments are used to describe the triggering method of the brush indicator.

[0045] Specifically, the area of ​​the graphical user interface covered by the first response area is larger than the area of ​​the graphical user interface covered by the contact point position corresponding to the brush indicator.

[0046] In a specific implementation, the touch position corresponding to the brush indicator is the touch position corresponding to when the user triggers the first response area. The touch position can be 1 pixel or several pixels, but the number of pixels corresponding to the touch position is less than the number of pixels corresponding to the first response area. For example, the touch position corresponding to the brush indicator is 10 pixels, and the first response area is a square area or a circular area containing 100 pixels, or an area of ​​60*60 pixels, etc.

[0047] Based on the above description, the above-mentioned response to the trigger operation of the first response area and the specific process of editing the virtual editing scene at the second position according to the brush attributes may include: if the trigger position of the trigger operation is located in the first response area and is different from the second position, editing the virtual editing scene at the second position according to the brush attributes.

[0048] In a specific implementation, the trigger position of the trigger operation for the first response area is the same size as the area corresponding to the contact position of the brush indicator in the graphical user interface. Then, after the indicator position of the brush indicator moves to the second position, if the trigger position of the trigger operation performed by the user on the first response area is within the first response area but different from the second position, the trigger position will be calibrated to the second position to continue editing the virtual editing scene at the second position according to the brush attributes, so that the user can continue editing the virtual editing scene from the second position to achieve a continuous editing position effect. This design avoids the problem that the user wants to start drawing at the current position of the brush indicator, but offsets due to insufficient finger contact accuracy.

[0049] In an optional embodiment, if the trigger position of the trigger operation is outside the first response area and different from the second position, the virtual editing scene at the trigger position of the trigger operation is edited according to the brush attribute. Specifically, the user can perform a trigger operation on any area in the virtual editing scene, and then edit the virtual editing scene at the trigger position or the position where the brush indicator stops according to the different trigger positions of the trigger operation.

[0050] Further, in response to the end of the trigger operation for the first response area, the trigger end position is determined, and the brush indicator is displayed at the trigger end position. Specifically, after the user completes editing the virtual editing scene by triggering the first response area, the triggering of the first response area will end, and the brush indicator will be displayed at the trigger end position, for example, the brush indicator is displayed in a hovering state at the trigger end position, wherein the indicator position of the brush indicator is located at the trigger end position.

[0051] Furthermore, the above-mentioned graphical user interface also includes an exit control; in response to a trigger operation on the exit control, the brush indicator in the graphical user interface is controlled to be canceled.

[0052] In a specific implementation, after the brush indicator is displayed in the graphical user interface, the brush indicator will remain displayed in the graphical user interface until the user triggers the exit control, and then the brush indicator will be undisplayed in the graphical user interface. This method is convenient for players to use the brush indicator to edit the virtual editing scene at any time.

[0053] The following embodiments are used to describe the display mode and function of the first control.

[0054] Specifically, the brush indicator includes a first control, which is displayed in the second response area, and the display style of the first control can be determined according to research and development requirements. Based on this, in response to the movement control operation on the second response area, the first control is controlled to move following the movement control operation.

[0055] In a specific implementation, since the second response area is invisible in the graphical user interface, the user cannot know how to trigger the second response area. Therefore, a first control visible in the graphical user interface is set on the second response area, so that the user can perform a mobile control operation on the second response area through the first control. That is, the mobile control operation on the second response area is a mobile control operation on the first control, so that the movement of the first control is controlled according to the mobile control operation, and the movement of the first control will also drive the movement of the second response area and the movement of the entire brush indicator.

[0056] In an optional embodiment, the first control is not always displayed in the graphical user interface, but needs to be triggered to be displayed. Specifically, when the first control is not displayed, the graphical user interface also includes a second control displayed in an unactivated state; in response to a trigger operation on the unactivated second control, the first control is controlled to be displayed in the brush indicator, and the display state of the second control is switched to an activated state; in response to a trigger operation on the activated second control, the first control in the brush indicator is controlled to be cancelled, and the display state of the second control is switched to an unactivated state.

[0057] The display style of the second control corresponding to the above-mentioned inactivated state and activated state can be determined according to research and development needs. For example, the inactivated state can be to display the second control in the first color or the first transparency, and the activated state can be to display the second control in the second color or the second transparency. The above-mentioned trigger operation for the second control can be a click operation or a long press operation on the second control. For example, the user can control the display of the first control on the second response area configured by the brush indicator by clicking on the second control in the inactivated state. Since the relative positions of the first control and the brush indicator are fixed, the entire brush indicator will move with the first control. Through the first control, the user can move the brush indicator to a precise target point without editing the virtual editing scene, so as to edit the virtual editing scene at the target point.

[0058] like Figure 3 Shown is a display schematic diagram of a first control and a second control provided in an embodiment of the present disclosure. Figure 3 The upper left corner of the left image in the figure shows the second control in an inactive state. At this time, the brush indicator shows the first control. When the user clicks the second control in an inactive state, the second control switches to an active state (e.g. Figure 3 The upper left corner of the right image in the figure shows the second control in an activated state, and the first control is displayed at a fixed position below the brush logo in the center of the brush indicator. The user presses and holds the first control to drag, and the indicator position of the brush indicator can be moved without actually modifying the virtual editing scene. At this time, the mapping relationship between the indicator position and the contact point position is: the position of the first control corresponds to the contact point position.

[0059] The above method of controlling the position of the indicator by moving the first control does not require any extra interaction steps. The system can determine whether the user's intention is to only change the position of the indicator or to actually edit the scene based on whether the touch point is on the first control. This retains the intuitive interaction method of touch screen operation, that is, the user can directly edit the scene by clicking and dragging on the screen with a finger. This method also enables the user to preview the changes made at any position on the virtual editing scene.

[0060] The following embodiments are used to describe the display style and adjustment method of the brush indicator.

[0061] Specifically, the specific process of controlling the display of the brush indicator in the graphical user interface may include: responding to a second trigger operation acting on the virtual editing scene, controlling the display of a brush indicator having a specified shape centered on the trigger position of the second trigger operation.

[0062] The specific operation corresponding to the second trigger operation can be determined according to research and development requirements. For example, the second trigger operation can be a click operation, a slide operation, or a long press operation. The specified shape can be pre-set. For example, the specified shape can be a circle or a square. The user can determine which is the brush indicator and the brush range of the brush indicator through the specified shape displayed in the graphical user interface.

[0063] In an optional embodiment, the graphical user interface includes a size adjustment control, and the display style and display position of the size adjustment control can be determined according to research and development requirements. Based on this, in response to a first adjustment operation on the size adjustment control, a target size is determined based on the first adjustment operation, and the display size of the specified shape corresponding to the brush indicator is adjusted based on the target size.

[0064] In specific implementation, the specific operation corresponding to the first adjustment operation can be determined according to research and development requirements. For example, the first adjustment operation can be an operation of inputting a specific value in the size adjustment control, or an operation of sliding the size adjustment control left and right to increase or adjust the target size. Generally, the larger the target size set based on the size adjustment control, the larger the display size of the specified shape corresponding to the brush indicator.

[0065] Furthermore, the brush attributes include brush size, and the brush size is positively correlated with the display size of the specified shape corresponding to the brush indicator. Generally, the larger the display size corresponding to the brush indicator, the larger the brush size.

[0066] Furthermore, the brush effective shape is displayed in the specified shape corresponding to the brush indicator, and the brush effective shape is a brush attribute; the graphical user interface also includes a shape adjustment control; based on this, in response to a second adjustment operation on the shape adjustment control, the target shape is adjusted and determined based on the second adjustment operation, and the target shape is determined as the brush effective shape displayed in the specified shape corresponding to the brush indicator. In specific implementation, the specific operation corresponding to the second adjustment operation can be determined according to research and development requirements. For example, the second adjustment operation can be an operation of selecting any one of the multiple preset brush shapes provided by the shape adjustment control, or an operation of inputting a specified shape in the shape adjustment control, etc.

[0067] like Figure 4 FIG. 1 is a schematic diagram showing a shape adjustment control and a size adjustment control provided by an embodiment of the present disclosure. Figure 4The control corresponding to "Brush Shape" is the shape adjustment control, and the control corresponding to "Brush Size" is the size adjustment control. The current brush size is 0.75. The user can click the value box belonging to 0.75 to call out the numeric keyboard, and then enter the value, and determine the input value as the brush size. At the same time, this method supports pressing and dragging the value box to quickly adjust the value. For example, move it to the right to increase the value, and move it to the left to decrease the value, and determine the adjusted value as the brush size. The larger the brush shape, the larger the display size of the circle corresponding to the brush indicator. When the user clicks the shape adjustment control, a shape display list will be called out. The shape display list includes multiple preset brush shapes. The user can select any one of the preset brush shapes as the effective brush shape. The above-mentioned preset brush shapes can include, but are not limited to: sphere, square, cylinder, triangle and rectangle. Among them, Figure 4 The multiple triangles displayed near the brush logo are the effective shapes of the brush.

[0068] In specific implementation, the brush effective shape and brush size are mainly used to determine the brush effective range. The determination method of the brush effective range corresponding to different brush effective shapes is the same, but the shapes corresponding to the brush effective range are different, wherein the shape corresponding to the brush effective range matches the brush shape. Therefore, based on the brush indicator, an editing area of ​​any shape can be drawn on the virtual editing scene, thereby meeting the different drawing needs of users and improving the accuracy of scene editing.

[0069] In a specific embodiment, when determining the effective range of the brush, a rectangular area can be first determined according to the brush size, and then the largest brush effective shape can be generated within the rectangular area. Here, the largest brush effective shape is also the effective range of the brush. Specifically, the brush size can be used to indicate the side length of the rectangular area. Generally, the larger the brush size, the larger the rectangular area. Among them, the brush size affects the size of the effective range of the brush, and the effective shape of the brush affects the shape of the effective range of the brush. It should be noted that if the effective shape of the brush is a three-dimensional shape, the effective range of the brush is also a three-dimensional range.

[0070] In an optional embodiment, when the brush size is adjusted through the size adjustment control, the display size corresponding to the brush indicator displayed in the graphical user interface will change according to the adjustment of the brush size, thereby previewing the size of the brush effective range; in addition, when the brush effective shape is adjusted through the shape adjustment control, the display shape within the brush indicator displayed in the graphical user interface will change according to the adjustment of the brush effective shape, thereby previewing the shape of the brush effective range.

[0071] Based on the above description, the specific process of editing the virtual editing scene at the second position according to the brush attributes includes: determining the brush effective range based on the brush size and the brush effective shape; determining the scene editing area in the virtual editing scene based on the brush effective range and the second position and adjusting the display parameters of the scene editing area.

[0072] In specific implementation, the second position may be a position point, but the effective range of the brush is a range area, so the second position needs to be determined as the center of the effective range of the brush. At this time, the area corresponding to the effective range of the brush in the virtual editing scene is also the scene editing area. The above display parameters can be determined according to R&D requirements. For example, the display parameters can be display height, display shape, display material, etc.

[0073] In an optional embodiment, if the scene editing area is a terrain editing area corresponding to a terrain component in a virtual editing scene, the display parameters include at least one of the following parameters: terrain height, terrain smoothness, terrain flatness, and terrain material.

[0074] In a specific implementation, the virtual editing scene includes at least one terrain component and a scene component. The terrain component is different from the scene component. The component model corresponding to the terrain component can be dynamically changed according to user operations, while the component model corresponding to the scene component cannot be changed. In addition, the component model corresponding to the terrain component includes a height map and a material map, wherein the height map is used to control the terrain height of the terrain component, and the material map is used to control the terrain material of the terrain component. The terrain component in the present disclosure is not a pre-set part of the virtual editing scene, but one or more terrain components can be set at any position in the virtual editing scene according to user operations, so as to meet the personalized needs of users.

[0075] After generating a terrain component in the virtual editing scene, you can directly enter the terrain editing mode or enter the terrain editing mode by triggering the terrain component. In the terrain editing mode, the user can edit the terrain component to edit terrain parameters such as terrain height, terrain smoothness, terrain flatness, and terrain material. After entering the terrain editing mode, the second control in the graphical user interface is displayed as inactive, and the brush indicator is not displayed when the user does not perform any operation.

[0076] like Figure 5 FIG. 1 is a schematic diagram of a terrain component provided by an embodiment of the present disclosure. After entering the terrain editing mode, the terrain component will be focused on and displayed in the graphical user interface. Figure 5The rectangular two-dimensional grid in the figure is a schematic diagram of the terrain component. After focusing on the terrain component, the graphical user interface will also display the height control, flatness control, smoothness control and material control. Among them, the height control is used to adjust the terrain height of the terrain component, the flatness control is used to adjust the terrain flatness of the terrain component, the smoothness control is used to adjust the terrain smoothness of the terrain component, and the material control is used to adjust the terrain material of the terrain component.

[0077] In terrain editing mode, when the user clicks or slides on a terrain component, the brush indicator will be displayed centered on the touch point, and the terrain component at the touch point will be edited. After editing is completed, the brush indicator will remain displayed at the last edited position by hovering.

[0078] In an optional embodiment, since the brush indicator is used to edit the terrain component, the brush indicator is displayed on the terrain component, that is, the brush indicator is always displayed in the terrain marking component graphical user interface; based on this, in response to the contact point position of the mobile control operation on the second response area exceeding the area where the terrain component is located, the brush indicator is set to the edge position of the terrain component. The edge position is also the edge position where the contact point position of the mobile control operation stops before leaving the terrain component.

[0079] The following embodiments are used to describe the display adjustment method of the brush indicator.

[0080] Specifically, in response to a second trigger operation acting on the virtual editing scene, the brush indicator is controlled to be displayed in a first display mode in the graphical user interface; in response to a trigger operation on the brush indicator, the display mode of the brush indicator is switched to a second display mode; wherein the second display mode is different from the first display mode.

[0081] In specific implementation, the specific display modes corresponding to the first display mode and the second display mode can be determined according to research and development needs. For example, the first display mode can be to display the brush indicator in a first color, and the second display mode can be to display the brush indicator in a second color; the first display mode can also be to display the brush logo in the brush indicator in a first style, and the second display mode can also be to display the brush logo in the brush indicator in a second style; the second display mode can also be to display the brush indicator with a stroke, etc.

[0082] For example, Figure 2 The brush indicator is shown in the first display mode. Figure 6 FIG. 1 is a schematic diagram of a brush indicator displayed in a second display mode. Figure 2 and Figure 6The display method of the brush indicator in is different, so that users can easily distinguish whether they are currently in scene editing mode, and let users clearly know whether scene editing is in effect.

[0083] Corresponding to the above method embodiment, the embodiment of the present disclosure also provides a scene editing device, which displays a graphical user interface through a terminal device, and the graphical user interface includes a virtual editing scene, such as Figure 7 As shown, the device comprises:

[0084] The indicator display module 70 is used to control the display of a brush indicator in a graphical user interface, wherein the brush indicator is configured with a first response area and a second response area displayed non-overlapping with the first response area, wherein the brush indicator is configured with corresponding brush attributes, and the brush attributes are configured to change the virtual editing scene.

[0085] The movement control module 71 is used to respond to the movement control operation on the second response area and control the pointer position of the brush pointer to move from the first position to the second position based on the movement control operation.

[0086] The scene editing module 72 is used to respond to the trigger operation on the first response area and edit the virtual editing scene at the second position according to the brush attributes.

[0087] In the above-mentioned scene editing device, the user can accurately control the effective position of the brush attributes by moving the second response area configured by the brush indicator, and then edit the scene at the effective position of the brush attributes by triggering the first response area configured by the brush indicator. Since the first response area and the second response area in this method are non-overlapping, the adjustment of the effective position of the brush attributes and the brush editing can be performed separately, thereby avoiding misoperation, and a certain point in the scene can also be accurately located for editing.

[0088] Furthermore, the above-mentioned device also includes a first editing module, which is used to: respond to a first trigger operation on a third response area in the virtual editing scene, obtain a third position where the first trigger operation acts on the third response area, wherein the third response area does not include the first response area and the second response area; and edit the virtual editing scene at the third position according to the brush attributes.

[0089] Furthermore, the brush indicator includes a brush mark, and the movement control module 61 is used to control the brush mark to move from a first position to a second position based on a movement control operation.

[0090] In a specific implementation, the first response area is associated with a brush identifier.

[0091] In a specific implementation, the area of ​​the graphical user interface covered by the first response area is larger than the area of ​​the graphical user interface covered by the contact point position corresponding to the brush indicator.

[0092] Furthermore, the scene editing module 72 is used to edit the virtual editing scene at the second position according to the brush attributes if the triggering position of the triggering operation is located in the first response area and is different from the second position.

[0093] Furthermore, the above-mentioned device also includes a contact adjustment module, which is used to: if the trigger position of the trigger operation is located outside the first response area and different from the second position, edit the virtual editing scene at the trigger position of the trigger operation according to the brush attributes.

[0094] Furthermore, the brush indicator includes a first control, which is displayed in a second response area. Based on this, the device also includes a movement following module, which is used to: respond to a movement control operation on the second response area and control the first control to move following the movement control operation.

[0095] Furthermore, the graphical user interface also includes a second control displayed in an unactivated state; the above-mentioned device also includes a function activation module, which is used to: respond to a trigger operation on the second control in the unactivated state, control the display of the first control in the brush indicator, and switch the display state of the second control to an activated state; respond to a trigger operation on the second control in the activated state, control the cancellation of the display of the first control in the brush indicator, and switch the display state of the second control to an unactivated state.

[0096] In a specific implementation, the indicator display module 70 is used to: respond to a second trigger operation applied to the virtual editing scene, and control the display of a brush indicator having a specified shape centered on the trigger position of the second trigger operation.

[0097] Furthermore, the above-mentioned graphical user interface includes a size adjustment control; the above-mentioned device also includes a scale adjustment module, which is used to: respond to a first adjustment operation on the size adjustment control, determine a target size based on the first adjustment operation, and adjust the display size of the specified shape corresponding to the brush indicator based on the target size.

[0098] Furthermore, the brush attributes include brush size, and the brush size is positively correlated with the display size of the designated shape corresponding to the brush indicator.

[0099] Furthermore, a brush effective shape is displayed in a designated shape corresponding to the brush indicator, and the brush effective shape is a brush attribute; the graphical user interface also includes a shape adjustment control; the device also includes a shape adjustment module, which is used to: respond to a second adjustment operation on the shape adjustment control, adjust and determine the target shape based on the second adjustment operation, and determine the target shape as the brush effective shape displayed in the designated shape corresponding to the brush indicator.

[0100] Furthermore, the scene editing module 72 is used to: determine the effective range of the brush based on the brush size and the effective shape of the brush; determine the scene editing area in the virtual editing scene and adjust the display parameters of the scene editing area based on the effective range of the brush and the second position.

[0101] Further, if the scene editing area is a terrain editing area corresponding to a terrain component in the virtual editing scene, the display parameters include at least one of the following parameters: terrain height, terrain smoothness, terrain flatness, and terrain material.

[0102] Furthermore, the brush indicator is displayed on the terrain component; based on this, the device also includes an indicator movement control module, which is used to: in response to the contact position of the movement control operation on the second response area exceeding the area where the terrain component is located, set the brush indicator at the edge position of the terrain component.

[0103] Furthermore, the above-mentioned device also includes a display adjustment module, which is used to: respond to a second trigger operation acting on the virtual editing scene, control the display of the brush indicator in the graphical user interface in a first display mode; respond to the trigger operation on the brush indicator, switch the display mode of the brush indicator to a second display mode; wherein the second display mode is different from the first display mode.

[0104] Furthermore, the above-mentioned device also includes a position determination module, which is used to: respond to the end of the trigger operation on the first response area, determine the trigger end position, and display the brush indicator at the trigger end position.

[0105] Furthermore, the above-mentioned graphical user interface also includes an exit control; based on this, the above-mentioned device also includes a cancel display module, which is used to: respond to the trigger operation for the exit control and control the cancellation of the display of the brush indicator in the graphical user interface.

[0106] The scene 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.

[0107] The present disclosure also provides an electronic device, such as Figure 8As 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 scene editing method.

[0108] Specifically, a graphical user interface is displayed through a terminal device, and the graphical user interface includes a virtual editing scene. The above-mentioned scene editing method includes: controlling the display of a brush indicator in the graphical user interface, the brush indicator is configured with a first response area and a second response area displayed non-overlapping with the first response area, wherein the brush indicator is configured with corresponding brush attributes, and the brush attributes are configured to change the virtual editing scene; responding to a movement control operation on the second response area, controlling the indicator position of the brush indicator to move from a first position to a second position based on the movement control operation; responding to a trigger operation on the first response area, editing the virtual editing scene at the second position according to the brush attributes.

[0109] In the above scene editing method, the user accurately controls the effective position of the brush attributes by moving the second response area configured by the brush indicator, and then edits the scene at the effective position of the brush attributes by triggering the first response area configured by the brush indicator. Since the first response area and the second response area in this method are non-overlapping, the effective position of the brush attributes and the brush editing can be adjusted separately to avoid misoperation, and a certain point in the scene can also be accurately located for editing.

[0110] In an optional embodiment, the above method also includes: responding to a first trigger operation on a third response area in the virtual editing scene, obtaining a third position where the first trigger operation acts on the third response area, wherein the third response area does not include the first response area and the second response area; and editing the virtual editing scene at the third position according to the brush attributes.

[0111] In an optional embodiment, the brush indicator includes a brush identifier, and the step of controlling the indicator position of the brush indicator to move from a first position to a second position based on a movement control operation includes: controlling the brush identifier to move from the first position to the second position based on the movement control operation.

[0112] In an optional embodiment, the first response area is associated with a brush identifier.

[0113] In an optional embodiment, the area of ​​the graphical user interface covered by the first response area is larger than the area of ​​the graphical user interface covered by the contact point position corresponding to the brush indicator.

[0114] In an optional embodiment, the above-mentioned step of editing the virtual editing scene at the second position according to the brush attributes in response to the trigger operation of the first response area includes: if the trigger position of the trigger operation is located in the first response area and is different from the second position, editing the virtual editing scene at the second position according to the brush attributes.

[0115] In an optional embodiment, the method further includes: if the trigger position of the trigger operation is located outside the first response area and is different from the second position, editing the virtual editing scene at the trigger position of the trigger operation according to the brush attributes.

[0116] In an optional embodiment, the brush indicator includes a first control, and the first control is displayed in the second response area. The above method also includes: responding to a movement control operation on the second response area, controlling the first control to move following the movement control operation.

[0117] In an optional embodiment, the graphical user interface also includes a second control displayed in an unactivated state; the above method also includes: responding to a trigger operation on the second control in the unactivated state, controlling the display of the first control in the brush indicator, and switching the display state of the second control to an activated state; responding to a trigger operation on the second control in the activated state, controlling the cancellation of the display of the first control in the brush indicator, and switching the display state of the second control to an unactivated state.

[0118] In an optional embodiment, the above-mentioned step of controlling the display of the brush indicator in the graphical user interface includes: responding to a second trigger operation acting on the virtual editing scene, controlling the display of a brush indicator with a specified shape centered on the trigger position of the second trigger operation.

[0119] In an optional embodiment, the graphical user interface includes a size adjustment control; the above method also includes: responding to a first adjustment operation on the size adjustment control, determining a target size based on the first adjustment operation, and adjusting the display size of the specified shape corresponding to the brush indicator based on the target size.

[0120] In an optional embodiment, the brush attributes include a brush size, and the brush size is positively correlated with a display size of a designated shape corresponding to the brush indicator.

[0121] In an optional embodiment, a brush effective shape is displayed in a specified shape corresponding to a brush indicator, and the brush effective shape is a brush attribute; the graphical user interface also includes a shape adjustment control; the above method also includes: responding to a second adjustment operation on the shape adjustment control, adjusting and determining a target shape based on the second adjustment operation, and determining the target shape as the brush effective shape displayed in the specified shape corresponding to the brush indicator.

[0122] In an optional embodiment, the above-mentioned step of editing the virtual editing scene at the second position according to the brush attributes includes: determining the brush effective range based on the brush size and the brush effective shape; based on the brush effective range and the second position, determining the scene editing area in the virtual editing scene and adjusting the display parameters of the scene editing area.

[0123] In an optional embodiment, if the scene editing area is a terrain editing area corresponding to a terrain component in a virtual editing scene, the display parameters include at least one of the following parameters: terrain height, terrain smoothness, terrain flatness, and terrain material.

[0124] In an optional embodiment, the brush indicator is displayed on the terrain component; the method further includes: in response to the contact point position of the movement control operation on the second response area exceeding the area where the terrain component is located, setting the brush indicator at the edge position of the terrain component.

[0125] In an optional embodiment, the above method also includes: responding to a second trigger operation acting on the virtual editing scene, controlling the display of the brush indicator in the graphical user interface in a first display mode; responding to the trigger operation on the brush indicator, switching the display mode of the brush indicator to a second display mode; wherein the second display mode is different from the first display mode.

[0126] In an optional embodiment, the method further includes: responding to the end of the trigger operation on the first response area, determining a trigger end position, and displaying a brush indicator at the trigger end position.

[0127] In an optional embodiment, the graphical user interface also includes an exit control; the above method also includes: responding to a trigger operation on the exit control, controlling the graphical user interface to cancel the display of the brush indicator.

[0128] 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 .

[0129] 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 8Only 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.

[0130] 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.

[0131] The embodiment of the present disclosure also provides 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 terrain editing method. The specific implementation can be found in the method embodiment, which will not be repeated here.

[0132] Specifically, a graphical user interface is displayed through a terminal device, and the graphical user interface includes a virtual editing scene. The above-mentioned scene editing method includes: controlling the display of a brush indicator in the graphical user interface, the brush indicator is configured with a first response area and a second response area displayed non-overlapping with the first response area, wherein the brush indicator is configured with corresponding brush attributes, and the brush attributes are configured to change the virtual editing scene; responding to a movement control operation on the second response area, controlling the indicator position of the brush indicator to move from a first position to a second position based on the movement control operation; responding to a trigger operation on the first response area, editing the virtual editing scene at the second position according to the brush attributes.

[0133] In the above scene editing method, the user accurately controls the effective position of the brush attributes by moving the second response area configured by the brush indicator, and then edits the scene at the effective position of the brush attributes by triggering the first response area configured by the brush indicator. Since the first response area and the second response area in this method are non-overlapping, the effective position of the brush attributes and the brush editing can be adjusted separately to avoid misoperation, and a certain point in the scene can also be accurately located for editing.

[0134] In an optional embodiment, the above method also includes: responding to a first trigger operation on a third response area in the virtual editing scene, obtaining a third position where the first trigger operation acts on the third response area, wherein the third response area does not include the first response area and the second response area; and editing the virtual editing scene at the third position according to the brush attributes.

[0135] In an optional embodiment, the brush indicator includes a brush identifier, and the step of controlling the indicator position of the brush indicator to move from a first position to a second position based on a movement control operation includes: controlling the brush identifier to move from the first position to the second position based on the movement control operation.

[0136] In an optional embodiment, the first response area is associated with a brush identifier.

[0137] In an optional embodiment, the area of ​​the graphical user interface covered by the first response area is larger than the area of ​​the graphical user interface covered by the contact point position corresponding to the brush indicator.

[0138] In an optional embodiment, the above-mentioned step of editing the virtual editing scene at the second position according to the brush attributes in response to the trigger operation of the first response area includes: if the trigger position of the trigger operation is located in the first response area and is different from the second position, editing the virtual editing scene at the second position according to the brush attributes.

[0139] In an optional embodiment, the method further includes: if the trigger position of the trigger operation is located outside the first response area and is different from the second position, editing the virtual editing scene at the trigger position of the trigger operation according to the brush attributes.

[0140] In an optional embodiment, the brush indicator includes a first control, and the first control is displayed in the second response area. The above method also includes: responding to a movement control operation on the second response area, controlling the first control to move following the movement control operation.

[0141] In an optional embodiment, the graphical user interface also includes a second control displayed in an unactivated state; the above method also includes: responding to a trigger operation on the second control in the unactivated state, controlling the display of the first control in the brush indicator, and switching the display state of the second control to an activated state; responding to a trigger operation on the second control in the activated state, controlling the cancellation of the display of the first control in the brush indicator, and switching the display state of the second control to an unactivated state.

[0142] In an optional embodiment, the above-mentioned step of controlling the display of the brush indicator in the graphical user interface includes: responding to a second trigger operation acting on the virtual editing scene, controlling the display of a brush indicator with a specified shape centered on the trigger position of the second trigger operation.

[0143] In an optional embodiment, the graphical user interface includes a size adjustment control; the above method also includes: responding to a first adjustment operation on the size adjustment control, determining a target size based on the first adjustment operation, and adjusting the display size of the specified shape corresponding to the brush indicator based on the target size.

[0144] In an optional embodiment, the brush attributes include a brush size, and the brush size is positively correlated with a display size of a designated shape corresponding to the brush indicator.

[0145] In an optional embodiment, a brush effective shape is displayed in a specified shape corresponding to a brush indicator, and the brush effective shape is a brush attribute; the graphical user interface also includes a shape adjustment control; the above method also includes: responding to a second adjustment operation on the shape adjustment control, adjusting and determining a target shape based on the second adjustment operation, and determining the target shape as the brush effective shape displayed in the specified shape corresponding to the brush indicator.

[0146] In an optional embodiment, the above-mentioned step of editing the virtual editing scene at the second position according to the brush attributes includes: determining the brush effective range based on the brush size and the brush effective shape; based on the brush effective range and the second position, determining the scene editing area in the virtual editing scene and adjusting the display parameters of the scene editing area.

[0147] In an optional embodiment, if the scene editing area is a terrain editing area corresponding to a terrain component in a virtual editing scene, the display parameters include at least one of the following parameters: terrain height, terrain smoothness, terrain flatness, and terrain material.

[0148] In an optional embodiment, the brush indicator is displayed on the terrain component; the method further includes: in response to the contact point position of the movement control operation on the second response area exceeding the area where the terrain component is located, setting the brush indicator at the edge position of the terrain component.

[0149] In an optional embodiment, the above method also includes: responding to a second trigger operation acting on the virtual editing scene, controlling the display of the brush indicator in the graphical user interface in a first display mode; responding to the trigger operation on the brush indicator, switching the display mode of the brush indicator to a second display mode; wherein the second display mode is different from the first display mode.

[0150] In an optional embodiment, the method further includes: responding to the end of the trigger operation on the first response area, determining a trigger end position, and displaying a brush indicator at the trigger end position.

[0151] In an optional embodiment, the graphical user interface also includes an exit control; the above method also includes: responding to a trigger operation on the exit control, controlling the graphical user interface to cancel the display of the brush indicator.

[0152] 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, and the computer software product is stored in a storage medium, including a number of instructions to enable 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: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.

[0153] 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.

[0154] 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 scene editing method, characterized in that: A graphical user interface is displayed by a terminal device, wherein the graphical user interface includes a virtual editing scene, and the method includes: Controlling display of a brush indicator in the graphical user interface, the brush indicator being configured with a first response area and a second response area displayed non-overlapping with the first response area, wherein the brush indicator is configured with corresponding brush attributes, and the brush attributes are configured to change the virtual editing scene; In response to a movement control operation on the second response area, controlling the pointer position of the brush pointer to move from a first position to a second position based on the movement control operation; In response to a trigger operation on the first response area, the virtual editing scene at the second position is edited according to the brush attribute.

2. The method according to claim 1, characterized in that The method further comprises: In response to a first trigger operation on a third response area in the virtual editing scene, obtaining a third position of the third response area acted on by the first trigger operation, wherein the third response area does not include the first response area and the second response area; The virtual editing scene at the third position is edited according to the brush attribute.

3. The method according to claim 1, characterized in that The brush indicator includes a brush mark, and the step of controlling the indicator position of the brush indicator to move from a first position to a second position based on the movement control operation includes: The brush marker is controlled to move from the first position to the second position based on the movement control operation.

4. The method according to claim 3, characterized in that The first response area is associated with the brush identifier.

5. The method according to claim 1, characterized in that The area of ​​the graphical user interface covered by the first response area is larger than the area of ​​the graphical user interface covered by the contact position corresponding to the brush indicator.

6. The method according to claim 5, characterized in that The step of responding to the trigger operation on the first response area and editing the virtual editing scene at the second position according to the brush attribute includes: If the triggering position of the triggering operation is located in the first response area and is different from the second position, the virtual editing scene at the second position is edited according to the brush attribute.

7. The method according to claim 6, characterized in that The method further comprises: If the trigger position of the trigger operation is located outside the first response area and is different from the second position, the virtual editing scene at the trigger position of the trigger operation is edited according to the brush attribute.

8. The method according to claim 1, characterized in that The brush indicator includes a first control, and the first control is displayed in the second response area. The method further includes: In response to a movement control operation on the second response area, the first control is controlled to move following the movement control operation.

9. The method according to claim 8, characterized in that The graphical user interface also includes a second control displayed in an inactive state; the method further includes: In response to a trigger operation on the second control in the unactivated state, controlling the display of the first control in the brush indicator, and switching the display state of the second control to an activated state; In response to a triggering operation on the second control in the activated state, the first control in the brush indicator is controlled to be canceled from being displayed, and the display state of the second control is switched to an inactivated state.

10. The method according to claim 1, characterized in that The step of controlling the display of a brush indicator in the graphical user interface comprises: In response to a second trigger operation applied to the virtual editing scene, the brush indicator having a specified shape is controlled to be displayed with the trigger position of the second trigger operation as the center.

11. The method according to claim 10, characterized in that The graphical user interface includes a size adjustment control; the method further includes: In response to a first adjustment operation on the size adjustment control, a target size is determined based on the first adjustment operation, and a display size of a designated shape corresponding to the brush indicator is adjusted based on the target size.

12. The method according to claim 11, characterized in that The brush attributes include a brush size, and the brush size is positively correlated with a display size of a designated shape corresponding to the brush indicator.

13. The method according to claim 12, characterized in that A brush effective shape is displayed in the designated shape corresponding to the brush indicator, and the brush effective shape is the brush attribute; The graphical user interface also includes a shape adjustment control; the method further includes: In response to a second adjustment operation on the shape adjustment control, a target shape is determined based on the second adjustment operation, and the target shape is determined as a brush effective shape displayed in a designated shape corresponding to the brush indicator.

14. The method according to claim 13, characterized in that The step of editing the virtual editing scene at the second position according to the brush attribute includes: Determine the effective range of the brush based on the brush size and the effective shape of the brush; Based on the brush effective range and the second position, a scene editing area is determined in the virtual editing scene and display parameters of the scene editing area are adjusted.

15. The method according to claim 14, characterized in that If the scene editing area is a terrain editing area corresponding to a terrain component in a virtual editing scene, the display parameters include at least one of the following parameters: terrain height, terrain smoothness, terrain flatness and terrain material.

16. The method according to claim 15, characterized in that The brush indicator is displayed on the terrain component; the method further comprises: In response to the contact point position of the movement control operation on the second response area exceeding the area where the terrain component is located, the brush indicator is set at the edge position of the terrain component.

17. The method according to claim 10, characterized in that The method further comprises: In response to a second trigger operation acting on the virtual editing scene, controlling the display of the brush indicator in the graphical user interface in a first display mode; In response to a triggering operation on the brush indicator, the display mode of the brush indicator is switched to a second display mode; wherein the second display mode is different from the first display mode.

18. The method according to claim 1, characterized in that The method further comprises: In response to the end of the trigger operation on the first response area, a trigger end position is determined, and the brush indicator is displayed at the trigger end position.

19. The method according to claim 1, characterized in that The graphical user interface also includes an exit control; the method also includes: In response to a triggering operation on the exit control, the brush indicator is controlled to be canceled from being displayed in the graphical user interface.

20. A scene editing device, characterized in that: A graphical user interface is displayed by a terminal device, wherein the graphical user interface includes a virtual editing scene, and the apparatus includes: an indicator display module, used for controlling the display of a brush indicator in the graphical user interface, wherein the brush indicator is configured with a first response area and a second response area displayed non-overlapping with the first response area, wherein the brush indicator is configured with corresponding brush attributes, and the brush attributes are configured to change the virtual editing scene; a movement control module, configured to respond to a movement control operation on the second response area and control the pointer position of the brush pointer to move from a first position to a second position based on the movement control operation; The scene editing module is used to respond to the trigger operation on the first response area and edit the virtual editing scene at the second position according to the brush attribute.

21. An electronic device, characterized in that: 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 scene editing method according to any one of claims 1 to 19.

22. A computer-readable storage medium, characterized in that: The computer-readable storage medium 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 scene editing method according to any one of claims 1 to 19.