Methods, devices, electronic devices, and storage media for compressed previewing of 3D clothing models

CN122569809APending Publication Date: 2026-08-14LINGDI (ZHEJIANG) TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-05
Publication Date
2026-08-14

AI Technical Summary

Technical Problem

由于单次压缩并输出压缩后文件耗时较长(特别是尺寸较大、细节丰富的3D服装模型,完成一次压缩并输出压缩后文件可能需要几十秒甚至几分钟),所以上述调整压缩参数反复重试的压缩方案,操作繁琐,压缩效率较低,用户体验较差,亟待改进

Benefits of technology

[0014] According to a fifth aspect of one or more embodiments of this specification, a computer program product is provided, comprising a computer program/instructions that, when executed by a processor, implement the steps of the method as described in the first aspect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122569809A_ABST
    Figure CN122569809A_ABST
Patent Text Reader

Abstract

This specification provides one or more embodiments of a method, apparatus, electronic device, and storage medium for compressing and previewing a 3D clothing model. The method includes: in response to a compression triggering operation performed on a 3D clothing model, displaying a parameter configuration control corresponding to at least one clothing component constituting the 3D clothing model; determining compression parameters configured through the parameter configuration control; and displaying compressed preview information of the 3D clothing model generated according to the compression parameters. This method allows users to preview the compression effect corresponding to the compression parameters before actually compressing the model and outputting the file. By adjusting the compression parameters, users can control the compression process to meet their compression needs in a single compression and output, simplifying user operations and significantly reducing user waiting time compared to multiple compressions and file outputs, thus improving the overall efficiency of model compression.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of digital clothing technology, and more particularly to a method, apparatus, electronic device, and storage medium for compressing and previewing 3D clothing models. Background Technology

[0002] With the development of digital technology, 3D (3D) models are increasingly widely used in the clothing industry, such as in the design, production and sales stages of clothing.

[0003] In certain scenarios, it's necessary to compress 3D clothing models to reduce the amount of data that needs to be transmitted and displayed. Taking online sales as an example, a 3D clothing model can be displayed on a garment's details page, allowing consumers to view the garment's texture details and how it looks on a three-dimensional body, thus encouraging purchases. However, web pages have high requirements for the loading speed and display performance of 3D clothing models (especially on mobile devices). Excessively large model files can cause slow page loading and negatively impact user experience. Therefore, it's necessary to compress 3D clothing models to upload smaller model files for display on the webpage.

[0004] In related technologies, when compressing 3D clothing models to generate smaller model files, users need to first set a certain compression parameter to complete the compression, and then check the size of the compressed file and the actual display effect of the corresponding compressed model. If the compression effect is not satisfactory (e.g., the compression level is too light, resulting in a still too large file, or the compression level is too heavy, resulting in a blurry model and loss of many details), users need to repeatedly adjust the parameters and compress multiple times until they are satisfied. Since each compression and output of the compressed file takes a long time (especially for large, detailed 3D clothing models, completing a single compression and output of the compressed file may take tens of seconds or even minutes), the above-mentioned compression scheme of repeatedly adjusting compression parameters and retrying is cumbersome, inefficient, and provides a poor user experience, and urgently needs improvement. Summary of the Invention

[0005] In view of the above, one or more embodiments of this specification provide the following technical solutions:

[0006] According to a first aspect of one or more embodiments of this specification, a method for compressed previewing of a 3D clothing model is provided, comprising:

[0007] In response to a compression trigger operation performed on a 3D clothing model, a parameter configuration control corresponding to at least one clothing component constituting the 3D clothing model is displayed.

[0008] Determine the compression parameters configured through the parameter configuration control, and display the compressed preview information of the 3D clothing model generated according to the compression parameters.

[0009] According to a second aspect of one or more embodiments of this specification, a compressed preview device for a 3D clothing model is provided, comprising:

[0010] The configuration control display module is used to display parameter configuration controls corresponding to at least one clothing component constituting the 3D clothing model in response to a compression trigger operation implemented for the 3D clothing model.

[0011] The preview information display module is used to determine the compression parameters configured through the parameter configuration control and to display the compressed preview information of the 3D clothing model generated according to the compression parameters.

[0012] According to a third aspect of one or more embodiments of this specification, an electronic device is provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor performs the steps of the method as described in the first aspect by executing the executable instructions.

[0013] According to a fourth aspect of one or more embodiments of this specification, a computer-readable storage medium is provided that stores computer instructions thereon, which, when executed by a processor, implement the steps of the method as described in the first aspect.

[0014] According to a fifth aspect of one or more embodiments of this specification, a computer program product is provided, comprising a computer program / instructions that, when executed by a processor, implement the steps of the method as described in the first aspect.

[0015] As can be seen from the above embodiments, in response to a compression trigger operation performed on a 3D clothing model, this solution displays a parameter configuration control corresponding to at least one clothing component constituting the 3D clothing model; furthermore, after determining the compression parameters configured through the parameter configuration control, it can display the compression preview information of the 3D clothing model generated according to the compression parameters, so that the user can preview the compression effect corresponding to the compression parameters.

[0016] This invention proposes a compression preview scheme for 3D clothing models, allowing users to preview the compression effect of current parameters (such as the size of the compressed file and the display effect of the compressed model) while adjusting the compression parameters, thus determining whether the compression effect meets the requirements. Obviously, if it does not meet the requirements, the compression parameters can be adjusted until they do, and then the 3D clothing model is compressed according to the adjusted parameters, and the corresponding compressed file is output—ensuring that the compressed file meets the user's compression needs. It is evident that regardless of the size of the 3D clothing model or the size of the compressed file, this scheme only requires outputting the compressed file once, eliminating the need for users to compress and output the compressed file multiple times. Previewing the compression effect not only simplifies user operations to a certain extent but also significantly reduces user waiting time, significantly improving the overall compression efficiency of 3D clothing models. Attached Figure Description

[0017] Figure 1 This is a schematic diagram of the architecture of a model compression system provided in an exemplary embodiment.

[0018] Figure 2 This is a flowchart of a method for compressing and previewing a 3D clothing model, provided as an exemplary embodiment.

[0019] Figure 3 This is a schematic diagram illustrating the display effect of a file export interface provided in an exemplary embodiment.

[0020] Figure 4 This is a schematic diagram illustrating the display effect of a texture parameter configuration control provided in an exemplary embodiment.

[0021] Figure 5 This is a schematic diagram illustrating the display effect of a grid parameter configuration control provided in an exemplary embodiment.

[0022] Figure 6 This is an exemplary embodiment illustrating a selection operation for a texture parameter configuration control.

[0023] Figure 7a This is an exemplary embodiment of a display effect diagram of texture compression preview information.

[0024] Figure 7b This is an exemplary embodiment of a display effect diagram of grid compression preview information.

[0025] Figure 8 This is a schematic diagram illustrating the display effect of a rendered screen in a grid mode, provided by an exemplary embodiment.

[0026] Figure 9This is a schematic diagram illustrating the display effect of a device pattern in a texture mode, as provided in an exemplary embodiment.

[0027] Figure 10 This is an exemplary embodiment of a model display effect in a grid mode.

[0028] Figure 11 This is a schematic diagram of the structure of a device provided in an exemplary embodiment.

[0029] Figure 12 This is a block diagram of a compressed preview device for a 3D clothing model provided in an exemplary embodiment. Detailed Implementation

[0030] To address the technical problems existing in related technologies, this invention proposes a method for compressing and previewing 3D clothing models. Before compressing the 3D clothing model and outputting the compressed file (i.e., the compressed model file), the compression preview information corresponding to the user-set compression parameters is determined and displayed to the user. This allows the user to know the compression effect corresponding to the parameters in advance, thereby avoiding the user from repeatedly retrying compression and outputting the compressed file, in order to improve the overall compression efficiency of 3D clothing models.

[0031] Figure 1 This is a schematic diagram of the architecture of a model compression system provided in an exemplary embodiment. For example... Figure 1 As shown, the system may include a network 10, a server, such as server 11; and several electronic devices, such as PCs (Personal Computers) 12, 13, and 14. Of course, it should be noted that... Figure 1 In order to illustrate the possible implementation methods of this solution as comprehensively as possible, the system drawn includes the above-mentioned multiple devices. In fact, the model compression system described in this invention may also include only any one electronic device, such as only the aforementioned PC12, etc. This is hereby stated.

[0032] It is worth noting that the aforementioned model compression service can be provided to users as a standalone service. For example, any of the aforementioned PCs can run a standalone app that provides the model compression service, which can be used to implement the model compression scheme described in this invention. Alternatively, the aforementioned model compression service can also be integrated as a functional module / service module into other services / software. For example, any of the aforementioned PCs can run clothing design software, which can integrate model compression functionality. In implementing the aforementioned model compression function according to the embodiments of this invention, the software can operate offline or through interaction with server 11. In other words, regarding the model compression function described in this invention only, the software used to implement this function can run offline or online, and the embodiments of this invention do not impose any limitations on this.

[0033] Server 11 can be a physical server containing an independent host, or it can be a virtual server hosted in a host cluster. During operation, this server can run server-side programs for a specific application to implement the relevant functions of that application. For example, when server 11 runs a model compression service program, it can act as a server for the model compression service, such as cooperating with the aforementioned software running on PC 12 (in this case, the software acts as a client for the model compression service) to provide model compression services to users.

[0034] It is understood that the aforementioned PC is only one type of electronic device that users can use. In reality, users can obviously also use electronic devices such as mobile phones, tablets, laptops, PDAs (Personal Digital Assistants), wearable devices (such as smart glasses, smartwatches, etc.), etc., and one or more embodiments in this specification do not limit this. During operation, the electronic device can run a client-side program of an application to implement the relevant functions of that application. As mentioned earlier, when the electronic device runs a model compression service program, it can act as a client for that model compression service. The client application can be launched and run on the electronic device. The client-side program can be a native application installed on the electronic device, or it can be a mini program, quick app, or other similar form. Of course, when using web technologies such as HTML5 or similar web technologies, the above-mentioned model compression function can be implemented through a page displayed by a browser (which can be provided by a website backend program running on server 11). Here, the browser can be a standalone browser application or a browser module embedded in some applications, which will not be elaborated further. The following examples illustrate this by using an electronic device running clothing design software that integrates model compression functionality.

[0035] For the network 10 used for interaction between electronic devices such as PC 12 and servers such as server 11, communication can be implemented using either wired or wireless networks based on the communication methods supported by the corresponding electronic devices. This specification does not impose any restrictions on this. For example, PC 12 can support both wired and wireless communication simultaneously, so it can use either wired or wireless networks as needed.

[0036] It should be noted that the clothing described in this invention may include wearable garments (such as hats, scarves, tops, pants, skirts, shoes, masks, watches, sleeves, knee pads, etc.) and / or wearable accessories (such as glasses, headphones, bows, bags, badges, pendants, etc.); while the objects described in this invention may include any object that can wear the aforementioned clothing, such as a human body, pets, or statues, and the embodiments of this invention do not impose any limitations on this. The following embodiments use the scenario of clothing designed in clothing design software being worn on a human body as an example for illustration.

[0037] Figure 2 This is a flowchart illustrating a method for compressing and previewing a 3D clothing model, provided in an exemplary embodiment. This method can be applied to the aforementioned model compression system. From a hardware perspective, the method is applied to an electronic device within the model compression system; from a software perspective, the method can be applied to software within the electronic device that instructs the model compression function (such as the aforementioned clothing design software). To clearly and concisely illustrate this solution, the following embodiments use clothing modeling software as the execution subject of the method. Figure 2 As shown, the method may include the following steps 202-204.

[0038] Step 202: In response to a compression trigger operation performed on the 3D clothing model, display parameter configuration controls corresponding to at least one clothing component constituting the 3D clothing model.

[0039] The 3D clothing model described in this invention is a 3D model generated by 3D modeling a target garment (which can be any of the aforementioned types) using 3D modeling technology; in other words, the target garment is the modeling object of the 3D clothing model. This invention does not limit the specific process of creating / generating the 3D clothing model or the software used. For example, the clothing modeling software can support 3D modeling functions, allowing users to directly model the target garment in the software to generate the aforementioned 3D clothing model; alternatively, the clothing modeling software can also support model display functions, in which case users can model the target garment using other software running on an electronic device (such as drawing software) to generate a 3D clothing model, and then import and open the model into the aforementioned clothing modeling software.

[0040] It should be noted that the 3D clothing model is a three-dimensional form of digital clothing. Furthermore, this model can be worn on corresponding parts of a 3D model (i.e., a virtual person, or digital person), in which case the model can realistically present the actual wearing effect of the target clothing on the human body.

[0041] Furthermore, the 3D clothing model can include one or more digital garments, each of which can be composed of multiple garment components. Taking a top as an example, it can be composed of components such as a front, back, sleeves, collar, pockets, hem, lining, closures, and decorative elements. Of course, the granularity of dividing garment components can be more detailed; for example, the front can include components such as the front panel and placket, the sleeves can include components such as sleeve panels and cuffs, and the closures can include components such as zippers, buttons, and Velcro. Taking a hat as an example, it can be composed of components such as a crown, brim, visor, hatband, top, lining, sweatband, adjustment strap, decorative elements, earmuffs, buckle, and decorative patterns. The accompanying drawings and their corresponding embodiments below illustrate this using a hat as an example.

[0042] Typically, a 3D clothing model consists of two types of data: mesh and texture. These two elements together determine the model's visual effect and detail. The mesh provides the basic framework of the 3D clothing model, usually including vertices, edges, and faces, used to describe the clothing's three-dimensional geometric features (such as contours, folds, and shapes). Textures are 2D images overlaid on the mesh surface, used to represent the clothing's color, pattern, material, and details, enhancing the model's realism and detail. Textures can be categorized by type, such as diffuse maps, normal maps, specular maps, bump maps, transparency maps, and ambient occlusion maps. It should be noted that each of the aforementioned clothing components can have its own corresponding mesh and texture.

[0043] Furthermore, many of the operations mentioned in the embodiments of this invention are performed by the user in the corresponding interface. The user can be any natural person using the model compression function, such as a designer using the clothing design software, or a programmer creating a clothing sales page. The way the user performs the operation is determined by the interface functions, such as clicking, double-clicking, dragging, etc. (using a finger or mouse), and the embodiments of this invention do not limit this.

[0044] In one embodiment, a user can trigger a file export operation on the 3D clothing model to initiate compression-related processing of the model. In response to this operation, the clothing modeling software can display a compression export control for the 3D clothing model in the file export interface. At this time, the user's action of triggering the compression export control is considered the aforementioned compression trigger operation.

[0045] The file export triggering operation may include a format selection operation (for selecting / specifying the file format of the compressed model file to be generated) and an address specification operation (for specifying the storage address of the compressed model file to be generated). For example, clothing modeling software may display a file export function option for the model in the operation interface of the 3D clothing model. The user can select or specify at least one target format from the drop-down options or pop-up window that appears after triggering this option, instructing the software to generate and export a compressed model file conforming to the target format using the embodiments described below. Furthermore, the clothing modeling software may pop up an address indication window, allowing the user to specify a target address in this window for storing the subsequently generated compressed model file conforming to the target format. The target format mentioned above can be at least one of the following: OBJ (Wavefront Object File, used to store 3D model data including geometry (vertices, faces, normals, etc.) and material information), FBX (Filmbox, used to store complex scene data such as 3D models, animations, materials, and lighting), GLB (GLBinary, used for efficient storage and transmission of 3D models, materials, animations, etc.), DXF (Drawing Exchange Format, used to store 2D and 3D CAD data, supporting vector graphics and metadata), and SCO (Spatial Capture Object, used to store 3D scan data, including point clouds and geometric information). The target address mentioned above can be the local storage address of the electronic device, or it can be an external storage address accessible to the device (such as the storage address of an extended device or the storage address of a cloud database, etc.), which will not be elaborated further.

[0046] For example, after a user selects GLB as the target format, the clothing modeling software displays a file export interface in response to the user's file export trigger operation. See [link to relevant documentation]. Figure 3 .like Figure 3As shown, the interface displays model 301 (i.e., the 3D clothing model) and a compression / export control 305 (i.e., the "Compress / Export" button) for that model. Additionally, the interface also displays a model size preview control 302 (i.e., the "Preview Size" button), a reset control 304 (i.e., the "Reset" button), a compression confirmation control 306 (i.e., the "Confirm" button), an export cancellation control 307 (i.e., the "Cancel" button), and other related information 308. When the file export interface first pops up, the size description information 308 of model 301 is empty. If the user clicks the model size preview control 304, the clothing modeling software can respond to this operation by displaying the original model description information 303 (i.e., mesh face count, mesh size, texture size, total file size, etc.). Users can view other related information 308 to obtain other relevant information about model 301 or perform some processing operations on the model. If the user clicks the reset control 304, they can change to another 3D clothing model or recalculate the original model description information 303. If the user clicks the compression / export control 305 (i.e., the "Preview Size" button), the software can display other related information. Figure 3 If the user clicks the mouse (as indicated by the mouse cursor, this operation is the aforementioned compression trigger operation), the clothing modeling software can respond to this operation by displaying parameter configuration controls corresponding to at least one garment component constituting the model 301. If the user clicks the compression confirmation control 306, the clothing modeling software can respond to this operation by outputting the compressed model file corresponding to the compression parameters that have been set at this time. If the user clicks the export cancellation control 307, the clothing modeling software can respond to this operation by closing the file export interface.

[0047] In one embodiment, the clothing modeling software can respond to the compression trigger operation by directly displaying parameter configuration controls corresponding to at least one clothing component in the aforementioned file export interface. Alternatively, it can respond to the compression trigger operation by popping up a model compression interface and displaying the parameter configuration controls in the parameter configuration area of ​​that interface, allowing the user to configure and set compression parameters for the 3D clothing model through the parameter configuration space. It is understood that popping up a new interface (i.e., the model compression interface) outside the interface where the user performs the compression trigger operation (i.e., the aforementioned file export interface) and displaying the parameter configuration controls in that interface allows for a centralized and clear display of model compression-related content (such as the aforementioned parameter configuration controls), avoiding clutter and potential operational errors caused by displaying too many controls in the file export interface.

[0048] For example, the model compression interface displayed by clothing modeling software in response to a user-triggered compression operation can be seen in [reference needed]. Figure 4 .like Figure 4As shown, the model display area 41 on the left side of the interface displays not only the model 411 corresponding to the hat (i.e., the 3D clothing model), but also texture mode control 412 and mesh mode control 413. The parameter configuration area 42 on the right side of the interface displays parameter configuration controls corresponding to clothing parts, such as batch configuration control 423 and independent configuration controls 424 corresponding to each clothing part (i.e., the seven parts of the hat, including the crown, visor, band, top, lining, adjustment strap, and device pattern). In addition, texture compression control 421 and mesh compression control 422 can be displayed above the parameter configuration area 42, and compression effect preview control 425, compression export confirmation control 426, and compression cancellation control 427 can be displayed below the area.

[0049] As mentioned earlier, 3D clothing models can be described from two dimensions: meshes and textures. Each clothing component constituting a 3D clothing model can have corresponding meshes and textures. Based on this, in one embodiment, the parameter configuration area of ​​the model compression interface can also display texture compression controls and mesh compression controls, allowing users to control the display of different types of parameter configuration controls on the page. For example, the clothing modeling software can first determine which of the texture compression controls and the mesh compression controls is active (at any given moment when the model compression interface is displayed, only one of the texture compression controls and the mesh compression controls is active). If the texture compression control is determined to be active, then the texture parameter configuration control corresponding to the at least one clothing component can be displayed in the parameter configuration area; conversely, if the mesh compression control is determined to be active, then the mesh parameter configuration control corresponding to the at least one clothing component can be displayed in the parameter configuration area. In this way, clothing modeling software can always display the parameter configuration control corresponding to the active compression control in response to user operation, so that users can view it; furthermore, users can configure the corresponding compression parameters for textures and meshes respectively, thereby further improving the precision of compression settings for the model and helping to meet users' diverse and detailed compression needs for 3D clothing models.

[0050] In one embodiment, the control in the active display state can be determined according to the display timing of the model compression interface. For example, when the model compression interface is first displayed, the default control among the texture compression control and the mesh compression control can be set to the active display state; and after the model compression interface is displayed, in response to a display activation operation performed on either the texture compression control or the mesh compression control, that control can be set to the active display state. The default control can be either the texture compression control or the mesh compression control: if the default control is the texture compression control, the texture parameter configuration control corresponding to the 3D clothing model is displayed in the parameter configuration area immediately after the model compression interface pops up, allowing the user to set the compression parameters for each clothing component's texture dimension; if the default control is the mesh compression control, the mesh parameter configuration control corresponding to the 3D clothing model is displayed in the parameter configuration area immediately after the model compression interface pops up, allowing the user to set the compression parameters for each clothing component's mesh dimension. Of course, this embodiment of the invention does not limit whether the default control is a texture compression control or a mesh compression control, and can be flexibly set according to actual needs.

[0051] Additionally, during the normal display of the model compression interface in the clothing modeling software, the user can actively trigger either the texture compression control or the mesh compression control (i.e., activate the display of that control) to switch the displayed content in the parameter configuration area of ​​the clothing modeling software: If the texture compression control is currently active (and the texture parameter configuration control is being displayed), and the user clicks the mesh compression control, the clothing modeling software can refresh the texture parameter configuration control displayed in the parameter configuration area to the mesh parameter configuration control; conversely, if the mesh compression control is currently active (and the mesh parameter configuration control is being displayed), and the user clicks the texture compression control, the clothing modeling software can refresh the mesh parameter configuration control displayed in the parameter configuration area to the texture parameter configuration control. For example... Figure 4 The parameter configuration controls displayed in the parameter configuration area 42 (i.e., the batch configuration control 423 and the independent configuration control 424 corresponding to each garment part) are the texture parameter configuration controls. If the user clicks the mesh compression control 422 at this time, the garment modeling software can refresh. Figure 4 The model compression interface shown is shown below. The refreshed interface can be found here. Figure 5 .like Figure 5As shown, the parameter configuration area 52 on the right side of the interface displays parameter configuration controls (i.e., mesh face count configuration control 523 and detail configuration control 524) – these controls are the mesh parameter configuration controls. Additionally, the parameter configuration area 52 also displays the pre-compression dimensions of each garment component (i.e., mesh pieces 1 to 6, each mesh piece being a continuous area composed of multiple meshes / faces), such as the original mesh face count before compression. It is evident that the user... Figure 4 Clicking the mesh compression control 422 in the model compression interface shown will jump to... Figure 5 The interface shown; correspondingly, in Figure 5 Clicking the texture compression control 521 in the model compression interface shown will also take you to... Figure 4 The interface shown. Similarly, the user in Figure 7a Clicking the mesh compression control in the model compression interface shown will take you to... Figure 7b The interface shown, while Figure 7b Clicking the texture compression control in the model compression interface shown will take you to... Figure 7a The interface shown will not be described in detail again.

[0052] It should also be noted that, given that a 3D clothing model consists of at least one clothing component, the parameter configuration controls corresponding to that at least one clothing component can be displayed in various ways. In one embodiment, for each clothing component constituting the 3D clothing model, parameter configuration controls corresponding to each clothing component can be displayed, where each clothing component corresponds to one parameter configuration control, and each parameter configuration control corresponds to at least one clothing component; in other words, the relationship between the parameter configuration control and the clothing component is one-to-one or one-to-many. For example, let's assume that the 3D clothing model consists of m clothing components, and n parameter configuration controls are displayed for these components (m and n are both positive integers). If m = n, then a corresponding parameter configuration control will be displayed for each clothing component. In this case, the user can precisely set the corresponding compression parameters for each clothing component, which helps the user to finely control the compression effect of the 3D clothing model. Alternatively, m ≥ n can be set, that is, multiple clothing components correspond to one parameter configuration control. In this case, the compression parameters set by the user through the parameter configuration control can be used as the compression parameters for these multiple clothing components, so as to minimize the number of compression parameters that the user needs to set and improve the efficiency of parameter setting. For example, given that 3D clothing models are usually symmetrical structures (such as jackets, pants, skirts, hats, etc., whose main structures are usually symmetrical about the central axis of the human body), symmetrical clothing parts (such as the two sleeves, the two pant legs, etc.) often need to have the same compression effect. Therefore, multiple clothing parts at symmetrical positions can be associated with a parameter configuration control. For example, control A can be displayed for the two sleeves, and another control B can be displayed for the two pant legs. In this way, the parameters set by the user through control A can be used as compression parameters for the two sleeves, and the parameters set through control B can be used as compression parameters for the two pant legs.

[0053] Step 204: Determine the compression parameters configured through the parameter configuration control, and display the compressed preview information of the 3D clothing model generated according to the compression parameters.

[0054] The parameter configuration control shown above allows users to configure corresponding compression parameters for at least one garment component that constitutes a 3D garment model. Then, the garment modeling software can first determine the configured compression parameters, then generate compressed preview information of the 3D garment model based on these compression parameters, and display the compressed preview information.

[0055] As can be seen from the above embodiments, this invention proposes a compression preview scheme for 3D clothing models, allowing users to preview the compression effect of the current compression parameters (such as the size of the compressed file corresponding to the compression parameters and the display effect of the compressed model) while adjusting the compression parameters, thereby determining whether the compression effect corresponding to the current compression parameters meets the requirements. Obviously, if it does not meet the requirements, the compression parameters can be adjusted until they do, and then the 3D clothing model is compressed according to the adjusted compression parameters, and the corresponding compressed file is output—ensuring that the compressed file meets the user's compression needs. It is evident that regardless of the size of the 3D clothing model or the size of the compressed file, this scheme only requires outputting the compressed file once, eliminating the need for users to compress and output the compressed file multiple times. By previewing the compression effect, it not only simplifies user operations to a certain extent but also significantly shortens user waiting time, significantly improving the overall compression efficiency of 3D clothing models.

[0056] In one embodiment, the parameter configuration control may include a custom control and / or at least one standard control, wherein different standard controls are associated with different standard parameter combinations, and each standard parameter combination contains preset standard parameter values ​​for at least one compression parameter. Based on the aforementioned custom control and / or at least one standard control, when determining the compression parameter configured through the parameter configuration control, in response to the selection of any standard control, the standard parameter values ​​contained in the standard parameter combination associated with that standard control can be determined as the configured compression parameter; or, in response to the triggering of the custom control, a custom parameter configuration interface can be displayed, and the custom parameter value specified for at least one compression parameter in that configuration interface can be determined as the configured compression parameter. Figure 4 As shown, users can select multiple clothing components (such as the visor and hat strap) and click the drop-down button to the right of the batch configuration control 423. The interface will then display a drop-down list of custom controls and three standard controls for the user to choose from. The drop-down display effect is as follows: Figure 6 As shown in control 611. If the user clicks to select any standard control displayed in the dropdown, the standard parameter values ​​contained in the standard parameter combination corresponding to that standard control are determined as the compression parameters set by the user for each selected garment component. Alternatively, the user can also... Figure 4The independent configuration control 424 corresponding to any garment component sets compression parameters for that component. For example, clicking the drop-down button to the right of the independent configuration control 424 corresponding to any garment component will display a drop-down menu showing custom controls and three standard controls for the user to select from. The drop-down effect is similar to that of control 611 mentioned above, and will not be described again. Through this embodiment, users can flexibly select appropriate methods to configure the corresponding compression parameters for each garment component individually or to batch configure the corresponding compression parameters for multiple garment components, which helps to achieve efficient configuration of compression parameters. Of course, users can also select only one garment component and configure its parameters through the batch configuration control 423. After configuration, the configuration result of the independent configuration control 424 corresponding to that garment component can be updated to achieve a dynamic effect. Through the above methods, users can either select any standard parameter combination from at least one standard parameter combination provided by the garment modeling software to use the preset compression parameters included in that combination as the configuration result; or they can flexibly specify (i.e., configure) specific compression parameters through custom controls to meet their personalized needs for compression effect.

[0057] In another embodiment, the clothing modeling software can display custom controls and / or at least one standard control in response to the triggering of the parameter configuration control. For example, in the pop-up model compression interface, the software can directly display the corresponding custom control and / or at least one standard control for each garment part. Similar to the previous embodiment, different standard controls are associated with different standard parameter combinations, and each standard parameter combination contains preset standard parameter values ​​for at least one compression parameter. Based on this, when determining the compression parameter configured through the parameter configuration control, in response to the selection of any standard control, the standard parameter values ​​contained in the standard parameter combination associated with that standard control can be determined as the configured compression parameter; or, in response to the triggering of the custom control, a custom parameter configuration interface can be displayed, and the custom parameter value specified for at least one compression parameter in the configuration interface can be determined as the configured compression parameter. In this way, the clothing modeling software can directly display the custom controls and / or at least one standard control corresponding to the garment part in the model compression interface. Therefore, users do not need to click a drop-down button to directly view these controls and perform selection operations (such as directly clicking to select a standard control), further simplifying the user operation process.

[0058] It is understandable that although the drop-down selection configuration method mentioned above has a longer operation process, it occupies a smaller display area in the model compression interface; while the configuration method that is selected directly in the interface occupies a larger display area in the model compression interface, it is simpler to operate. Therefore, the specific display and interaction method can be flexibly set according to actual needs, and the embodiments of the present invention do not limit this.

[0059] Additionally, for example, suppose there are three preset standard parameter combinations: high, medium, and low (corresponding to high, medium, and low standard controls, respectively). Each parameter combination is associated with four compression parameters: resolution, maximum resolution, JPG quality, and PNG quality. The standard parameter values ​​for each standard parameter combination can be found in Table 1 below:

[0060] high 100% 4096px high high middle 70% 2048px middle middle Low 30% 512px Low Low

[0061] The compression parameters specified by the user through the above-mentioned custom control can be resolution, maximum resolution, JPG quality and / or PNG quality, etc., and may also include other parameters (such as file size parameters and / or file data volume parameters that directly specify the size of the compressed model file, etc.). This embodiment of the invention does not limit this.

[0062] As mentioned above, when texture compression controls and mesh compression controls are displayed in the parameter configuration area, the parameter configuration controls corresponding to the active controls can be displayed accordingly. That is, when the texture compression control is active, the texture parameter configuration control corresponding to the at least one clothing component is displayed; and when the mesh compression control is active, the mesh parameter configuration control corresponding to the at least one clothing component is displayed. Based on this, when generating compressed preview information according to the compression parameters, the texture compression parameters configured through the texture parameter configuration control can be determined, and the texture compression preview information of the 3D clothing model can be generated according to the texture compression parameters; and / or, the texture compression parameters configured through the mesh parameter configuration control can also be determined, and the mesh compression preview information of the 3D clothing model can be generated according to the mesh compression parameters. As can be seen, regarding both texture and mesh dimensions, if a user configures texture compression parameters for clothing parts using the texture parameter configuration control, the clothing modeling software can generate corresponding texture compression preview information accordingly. Similarly, if a user configures mesh compression parameters for clothing parts using the mesh parameter configuration control, the clothing modeling software can generate corresponding mesh compression preview information accordingly. This allows users to preview the compression effect corresponding to the set compression parameters from both dimensions, resulting in a more comprehensive and accurate evaluation.

[0063] like Figure 4 and Figure 6 As shown, users can use the texture parameter configuration control to set corresponding texture compression parameters for each garment component (the texture compression parameters for any two components can be the same or different), such as setting high standard compression parameters for the visor, chin strap, and crown; medium standard compression parameters for the crown and lining; low standard compression parameters for the sweatband; and custom compression parameters for the adjustment strap, etc. Additionally, as... Figure 5As shown, users can use the mesh parameter configuration control to uniformly set the same mesh compression parameters for each garment component. For example, they can set the target face count to "automatic mode" (meaning the garment modeling software automatically calculates the number of mesh faces / items according to preset rules) and set the detail retention to 1.0mm (meaning that during compression, only texture details with a size of 1.0mm or larger are retained, while texture details smaller than 1.0mm are discarded or blurred). Of course, a similar approach can also be used... Figure 4 Similarly, each garment component is provided with its own corresponding mesh parameter configuration controls (such as different mesh face count configuration controls and detail configuration controls, not shown in the figure), so that users can set the corresponding mesh compression parameters for each garment component, thereby improving the accuracy of the parameters set in the mesh dimension. This will not be elaborated further.

[0064] As mentioned earlier, for at least one garment component constituting the 3D garment model, parameter configuration controls corresponding to each garment component can be displayed, where each garment component corresponds to one parameter configuration control, and each parameter configuration control corresponds to at least one garment component. Based on this, when determining the compression parameters and displaying the compressed preview information generated accordingly, the compression parameters configured for each garment component through the parameter configuration controls corresponding to each garment component can be determined, and the compressed preview information of each garment component under the current compression parameters can be displayed. For any garment component, the compression parameters set for that component through the parameter configuration control corresponding to that component can be compression parameters configured by the user through the aforementioned operations (such as selected standard compression parameters or specified custom compression parameters), or they can be default compression parameters preset by the garment modeling software. For example, the garment modeling software can set default compression parameters for each garment component, and display these compression parameters when the model compression interface pops up. If the user does not change the default compression parameters of a component through the aforementioned operations, then that parameter can be determined as the compression parameter set by the user for that component; conversely, if the user changes the default compression parameters of a component through the aforementioned operations, then the changed parameter can be determined as the compression parameter set by the user for that component.

[0065] Furthermore, for any garment component, corresponding default compression parameters can be set according to the component's own information to achieve different effects. For example, default compression parameters can be set according to component type, such as setting different default compression parameters for the front and sleeves, and setting the same default compression parameters for the sleeves and collar; default compression parameters can also be set according to the component's detail precision, such as setting a high standard parameter as the default compression parameter for components with a large number of details and high precision, and setting a low standard parameter as the default compression parameter for components with few details and low precision; default compression parameters can also be set according to the component's sharpness, such as setting a high standard parameter as the default compression parameter for components with sharpness above a certain threshold, and setting a medium standard parameter as the default compression parameter for components with sharpness below a certain threshold, and so on, without further elaboration.

[0066] In one embodiment, the clothing modeling software can determine the configured compression parameters in response to the completion of a parameter configuration operation performed on the parameter configuration control; then, it can generate and display compressed preview information of the 3D clothing model based on the compression parameters. The parameter configuration operation may include selecting any standard control, or it may include selecting a custom control and specifying a specific value for at least one compression parameter in a pop-up custom parameter configuration window after selecting the control. In this way, the clothing modeling software can immediately determine the configured compression parameters and generate and display the corresponding compressed preview information upon detecting the completion of the parameter configuration operation, thus instantly displaying the compression effect corresponding to the compression parameters, allowing users to view the compression effect immediately and accurately adjust the compression parameters. Figure 4 As shown, if the user clicks the drop-down button to the right of "Standard Compression Parameters" corresponding to the cap, and the three standard controls and one custom control are displayed (the display effect is the same as...), Figure 6 If you select "High Standard Control" (similar to control 611 in the text) (which changes the compression parameters of the hat from medium standard compression parameters to high standard compression parameters), the clothing modeling software can respond to this selection operation, immediately determine the corresponding compression preview information of the hat based on the changed "high standard compression parameters," and display it, thus achieving a dynamic display effect where the compression preview information changes in real time with the user's operation. Or, as... Figure 6 As shown, if the user selects "Medium Standard Control" in control 611, the clothing modeling software can immediately determine and display the compression preview information corresponding to the visor and visor based on the changed "Medium Standard Compression Parameters", thereby achieving a dynamic display effect where the compression preview information changes in real time with the user's operation.

[0067] In another embodiment, the clothing modeling software can also display a compression effect preview control for the 3D clothing model. Then, in response to the compression effect preview control being triggered, it generates compressed preview information of the 3D clothing model based on the compression parameters at the current moment and displays the compressed preview information. The compression parameters at the current moment may include compression parameters configured by the user through the aforementioned parameter configuration operation, or they may include pre-set default compression parameters. Figure 4 and Figure 6 As shown, users can configure compression parameters for multiple garment parts in batches, or they can configure compression parameters for a specific garment part. After configuration, users may need to check the compression effect corresponding to these parameters. At this time, they can click the "Preview" button (i.e., compression effect preview control 425) at the bottom of the interface. Correspondingly, the garment modeling software can determine the compression parameters configured by the user in response to this operation, and then generate and display the corresponding compression preview information. In this way, the garment modeling software can generate the corresponding compression preview information all at once after the user adjusts multiple compression parameters, instead of generating it every time a change is made. This helps reduce the number of times the garment modeling software generates compression preview information and the time consumed, reduces user waiting time, and to some extent avoids software lag.

[0068] In one embodiment, compressed preview information can be generated based on compression parameters in various ways. For example, clothing modeling software can pre-compress the 3D clothing model according to the configured compression parameters, and determine the corresponding compressed description information based on the pre-compression result as the compressed preview information of the model. It should be noted that "pre-compression" here refers to the process of compressing the 3D clothing model according to a preset compression algorithm and the compression parameters, but the pre-compression process does not output the corresponding compressed model file (the data volume of the file may still be large). Therefore, the time consumption of this pre-compression process is shorter than that of the compression process of fully compressing the model and outputting the file in related technologies. The pre-compression process can use a simplified compression algorithm, while when the user determines to use the compression parameters to formally compress the 3D clothing model (as described below in the implementation of the compression export confirmation control trigger operation), the full compression algorithm is used to compress the model and output the corresponding compressed model file. It should be noted that, compared to the complete compression algorithm, the simplified compression algorithm often has lower compression accuracy and less computation. Therefore, compared to the formal compression, the aforementioned pre-compression has less computation and faster compression speed, allowing users to preview the compression effect corresponding to the compression parameters without having to wait for a long time.

[0069] For example, clothing modeling software can also pre-obtain the original parameters of a 3D clothing model before user adjustments, and generate original model description information (i.e., information describing the model before compression) based on these parameters, such as the number and size of mesh faces, the number and size of textures, and the total size of the model file. For instance, the user... Figure 3 Clicking the model size preview control 302 in the interface shown triggers the clothing modeling software to obtain the original parameters at this time and generate the original model description information 303; the user can then... Figure 4 Clicking the model size preview control 414 in the interface shown triggers the clothing modeling software to obtain the original parameters at this time and generate the original model description information 415. Based on this, after determining the compression parameters configured by the user (using the aforementioned method) through the parameter configuration control, the compressed description information of the 3D clothing model can be generated according to the uncompressed model description information, the original parameters, and the configured compression parameters, which serves as the compressed preview information of the model. Taking the resolution (represented by pixels) compression parameter as an example, assuming that the original pixel of any component in the parameter configuration control is 2048*2048px, and the original size before compression is 20MB, if the compressed pixel is 1024*1024px (corresponding to the adjusted medium standard compression parameter), then without considering other compression parameters, the compressed size should be 20M*((1024*1024) / (2048*2048))=5MB.

[0070] In one embodiment, the clothing modeling software can display the compressed preview information in the effect preview area of ​​the model compression interface to avoid merging it with other information in the interface, which would make viewing difficult.

[0071] In one embodiment, the clothing modeling software can display compressed preview information in various forms. For example, it can generate a rendered image of the 3D clothing model based on the compression parameters, allowing users to intuitively view the compression effect corresponding to the compression parameters, i.e., how the details of the compressed model look. And / or, it can also generate file description information for the compressed model file based on the compression parameters, so that users can accurately understand the compression effect of the compression parameters, such as the specific size of the compressed file.

[0072] For example, if the user is Figure 4 or Figure 6 Click the "Preview" button at the bottom of the interface to jump to the next screen. Figure 7a The interface shown is as follows. Figure 7aAs shown, the upper part of the model display area 71 on the left side of the interface displays the compressed model 711 in a visual format. Below this area, the file description information of the compressed file corresponding to model 711 is displayed in text format, such as the number and size of the compressed mesh faces, texture size, and total file size. It can be understood that the model display area 71 is used as a preview area at this time. Additionally, the parameter configuration area 72 on the right side of the interface contains a preview area 720 (as shown in the dashed box). This area displays the texture compression preview information for each clothing part, that is, the compressed pixel count and compressed size of the textures for each clothing part. Similarly, if the user... Figure 5 Click the "Preview" button at the bottom of the interface to jump to the next screen. Figure 7b The interface shown is as follows. Figure 7b As shown, the model display area on the left side of the interface displays the compressed model and its corresponding compressed file description information. This model display area serves as the effect preview area. Additionally, the parameter configuration area 73 on the right side of the interface displays the mesh compression preview information for each clothing component, including the original mesh face count and the compressed face count for each clothing component. This parameter configuration area 73 also serves as the effect preview area.

[0073] Furthermore, during the display of the rendered image, perspective adjustment operations can be performed on the 3D clothing model to adjust the display perspective of the rendered image accordingly. These perspective adjustment operations can include dragging, zooming, etc., and in response to these operations, the size, angle, and other display perspective of the model can be adjusted accordingly. Additionally, the adjustment range of the display perspective can be positively correlated with the range of the perspective adjustment operation. For example, dragging the mouse 10 pixels horizontally left / right on the interface rotates the model 5° left / right around its z-axis; dragging the mouse 10 pixels vertically up / down on the interface rotates the model 10° around its x-axis; scrolling the mouse wheel forward / backward by one notch (e.g., 30°) enlarges / shrinks the model by 10% from its current size, etc., without further elaboration. By implementing the above perspective adjustment operations, users can clearly, comprehensively, and flexibly view the overall or detailed display effect of the 3D clothing model in various directions / angles and sizes, helping them accurately determine whether the current compression parameters meet business requirements.

[0074] And / or, during the display of the rendered screen, the clothing modeling software can also switch between the texture view and the mesh view of the 3D clothing model in response to a mode switching operation implemented for the rendered screen. For example, texture mode controls and mesh mode controls can be displayed, and the mode switching operation can be a trigger operation on the aforementioned mode controls. For example, if the rendered screen is displayed in texture mode and the user triggers the mesh mode control, the clothing modeling software will switch to displaying the rendered screen in mesh mode; conversely, if the rendered screen is displayed in mesh mode and the user triggers the texture mode control, the clothing modeling software will switch to displaying the rendered screen in texture mode. Figures 4 to 7b As shown in the figures, the top left corner of the model display area on the left side of the interface displays texture mode controls and mesh mode controls (such as...). Figure 4 The texture mode control 412 and the grid mode control 413 shown are as follows: Figure 7a The texturing mode control 712 and the mesh mode control 713 are shown; users can click / double-click these controls on any interface to switch the display mode of the 3D clothing model. Figure 7a The model 711 shown is displayed in texture mode. If the user clicks the mesh mode control 713 at this time, the model will switch to mesh mode. Figure 8 The grid pattern shown is illustrated. For example... Figure 8 As shown, model 811 is in mesh mode. Of course, the perspectives of model 711 and model 811 are different; this is due to the user adjusting the perspective, which is hereby noted.

[0075] For example, the mode switching operation can also be a trigger operation for the aforementioned texture compression control and mesh compression control. If a texture parameter configuration control is displayed in the parameter configuration area of ​​the model compression interface, and the rendered screen is displayed in texture mode in the model display area, then if the user triggers the mesh mode control, the clothing modeling software will not only switch the texture parameter configuration control to the mesh parameter configuration control (see reference...) Figure 4 Switch to Figure 5 It will also switch to grid mode to display the rendered screen (see reference from...). Figure 7a Switch to Figure 8 Conversely, if the model compression interface displays mesh parameter configuration controls in the parameter configuration area, and the rendered image is displayed in mesh mode in the model display area, then if the user triggers the texture mode control, the clothing modeling software will not only switch the mesh parameter configuration controls to texture parameter configuration controls (see reference from...). Figure 5 Switch to Figure 4 It will also switch to texture mode to display the rendered screen (see reference from...). Figure 8 Switch to Figure 7a(This will not be elaborated further.) This method enables the linkage between the display mode of the model rendering screen and the type of parameter configuration controls displayed, making it easy for users to view the correspondence between compression parameters in different dimensions and model content. It is clear, intuitive, and helps simplify user operations.

[0076] As mentioned earlier, when users set different values ​​for the compression parameters, they are essentially setting different levels of compression for the 3D clothing model; however, the compression effect of the 3D clothing model varies under different compression levels. Figure 9 Taking the texture mapping mode shown as an example, the left side shows the compression effect of the hat's decorative pattern under high compression parameters, and the right side shows the compression effect of the device pattern under medium compression parameters. It can be understood that because the high compression parameters correspond to a relatively low level of compression (i.e., the compressed model file is relatively large), while the medium compression parameters correspond to a relatively high level of compression (i.e., the compressed model file is relatively small), the left image has higher clarity and richer texture details than the right image. Figure 10 Taking the mesh pattern shown as an example, the left side shows the compression effect of the hat under high standard compression parameters, and the right side shows the compression effect of the hat under low standard compression parameters. It can be understood that because the compression degree corresponding to high standard compression parameters is relatively low (i.e., the compressed model file is relatively large), while the compression degree corresponding to low standard compression parameters is relatively high (i.e., the compressed model file is relatively small), the left image has more meshes, smaller mesh sizes, and richer mesh details than the right image.

[0077] In one embodiment, the clothing modeling software can display a compression export confirmation control for the 3D clothing model (e.g., ...). Figure 4 The compression export confirmation control 426 shown, and Figures 5-8 The system displays a "Confirm" button at the bottom of the interface and, in response to the triggering of the compression export confirmation control, outputs the compressed model file corresponding to the compression preview information. After the user has attempted to configure the compression parameters at least once, if they are satisfied with the compression effect of the current parameters, they can trigger the compression export confirmation control to use the currently configured compression parameters as the compression parameters for the 3D clothing model, and then compress the model. It is understood that the compression process performed at this point is the formal compression according to the aforementioned complete compression algorithm. Compared to pre-compression using a simplified compression algorithm, formal compression may require a longer compression time, but because the compression effect corresponding to the compression parameters at this point has already been previewed and confirmed by the user, the formal compression process often only needs to be performed once. Compared to related technologies, this avoids repeated formal compression, improving overall compression efficiency.

[0078] Specifically, when outputting the compressed model file corresponding to the compressed preview information, the specified target format can be determined first, and then a compressed model file that overrides the target format can be output to ensure that the format of the output compressed model file meets business requirements. Of course, the target format can be a default format or a format manually specified by the user. As mentioned earlier, the user can access this information in the clothing modeling software's pop-up window. Figure 3 The interface shown indicates that the file format to be generated has been specified, such as GLB format. At this time, the clothing modeling software responds to the compression export confirmation control being triggered and can output a GLB format file.

[0079] In one embodiment, when outputting the compressed model file corresponding to the compressed preview information, the compressed model file can be directly saved to a designated storage space. This storage space can be the local storage space of the electronic device running the clothing modeling software or the storage space of its external devices, etc. And / or, the compressed model file can also be published to a designated webpage so that relevant parties can view the compressed 3D clothing model on that webpage. In this case, the clothing modeling software can directly connect to the target clothing's display / sales website, thereby further simplifying the user's operation process, eliminating the need for repeated switching between multiple software programs or even systems, and helping to improve the efficiency of displaying and selling the target clothing.

[0080] Figure 11 This is a schematic structural diagram of a device provided in an exemplary embodiment. Please refer to... Figure 11 At the hardware level, the device includes a processor 1102, an internal bus 1104, a network interface 1106, memory 1108, and non-volatile memory 1110, and may also include other hardware required for its functions. One or more embodiments of this specification can be implemented in software, for example, the processor 1102 reads the corresponding computer program from the non-volatile memory 1110 into the memory 1108 and then runs it. Of course, in addition to software implementation, one or more embodiments of this specification do not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0081] Please refer to Figure 12 The 3D clothing model compression preview device can be applied to, for example... Figure 11 The device shown is used to implement the technical solution of this specification. The compression preview device for the 3D clothing model may include:

[0082] The configuration control display module 1201 is used to display parameter configuration controls corresponding to at least one clothing component constituting the 3D clothing model in response to a compression trigger operation implemented for the 3D clothing model.

[0083] The preview information display module 1202 is used to determine the compression parameters configured through the parameter configuration control and display the compressed preview information of the 3D clothing model generated according to the compression parameters.

[0084] Optional, also includes:

[0085] The export control display module 1203 is used to display a compression export control for the 3D clothing model in the file export interface in response to a file export trigger operation implemented for the 3D clothing model. The compression trigger operation includes the operation of triggering the compression export control.

[0086] Optionally, the configuration control display module 1201 is specifically used for:

[0087] The parameter configuration controls are displayed in the parameter configuration area of ​​the model compression interface.

[0088] Optionally, the parameter configuration area displays texture compression controls and mesh compression controls, and the configuration control display module 1201 is specifically used for:

[0089] Identify the active control among the texture compression control and the mesh compression control;

[0090] If the texture compression control is in an active display state, the texture parameter configuration control corresponding to the at least one clothing component is displayed in the parameter configuration area;

[0091] If the grid compression control is in an active display state, the grid parameter configuration control corresponding to the at least one garment component will be displayed in the parameter configuration area.

[0092] Optionally, the configuration control display module 1201 is specifically used for:

[0093] When the model compression interface is first displayed, the default controls in the texture compression control and the mesh compression control are set to the active display state;

[0094] After the model compression interface is displayed, in response to a display activation operation performed on either the texture compression control or the mesh compression control, the control is set to a display active state.

[0095] Optionally, the preview information display module 1202 is specifically used for:

[0096] Determine the texture compression parameters configured through the texture parameter configuration control, and generate texture compression preview information for the 3D clothing model based on the texture compression parameters; and / or,

[0097] Determine the texture compression parameters configured through the mesh parameter configuration control, and generate mesh compression preview information of the 3D clothing model based on the mesh compression parameters.

[0098] Optionally, the configuration control display module 1201 is specifically used for:

[0099] For at least one garment component constituting the 3D garment model, a parameter configuration control corresponding to each garment component is displayed, wherein each garment component corresponds to one parameter configuration control, and each parameter configuration control corresponds to at least one garment component.

[0100] Optionally, the preview information display module 1202 is specifically used for:

[0101] Determine the compression parameters configured for each garment component using the parameter configuration controls corresponding to each garment component, and display the compression preview information of each garment component under the current compression parameters.

[0102] Optionally, the parameter configuration control includes a custom control and / or at least one standard control, wherein different standard controls are associated with different standard parameter combinations, and each standard parameter combination contains preset standard parameter values ​​for at least one compression parameter. The preview information display module 1202 is specifically used for:

[0103] In response to the selection of any standard control, the values ​​of each standard parameter contained in the standard parameter combination associated with that standard control are determined as the configured compression parameters; or,

[0104] In response to the triggering of the custom control, a custom parameter configuration interface is displayed, and the custom parameter value specified for at least one compression parameter in the configuration interface is determined as the configured compression parameter.

[0105] Optional,

[0106] It also includes an alternative control display module 1204, which is used to display a custom control and / or at least one standard control in response to the parameter configuration control being triggered, wherein different standard controls are associated with different standard parameter combinations, and each standard parameter combination contains a preset standard parameter value for at least one compression parameter.

[0107] The preview information display module 1202 is specifically used to: in response to the selection of any standard control, determine the values ​​of each standard parameter contained in the standard parameter combination associated with the standard control as the configured compression parameters; or, in response to the triggering of the custom control, display the custom parameter configuration interface, and determine the custom parameter value specified for at least one compression parameter in the configuration interface as the configured compression parameter.

[0108] Optionally, the preview information display module 1202 is specifically used for:

[0109] In response to the completion of the parameter configuration operation performed on the parameter configuration control, the configured compression parameters are determined;

[0110] Based on the compression parameters, a compressed preview of the 3D clothing model is generated and displayed.

[0111] Optional,

[0112] It also includes a compression effect preview control display module 1205, used to: display a compression effect preview control for the 3D clothing model;

[0113] The preview information display module 1202 is specifically used to: in response to the compression effect preview control being triggered, generate compressed preview information of the 3D clothing model according to the compression parameters, and display the compressed preview information.

[0114] Optionally, the preview information display module 1202 is specifically used for:

[0115] The compression preview information is displayed in the effect preview area of ​​the model compression interface.

[0116] Optionally, the preview information display module 1202 is specifically used for:

[0117] A rendered image of the 3D clothing model is generated based on the compression parameters; and / or,

[0118] For the compressed model file of the 3D clothing model, file description information of the compressed model file is generated according to the compression parameters.

[0119] Optionally, it also includes a display adjustment module 1206, used for:

[0120] During the display of the rendered image, in response to a viewpoint adjustment operation performed on the 3D clothing model, the display viewpoint of the rendered image is adjusted accordingly; and / or,

[0121] During the display of the rendered screen, in response to a mode switching operation performed on the rendered screen, the texture screen and mesh screen of the 3D clothing model are switched.

[0122] Optionally, a compression export confirmation module 1207 is also included, used for:

[0123] Display a confirmation control for the compressed export of the 3D clothing model;

[0124] In response to the compression export confirmation control being triggered, the compressed model file corresponding to the compression preview information is output.

[0125] Optionally, the compression export confirmation module 1207 is specifically used for:

[0126] Determine the specified target format and output a compressed model file that conforms to the target format.

[0127] Optionally, the compression export confirmation module 1207 is specifically used for:

[0128] Save the compressed model file to the specified storage space; and / or,

[0129] Publish the compressed model file to the designated webpage.

[0130] Based on the same concept as the methods described above, this specification also provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor performs the steps of the method as described in any of the above embodiments by executing the executable instructions.

[0131] Based on the same concept as the methods described above, this specification also provides a computer-readable storage medium having computer instructions stored thereon that, when executed by a processor, implement the steps of the methods as described in any of the above embodiments.

[0132] Based on the same concept as the methods described above, this specification also provides a computer program product, including a computer program / instructions that, when executed by a processor, implement the steps of the methods as described in any of the above embodiments.

Claims

1. A method for compressing and previewing a 3D clothing model, characterized in that, include: In response to a compression trigger operation performed on a 3D clothing model, a parameter configuration control corresponding to at least one clothing component constituting the 3D clothing model is displayed. Determine the compression parameters configured through the parameter configuration control, and display the compressed preview information of the 3D clothing model generated according to the compression parameters.

2. The method according to claim 1, characterized in that, Also includes: In response to a file export trigger operation performed on the 3D clothing model, a compression export control for the 3D clothing model is displayed in the file export interface, the compression trigger operation including the operation of triggering the compression export control.

3. The method according to claim 1, characterized in that, The parameter configuration control that displays at least one garment component constituting the 3D garment model includes: The parameter configuration controls are displayed in the parameter configuration area of ​​the model compression interface.

4. The method according to claim 3, characterized in that, The parameter configuration area displays texture compression controls and mesh compression controls. The parameter configuration controls displayed in the parameter configuration area of ​​the model compression interface include: Identify the active control among the texture compression control and the mesh compression control; If the texture compression control is in an active display state, the texture parameter configuration control corresponding to the at least one clothing component is displayed in the parameter configuration area; If the grid compression control is in an active display state, the grid parameter configuration control corresponding to the at least one garment component will be displayed in the parameter configuration area.

5. The method according to claim 4, characterized in that, The step of determining which of the texture compression control and the mesh compression control is in an active display state includes: When the model compression interface is first displayed, the default controls in the texture compression control and the mesh compression control are set to the active display state; After the model compression interface is displayed, in response to a display activation operation performed on either the texture compression control or the mesh compression control, the control is set to a display active state.

6. The method according to claim 4, characterized in that, Based on the compression parameters, compressed preview information of the 3D clothing model is generated, including: Determine the texture compression parameters configured through the texture parameter configuration control, and generate texture compression preview information for the 3D clothing model based on the texture compression parameters; and / or, Determine the texture compression parameters configured through the mesh parameter configuration control, and generate mesh compression preview information of the 3D clothing model based on the mesh compression parameters.

7. The method according to claim 1, characterized in that, The parameter configuration control that displays at least one garment component constituting the 3D garment model includes: For at least one garment component constituting the 3D garment model, a parameter configuration control corresponding to each garment component is displayed, wherein each garment component corresponds to one parameter configuration control, and each parameter configuration control corresponds to at least one garment component.

8. The method according to claim 7, characterized in that, The step of determining the compression parameters configured through the parameter configuration control and displaying the compressed preview information of the 3D clothing model generated according to the compression parameters includes: Determine the compression parameters configured for each garment component using the parameter configuration controls corresponding to each garment component, and display the compression preview information of each garment component under the current compression parameters.

9. The method according to claim 1, characterized in that, The parameter configuration control includes a custom control and / or at least one standard control, wherein different standard controls are associated with different standard parameter combinations, and each standard parameter combination contains preset standard parameter values ​​for at least one compression parameter. Determining the compression parameter configured through the parameter configuration control includes: In response to the selection of any standard control, the values ​​of each standard parameter contained in the standard parameter combination associated with that standard control are determined as the configured compression parameters; or, In response to the triggering of the custom control, a custom parameter configuration interface is displayed, and the custom parameter value specified for at least one compression parameter in the configuration interface is determined as the configured compression parameter.

10. The method according to claim 1, characterized in that, It also includes: in response to the parameter configuration control being triggered, displaying a custom control and / or at least one standard control, wherein different standard controls are associated with different standard parameter combinations, and each standard parameter combination contains a preset standard parameter value for at least one compression parameter; The step of determining the compression parameters configured through the parameter configuration control includes: in response to the selection of any standard control, determining the values ​​of each standard parameter contained in the standard parameter combination associated with the standard control as the configured compression parameters; or, in response to the triggering of the custom control, displaying a custom parameter configuration interface, and determining the custom parameter value specified for at least one compression parameter in the configuration interface as the configured compression parameter.

11. The method according to claim 1, characterized in that, The step of determining the compression parameters configured through the parameter configuration control and displaying the compressed preview information of the 3D clothing model generated according to the compression parameters includes: In response to the completion of the parameter configuration operation performed on the parameter configuration control, the configured compression parameters are determined; Based on the compression parameters, a compressed preview of the 3D clothing model is generated and displayed.

12. The method according to claim 1, characterized in that, It also includes: a control that displays a preview of the compression effect for the 3D clothing model; The step of displaying compressed preview information of the 3D clothing model generated according to the compression parameters includes: in response to the compression effect preview control being triggered, generating compressed preview information of the 3D clothing model according to the compression parameters, and displaying the compressed preview information.

13. The method according to claim 1, characterized in that, The compressed preview information of the 3D clothing model generated according to the compression parameters includes: The compression preview information is displayed in the effect preview area of ​​the model compression interface.

14. The method according to claim 1, characterized in that, Based on the compression parameters, compressed preview information of the 3D clothing model is generated, including: A rendered image of the 3D clothing model is generated based on the compression parameters; and / or, For the compressed model file of the 3D clothing model, file description information of the compressed model file is generated according to the compression parameters.

15. The method according to claim 14, characterized in that, Also includes: During the display of the rendered screen, in response to the viewpoint adjustment operation performed on the 3D clothing model, the display viewpoint of the rendered screen is adjusted accordingly. And / or, During the display of the rendered screen, in response to a mode switching operation performed on the rendered screen, the texture screen and mesh screen of the 3D clothing model are switched.

16. The method according to claim 1, characterized in that, Also includes: Display a confirmation control for the compressed export of the 3D clothing model; In response to the compression export confirmation control being triggered, the compressed model file corresponding to the compression preview information is output.

17. The method according to claim 16, characterized in that, The output of the compressed model file corresponding to the compressed preview information includes: Determine the specified target format and output a compressed model file that conforms to the target format.

18. The method according to claim 16, characterized in that, The output of the compressed model file corresponding to the compressed preview information includes: Save the compressed model file to the specified storage space; and / or, Publish the compressed model file to the designated webpage.

19. A compression preview device for a 3D clothing model, characterized in that, include: The configuration control display module is used to display parameter configuration controls corresponding to at least one clothing component constituting the 3D clothing model in response to a compression trigger operation implemented for the 3D clothing model. The preview information display module is used to determine the compression parameters configured through the parameter configuration control and to display the compressed preview information of the 3D clothing model generated according to the compression parameters.

20. An electronic device, characterized in that, include: processor; A memory for storing processor-executable instructions; wherein the processor implements the steps of the method as described in any one of claims 1-18 by executing the executable instructions.

21. A computer-readable storage medium, characterized in that, It stores computer instructions that, when executed by a processor, implement the steps of the method as described in any one of claims 1-18.

22. A computer program product, characterized in that, Includes a computer program / instructions that, when executed by a processor, implement the steps of the method as described in any one of claims 1-18.