A three-dimensional model processing method, device, equipment and medium

By displaying the cut body in a three-dimensional scene and dynamically adjusting its position to eliminate the overlapping part, the problem of not being able to display the internal structure of the three-dimensional model in the prior art is solved, and a more efficient three-dimensional model processing effect is achieved.

CN114283268BActive Publication Date: 2024-12-10TENCENT CLOUD COMPUTING (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111624744.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-28
Publication Date
2024-12-10
Estimated Expiration
2041-12-28

AI Technical Summary

Technical Problem

The internal structure of the three-dimensional model cannot be effectively displayed in the prior art, which limits the user's visual experience and editing capabilities.

Method used

By displaying the cut body after displaying the three-dimensional scene, and changing the position of the cut body according to the user's operation data, if the cut body overlaps with the three-dimensional model, the overlapping part will be eliminated, the structure of the remaining part will be displayed, and the display of the cut body will be adjusted using configuration data. Effects, including color and brightness, dynamically showcase the internal structure of the three-dimensional model.

Benefits of technology

It realizes a clear display of the internal structure of the three-dimensional model, improves the user's visual experience and editing capabilities, and enhances the flexibility and effect of the three-dimensional model processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114283268B_ABST
    Figure CN114283268B_ABST
Patent Text Reader

Abstract

The embodiments of this specification disclose a three-dimensional model processing method, device, equipment and medium. The three-dimensional model processing method includes: displaying a section body after displaying a three-dimensional scene; changing the position of the section body according to user operation data; if the section body overlaps with a three-dimensional model in the three-dimensional scene, then removing the overlapping part of the three-dimensional model with the section body, and displaying the structure of the remaining part of the three-dimensional model after the overlapping part is removed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a three-dimensional model processing method, device, equipment and medium. Background Art

[0002] In the prior art, a three-dimensional scene including various three-dimensional models can be constructed to bring about a better visual effect, but the user cannot see the internal structure of the three-dimensional model.

[0003] In view of this, a more effective 3D model processing solution is needed. Summary of the invention

[0004] The embodiments of this specification provide a three-dimensional model processing method, device, equipment and medium to solve the technical problem of how to process the three-dimensional model more effectively.

[0005] To solve the above technical problems, the embodiments of this specification provide the following technical solutions:

[0006] The present invention provides a three-dimensional model processing method, including:

[0007] After displaying the three-dimensional scene, the cutaway volume is displayed;

[0008] Changing the position of the sectioned body according to user operation data;

[0009] If the sectioned body overlaps with the three-dimensional model in the three-dimensional scene, the portion of the three-dimensional model that overlaps with the sectioned body is removed, and the structure of the remaining portion of the three-dimensional model after the overlapping portion is removed is displayed.

[0010] Optionally, the method further includes:

[0011] If the overlapping portion changes, the removed portion of the three-dimensional model changes along with the overlapping portion.

[0012] Optionally, the method further includes:

[0013] First configuration data is acquired, and a display effect of a portion of the sectioned body that overlaps with the three-dimensional model is determined according to the first configuration data.

[0014] Optionally, the first configuration data includes color data; and determining the display effect of the portion of the sectioned body that overlaps with the three-dimensional model according to the first configuration data includes:

[0015] Displaying the portion of the cut body that overlaps with the three-dimensional model according to the color corresponding to the color data;

[0016] or,

[0017] The first configuration data includes brightness data; and determining the display effect of the portion of the cut body that overlaps with the three-dimensional model according to the first configuration data includes:

[0018] The portion of the cut body that overlaps with the three-dimensional model is displayed according to the brightness corresponding to the brightness data.

[0019] Optionally, the method further includes:

[0020] The section body configuration data is acquired, and the display effect of the section body is determined according to the section body configuration data.

[0021] Optionally, displaying the sectioned body includes:

[0022] Acquiring configuration data of a transparent channel of the cut body, and determining a display effect of the cut body according to the configuration data of the transparent channel;

[0023] or,

[0024] Changing the position of the sectioned body according to the user operation data includes:

[0025] The position of the cut body is changed according to the user's mouse operation data, keyboard operation data or touch operation data.

[0026] Optionally, the method further includes:

[0027] When the cut body overlaps with the three-dimensional model in the three-dimensional scene, if a cutting instruction is obtained, the part of the three-dimensional model that overlaps with the cut body is cut, and the structure of the remaining part of the three-dimensional model after the overlapping part is cut is displayed;

[0028] If the overlapping portion changes, the cut-off portion of the three-dimensional model remains cut-off.

[0029] The embodiment of this specification provides a three-dimensional model processing device, including:

[0030] A preparation module is used to display the cut-away body after displaying the three-dimensional scene;

[0031] A positioning module, used for changing the position of the sectioned body according to user operation data;

[0032] The execution module is used to remove the overlapping part of the three-dimensional model with the sectioned body if the sectioned body overlaps with the three-dimensional model in the three-dimensional scene, and display the structure of the remaining part of the three-dimensional model after the overlapping part is removed.

[0033] The embodiment of this specification provides a three-dimensional model processing device, including:

[0034] at least one processor;

[0035] as well as,

[0036] a memory communicatively coupled to the at least one processor;

[0037] in,

[0038] The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor, so that the at least one processor can execute the above-mentioned three-dimensional model processing method.

[0039] An embodiment of the present specification provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the above-mentioned three-dimensional model processing method is implemented.

[0040] At least one of the above technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects:

[0041] The above technical solution cuts the three-dimensional model through the cutting body, which can show the internal structure of the three-dimensional model to the user and improve the processing effect of the three-dimensional model. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the following is a brief introduction to the drawings required for use in the embodiments of this specification or the prior art description. Obviously, the drawings introduced below are only some of the drawings that may be involved in the embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0043] Figure 1 It is a schematic diagram of the execution body of the three-dimensional model processing method in the first embodiment of this specification.

[0044] Figure 2 It is a flowchart of the three-dimensional model processing method in the first embodiment of this specification.

[0045] Figure 3 It is a cutaway effect diagram of the first embodiment of this specification.

[0046] Figure 4 It is a structural diagram of a three-dimensional model processing device in the second embodiment of this specification. DETAILED DESCRIPTION

[0047] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions of the embodiments of this specification will be clearly and completely described below in conjunction with the drawings of the embodiments of this specification. Obviously, the embodiments described in this specification are only some embodiments of this application, not all embodiments. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0048] In the prior art, a 3D scene containing various 3D models can be constructed, which can provide users with better visual effects and experience. However, currently, users cannot see the internal structure of the 3D model, which also brings inconvenience to users in understanding or editing the 3D model.

[0049] The first embodiment of this specification (hereinafter referred to as "embodiment one") provides a three-dimensional model processing method. The execution subject of embodiment one can be a terminal (including but not limited to mobile phones, computers, pads, televisions) or a server or an operating system or an application or a three-dimensional model processing platform or a three-dimensional model processing system, etc., that is, the execution subject can be various and can be set, used or changed as needed. In addition, a third-party application can also assist the execution subject in executing embodiment one. For example Figure 1 As shown, the three-dimensional model processing method in the first embodiment can be executed by the server, and an application corresponding to the server can be installed on the terminal (held by the user), and data can be transmitted between the terminal or the application and the server. The terminal or the application can be used to collect, input or output data or process pages or information (for the user), thereby assisting the server in executing the three-dimensional model processing method in the first embodiment.

[0050] like Figure 2 As shown, the three-dimensional model processing method provided in the first embodiment includes:

[0051] S101: (Executing subject) displays the cut body after displaying the three-dimensional scene;

[0052] The execution body of the first embodiment may have a display screen and display a three-dimensional scene according to user operations. For example, the user may import or transfer a three-dimensional scene file to the execution body of the first embodiment, and the execution body of the first embodiment loads the three-dimensional scene file to display the three-dimensional scene; or, the user may build a three-dimensional scene through the execution body of the first embodiment, and the execution body of the first embodiment displays the built three-dimensional scene. The execution body of the first embodiment may be installed with a corresponding application so that the three-dimensional scene file can be loaded or the three-dimensional scene can be built through the application, or the three-dimensional scene can be displayed through the application. The three-dimensional scene displayed by the execution body of the first embodiment is hereinafter referred to as the target three-dimensional scene.

[0053] After the execution subject of the first embodiment displays the target three-dimensional scene, the section body can be displayed. Among them, the execution subject of the first embodiment can display the section body in the target three-dimensional scene. Specifically, the user can configure the section body through the execution subject of the first embodiment, so that the execution subject of the first embodiment can obtain the section body configuration data, and the execution subject of the first embodiment determines the display effect of the section body according to the section body configuration data, that is, the display effect of the section body in the target three-dimensional scene.

[0054] In the first embodiment, the section body configuration data may include the configuration data of the transparent channel of the section body; then displaying the section body may include: obtaining the configuration data of the transparent channel of the section body, and determining the display effect of the section body according to the configuration data of the transparent channel. The section body may be displayed as a state with a higher transparency such as semi-transparent or nearly transparent by configuring the transparent channel of the section body (in the shader), which may also be referred to as transparent processing of the section body.

[0055] In addition, the section body configuration data may include shape configuration data of the section body, so that the section body is displayed in a shape corresponding to the shape configuration data, for example, the section body is configured as a sphere or a cuboid.

[0056] In addition, the user can also configure the section body through other devices other than the execution subject of the first embodiment, so that the execution subject of the first embodiment can obtain the section body configuration data from the other devices and determine the display effect of the section body according to the section body configuration data. The first embodiment does not limit the specific configuration content of the section body configuration data.

[0057] After the execution body of the first embodiment displays the section body, the display effect of the section body can also be changed according to the modification of the section body configuration data by the user.

[0058] S103: (Executing body) changing the position of the sectioned body according to the user operation data;

[0059] In the first embodiment, the position of the sectioned body in the target three-dimensional scene can be changed, that is, the sectioned body can be moved in the target three-dimensional scene. For example, the execution body of the first embodiment can change the position of the sectioned body according to the user operation data. Among them, changing the position of the sectioned body according to the user operation data can include: changing the position of the sectioned body according to the user's mouse operation data or keyboard operation data or touch operation data, that is, the user can drag the sectioned body to move by the mouse, or control the movement of the sectioned body by the keyboard (direction keys), or drag the sectioned body by sliding on the execution body screen of the first embodiment (suitable for touch screen). The first embodiment does not limit the way the position of the sectioned body is changed.

[0060] S105: (Executing body) If the sectioned body overlaps with the three-dimensional model in the three-dimensional scene, the overlapping portion of the three-dimensional model with the sectioned body is removed, and the structure of the remaining portion of the three-dimensional model after the overlapping portion is removed is displayed.

[0061] Since the cut body can move in the target three-dimensional scene, and there are various three-dimensional models in the target three-dimensional scene (the three-dimensional models include but are not limited to three-dimensional models of industrial products or three-dimensional models of human bodies), the cut body may overlap with the three-dimensional models in the target three-dimensional scene as the cut body moves. The execution subject of the first embodiment can determine whether the cut body overlaps with the three-dimensional model in the target three-dimensional scene by comparing the position of the cut body with the positions of the three-dimensional models in the target three-dimensional scene.

[0062] If the cutaway body overlaps with any three-dimensional model in the target three-dimensional scene (hereinafter referred to as the target three-dimensional model), the execution body of the first embodiment removes the overlapping portion of the target three-dimensional model with the cutaway body, and displays the structure of the remaining portion of the target three-dimensional model after the overlapping portion is removed. As long as the target three-dimensional model is not completely within the overlapping portion, after removing the overlapping portion of the target three-dimensional model with the cutaway body, the structure of the remaining portion of the target three-dimensional model includes the surface structure of the remaining portion of the target three-dimensional model body, and the structure of the contact surface between the target three-dimensional model and the cutaway body. The internal structure of the target three-dimensional model can be observed through the structure of the contact surface between the target three-dimensional model and the cutaway body. Figure 3 In the example, the cut body is a cuboid, the target 3D model is a 3D building model, and the overlapped part of the cut body and the 3D building model is located at the upper part of the 3D building model. After removing the overlapped part of the 3D building model with the cut body, the structure of the remaining part of the 3D building model includes the surface structure of the remaining part of the 3D building model, and the structure of the contact surface between the 3D building model and the cut body. Through the structure of the contact surface between the 3D building model and the cut body, the internal structure of the 3D building model can be seen, including the wall and space structures inside the 3D building model.

[0063] In the first embodiment, after the sectioned body overlaps with the target three-dimensional model, if the sectioned body continues to move, the overlapping portion of the sectioned body and the target three-dimensional model will generally change, for example, the volume of the overlapping portion will increase or decrease, and the overlapping portion or shape of the sectioned body and the target three-dimensional model will change. Figure 3 In the example, if the section body moves from top to bottom and overlaps with the three-dimensional model of the building, as the section body moves, the overlapping volume of the section body and the three-dimensional model of the building increases, and the overlapping part also extends below the three-dimensional model of the building.

[0064] In the first embodiment, the portion of the target three-dimensional model that is eliminated follows the change of the overlapping portion, that is, as the portion of the target three-dimensional model that overlaps with the sectioned body changes, the portion of the target three-dimensional model that is eliminated (by the execution subject of the first embodiment) is always the portion of the target three-dimensional model that overlaps with the sectioned body, and what is displayed (by the execution subject of the first embodiment) is always the structure of the remaining portion of the target three-dimensional model after the overlapping portion is eliminated. For example, if the volume of the overlapping portion increases, the volume of the eliminated portion increases; if the volume of the overlapping portion decreases, the volume of the eliminated portion decreases; if the overlapping portion changes, the eliminated portion changes accordingly; if the shape of the overlapping portion changes, the shape of the eliminated portion changes accordingly. As the sectioned body moves, some parts of the target three-dimensional model may change from "overlapping with the sectioned body" to "not overlapping with the sectioned body", in which case the part will restore its original appearance before being eliminated after it no longer overlaps with the sectioned body, that is, the part will no longer be eliminated; some parts of the target three-dimensional model may change from "not overlapping with the sectioned body" to "overlapping with the sectioned body", in which case the part will be eliminated after it overlaps with the sectioned body. For example Figure 3 In the above example, if the section body moves from top to bottom and overlaps with the building 3D model, the upper part of the building 3D model will overlap with the section body first, and the overlapping part will be removed. Assuming that the height of the building 3D model is greater than the height of the section body, as the section body moves downward, the overlapping part will also extend below the building 3D model. If some parts of the upper part of the building 3D model change from "overlapping with the section body" to "not overlapping with the section body", then after it does not overlap with the section body, the part will restore its original appearance before being removed; if some parts of the lower part of the building 3D model change from "not overlapping with the section body" to "overlapping with the section body", then the part will be removed after it overlaps with the section body.

[0065] When the target 3D model no longer overlaps with the sectioned body, the target 3D model no longer has any removed parts, and the target 3D model is restored to its original appearance as a whole.

[0066] In the first embodiment, the user can configure the cutting effect through the execution body of the first embodiment, so that the execution body of the first embodiment can obtain the cutting effect configuration data (hereinafter referred to as "first configuration data"). The execution body of the first embodiment determines the display effect of the overlapping part of the cutting body with the target three-dimensional model according to the first configuration data.

[0067] In the first embodiment, the first configuration data may include color data; then determining the display effect of the portion of the cut body that overlaps with the target three-dimensional model based on the first configuration data may include: displaying the portion of the cut body that overlaps with the target three-dimensional model according to the color corresponding to the color data, that is, displaying the portion of the cut body that overlaps with the target three-dimensional model as the color corresponding to the color data. Alternatively, the first configuration data may include brightness data; then determining the display effect of the portion of the cut body that overlaps with the target three-dimensional model based on the first configuration data may include: displaying the portion of the cut body that overlaps with the target three-dimensional model according to the brightness corresponding to the brightness data, that is, displaying the portion of the cut body that overlaps with the target three-dimensional model as the brightness corresponding to the brightness data.

[0068] Specifically, the execution entity of Example 1 makes the rendering sequence or rendering priority of the part of the sectioned body that overlaps with the target three-dimensional model higher than the rendering sequence or rendering priority of the part of the target three-dimensional model that overlaps with the sectioned body, so as to display the part of the sectioned body that overlaps with the target three-dimensional model as the display effect corresponding to the first configuration data, including but not limited to the above-mentioned color effect or brightness effect.

[0069] In addition, the user may also configure the cutting effect through other devices other than the execution subject of the first embodiment, so that the execution subject of the first embodiment may obtain the first configuration data from the other devices.

[0070] Generally, no matter how the overlapping portion of the sectioned body with the target three-dimensional model is displayed, it will not affect the observation of the structure of the contact surface between the interior of the target three-dimensional model and the sectioned body (that is, it will not obstruct the structure of the interior of the target three-dimensional model and the contact surface between the sectioned body), that is, it will not affect the observation of the internal structure of the target three-dimensional model (that is, it will not obstruct the observable structure inside the target three-dimensional model after removing the overlapping portion of the three-dimensional model with the sectioned body).

[0071] In the first embodiment, when the cut body overlaps with the target three-dimensional model, the execution subject of the first embodiment can determine whether to obtain the cutting instruction. The user can issue the cutting instruction to the execution subject of the first embodiment by operating the execution subject of the first embodiment, so that the execution subject of the first embodiment obtains the cutting instruction; or the user can issue the cutting instruction to the execution subject of the first embodiment through other devices other than the execution subject of the first embodiment, so that the execution subject of the first embodiment obtains the cutting instruction.

[0072] If the execution subject of the first embodiment obtains the cutting instruction, the execution subject of the first embodiment cuts the part of the target three-dimensional model that overlaps with the sectioned body, that is, cuts the part of the target three-dimensional model that overlaps with the sectioned body, and displays the structure of the remaining part of the target three-dimensional model after the overlapping part is cut. In this case, the structure of the remaining part of the target three-dimensional model still includes the surface structure of the remaining part of the target three-dimensional model body, and the structure of the contact surface between the target three-dimensional model and the sectioned body.

[0073] The difference between trimming the part of the target 3D model that overlaps with the sectioned body and removing the part of the target 3D model that overlaps with the sectioned body is:

[0074] For the operation of removing the overlapping parts of the target three-dimensional model with the sectioned body, as the sectioned body moves, some parts of the target three-dimensional model may change from "overlapping with the sectioned body" to "not overlapping with the sectioned body". After the part no longer overlaps with the sectioned body, the part returns to its original appearance before being removed, that is, the part is no longer removed, that is, the removal effect changes dynamically.

[0075] For the operation of cutting the part of the target three-dimensional model that overlaps with the sectioned body, even if some parts of the target three-dimensional model may change from "overlapping with the sectioned body" to "not overlapping with the sectioned body" as the sectioned body moves, if the part is cut when it overlaps with the sectioned body, it will remain in the cut state after it no longer overlaps with the sectioned body, that is, if the part of the target three-dimensional model that overlaps with the sectioned body changes, the part of the target three-dimensional model that has been cut will remain in the cut state, unless the execution subject of Example 1 obtains an instruction to cancel the cutting. Of course, as the part of the target three-dimensional model that overlaps with the sectioned body changes, the user can issue multiple cutting instructions to the execution subject of Example 1 in order to cut different parts of the target three-dimensional model.

[0076] In Example 1, the overlapping parts of the three-dimensional model with the sectioning body are eliminated, that is, the three-dimensional model is sectioned through the sectioning body, so that the internal structure of the three-dimensional model can be displayed to the user. The user can edit and configure the internal structure displayed by the three-dimensional model. Therefore, Example 1 makes it easy for the user to observe the internal structure of the three-dimensional model and edit the internal results of the three-dimensional model, thereby improving the three-dimensional model processing effect.

[0077] In the first embodiment, the user can freely configure the display effect of the sectioned body and the display effect of the portion of the sectioned body that overlaps with the three-dimensional model, thereby improving the flexibility and effect of the three-dimensional model processing.

[0078] In the first embodiment, for the operation of culling, the culling effect changes dynamically, which is beneficial for observing and editing the internal structure of the 3D model and maintaining the overall appearance of the 3D model. For the operation of cutting, the more parts of the 3D model are cut, the more internal structure of the 3D model can be observed.

[0079] like Figure 4 As shown, the second embodiment of this specification provides a three-dimensional model processing device corresponding to the three-dimensional model processing method described in the first embodiment, including:

[0080] Preparation module 202, for displaying the cut volume after displaying the three-dimensional scene;

[0081] A positioning module 204, used to change the position of the cut body according to user operation data;

[0082] The execution module 206 is used to remove the overlapping portion of the three-dimensional model with the sectioned body if the sectioned body overlaps with the three-dimensional model in the three-dimensional scene, and display the structure of the remaining portion of the three-dimensional model after the overlapping portion is removed.

[0083] Optionally, the execution module 206 is further configured to, if the overlapping portion changes, cause the removed portion of the three-dimensional model to change along with the overlapping portion.

[0084] Optionally, the execution module 206 is further configured to obtain first configuration data, and determine a display effect of a portion of the sectioned body that overlaps with the three-dimensional model according to the first configuration data.

[0085] Optionally, the first configuration data includes color data; and determining the display effect of the portion of the sectioned body that overlaps with the three-dimensional model according to the first configuration data includes:

[0086] Displaying the portion of the cut body that overlaps with the three-dimensional model according to the color corresponding to the color data;

[0087] or,

[0088] The first configuration data includes brightness data; and determining the display effect of the portion of the cut body that overlaps with the three-dimensional model according to the first configuration data includes:

[0089] The portion of the cut body that overlaps with the three-dimensional model is displayed according to the brightness corresponding to the brightness data.

[0090] Optionally, the preparation module 202 is further configured to obtain section body configuration data, and determine a display effect of the section body according to the section body configuration data.

[0091] Optionally, displaying the sectioned body includes:

[0092] Acquiring configuration data of a transparent channel of the cut body, and determining a display effect of the cut body according to the configuration data of the transparent channel;

[0093] or,

[0094] Changing the position of the sectioned body according to the user operation data includes:

[0095] The position of the cut body is changed according to the user's mouse operation data, keyboard operation data or touch operation data.

[0096] Optionally, the execution module 206 is further configured to, when the cut body overlaps with the three-dimensional model in the three-dimensional scene, cut the part of the three-dimensional model that overlaps with the cut body if a cutting instruction is obtained, and display the structure of the remaining part of the three-dimensional model after the overlapping part is cut;

[0097] If the overlapping portion changes, the cut-off portion of the three-dimensional model remains cut-off.

[0098] A third embodiment of the present specification provides a three-dimensional model processing device, including:

[0099] at least one processor;

[0100] as well as,

[0101] a memory communicatively coupled to the at least one processor;

[0102] in,

[0103] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the three-dimensional model processing method described in the first embodiment.

[0104] A fourth embodiment of the present specification provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the three-dimensional model processing method described in the first embodiment is implemented.

[0105] The above embodiments may be used in combination, and modules with the same name between different embodiments or within the same embodiment may be the same or different modules.

[0106] The above describes specific embodiments of the present specification, and other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily have to be performed in the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0107] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and non-volatile computer-readable storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0108] The apparatus, device, non-volatile computer-readable storage medium and method provided in the embodiments of this specification correspond to each other, and therefore, the apparatus, device, and non-volatile computer storage medium also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the corresponding apparatus, device, and non-volatile computer storage medium will not be repeated here.

[0109] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0110] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0111] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0112] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0113] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification may be in the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the embodiments of this specification may be in the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0114] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0115] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0116] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0117] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0118] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0119] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0120] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0121] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0122] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0123] The above is only an embodiment of this specification and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A three-dimensional model processing method, characterized in that: The method comprises: After displaying the three-dimensional scene, obtain the configuration data of the transparent channel of the sectioned body; Determining a display effect of the cut body according to the configuration data of the transparent channel; Changing the position of the sectioned body according to user operation data; If the sectioned body overlaps with a target three-dimensional model in the three-dimensional scene, the overlapping portion of the target three-dimensional model with the sectioned body is removed, and the structure of the remaining portion of the target three-dimensional model after the overlapping portion is removed is displayed; the structure of the remaining portion of the target three-dimensional model includes the structure of the contact surface between the target three-dimensional model and the sectioned body, and the target three-dimensional model is any three-dimensional model in the three-dimensional scene.

2. The method according to claim 1, characterized in that The method further comprises: If the overlapping portion changes, the removed portion of the three-dimensional model changes along with the overlapping portion.

3. The method according to claim 1, characterized in that The method further comprises: First configuration data is acquired, and a display effect of a portion of the sectioned body that overlaps with the three-dimensional model is determined according to the first configuration data.

4. The method according to claim 3, characterized in that The first configuration data includes color data; and determining the display effect of the portion of the cut body that overlaps with the three-dimensional model according to the first configuration data includes: Displaying the portion of the cut body that overlaps with the three-dimensional model according to the color corresponding to the color data; or, The first configuration data includes brightness data; and determining the display effect of the portion of the cut body that overlaps with the three-dimensional model according to the first configuration data includes: The portion of the cut body that overlaps with the three-dimensional model is displayed according to the brightness corresponding to the brightness data.

5. The method according to claim 1, characterized in that The method further comprises: The section body configuration data is acquired, and the display effect of the section body is determined according to the section body configuration data.

6. The method according to claim 1, characterized in that The step of changing the position of the sectioned body according to the user operation data comprises: The position of the cut body is changed according to the user's mouse operation data, keyboard operation data or touch operation data.

7. The method according to claim 1, characterized in that The method further comprises: When the cut body overlaps with the three-dimensional model in the three-dimensional scene, if a cutting instruction is obtained, the part of the three-dimensional model that overlaps with the cut body is cut, and the structure of the remaining part of the three-dimensional model after the overlapping part is cut is displayed; If the overlapping portion changes, the cut-off portion of the three-dimensional model remains cut-off.

8. A three-dimensional model processing device, characterized in that: include: A preparation module is used to obtain the configuration data of the transparent channel of the sectioned body after displaying the three-dimensional scene; Determining a display effect of the cut body according to the configuration data of the transparent channel; A positioning module, used for changing the position of the sectioned body according to user operation data; An execution module is used to remove the overlapping part of the target three-dimensional model with the sectioned body if the sectioned body overlaps with the target three-dimensional model in the three-dimensional scene, and display the structure of the remaining part of the target three-dimensional model after the overlapping part is removed; the structure of the remaining part of the target three-dimensional model includes the structure of the contact surface between the target three-dimensional model and the sectioned body, and the target three-dimensional model is any three-dimensional model in the three-dimensional scene.

9. The device according to claim 8, characterized in that The execution module is also used for, if the overlapping portion changes, causing the eliminated portion of the three-dimensional model to change along with the overlapping portion.

10. The device according to claim 8, characterized in that The execution module is further used to obtain first configuration data, and determine the display effect of the portion of the sectioned body that overlaps with the three-dimensional model according to the first configuration data.

11. The device according to claim 8, characterized in that The execution module is also used to, when the sectioned body overlaps with the three-dimensional model in the three-dimensional scene, cut the overlapping part of the three-dimensional model and display the structure of the remaining part of the three-dimensional model after the overlapping part is cut if a cutting instruction is obtained; if the overlapping part changes, the cut part of the three-dimensional model remains in the cut state.

12. A three-dimensional model processing device, characterized in that: include: at least one processor; as well as, a memory communicatively coupled to the at least one processor; in, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the three-dimensional model processing method according to any one of claims 1 to 7.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the three-dimensional model processing method according to any one of claims 1 to 7 is implemented.