A 3D rendering design method, device and electronic equipment for cigarette packaging

By acquiring and processing historical graphic design data, generating 3D texture data and transmitting rendering data packets, the efficiency and communication problems of 2D to 3D design conversion in the prior art are solved, and efficient 3D rendering and cross-terminal collaborative design are achieved.

CN114758050BActive Publication Date: 2025-02-18HUBEI CHINA TOBACCO INDUSTRY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210383151.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-13
Publication Date
2025-02-18
Estimated Expiration
2042-04-13

Smart Images

  • Figure CN114758050B_ABST
    Figure CN114758050B_ABST
Patent Text Reader

Abstract

The present invention discloses a 3D rendering design method, device and electronic device for cigarette packaging, the method comprising obtaining historical graphic design data in a historical database, splitting each historical graphic design data into different data sets according to layers, and generating each 3D texture data based on each data set; receiving first graphic design data sent by a first terminal, selecting basic polygonal mesh data of a category corresponding to the first graphic design data; generating a mosaic of each target 3D texture data corresponding to the first graphic design data, and generating a rendering data packet based on the mosaic and the basic polygonal mesh data, and sending the rendering data packet to the first terminal. The present invention realizes that 2D graphic design data can directly render a 3D data model without the need for additional remodeling based on the graphic design data, thereby improving work efficiency, and the 3D rendering model can be transmitted over the network through a data packet, and can be opened for viewing or design in a client browser of any terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of packaging design, and in particular to a 3D rendering design method, device and electronic equipment for cigarette packaging. Background Art

[0002] The characteristics of cigarette packaging design are that the product shape geometry is standardized and the outer packaging changes frequently. This requires packaging design work to make different graphic designs for products of the same specifications. Most cigarette packaging design work is based on traditional 2D graphic design software, and typical 2D graphic software is Adobe illustrator. Given that 3D rendering simulation has more expressive advantages than 2D plane drawings, it is often necessary to convert 2D design results into 3D rendering simulation in packaging design work. In the current existing methods, graphic designers complete the graphic design in 2D layer design software, and then input 2D pictures as a reference for modeling. The 3D modeling and rendering process is completed by 3D modeling and rendering software. Typical 3D software is Autodesk 3DMax, Maya, etc.

[0003] It can be seen that the current method must use commercial 3D software to manually complete modeling and rendering adjustments, which objectively increases the software skill requirements for designers. The results of graphic design cannot be directly used in the 3D rendering process, resulting in a waste of time and cost. In addition, since the generated 3D model rendering is based on desktop software such as 3DMax, it cannot be separated from the software and can only be used locally, which is inconvenient to use, especially in the case of collaborative design, communication is difficult. Summary of the invention

[0004] In order to solve the above problems, the embodiments of the present application provide a 3D rendering design method, device and electronic device for cigarette packaging.

[0005] In a first aspect, an embodiment of the present application provides a 3D rendering design method for a cigarette package, the method comprising:

[0006] Acquire historical graphic design data in a historical database, split each of the historical graphic design data into different data sets according to layers, and generate each 3D texture data based on each of the data sets;

[0007] receiving first plane design data sent by a first terminal, and selecting basic polygon mesh data of a category corresponding to the first plane design data;

[0008] A mosaic image is generated from each target 3D texture data corresponding to the first graphic design data, and a rendering data packet is generated based on the mosaic image and the basic polygonal mesh data. The rendering data packet is sent to the first terminal so that the rendering data is rendered in the first terminal.

[0009] Preferably, the splitting of each of the historical graphic design data into different data sets by layer includes:

[0010] Parsing and splitting each of the historical graphic design data to obtain a plurality of layer data;

[0011] The layer information corresponding to each layer data is saved as a data set to obtain different data sets, wherein the layer information includes a name, a path, an object, and graphic data.

[0012] Preferably, generating each 3D texture data based on each data set includes:

[0013] Convert each layer information in each data set into a plurality of texture data, so that different texture data correspond to different material properties;

[0014] The texture data in each of the data sets are merged respectively to obtain 3D texture data corresponding to each of the data sets.

[0015] Preferably, the method further comprises:

[0016] Receive annotation information, determine a target rendering data packet of the annotation information, and construct a first mapping relationship between the annotation information and the target rendering data packet;

[0017] When first display request information sent by the second terminal is received, the annotation information is displayed to the second terminal based on the first mapping relationship.

[0018] Preferably, the method further comprises:

[0019] storing the first graphic design data as the historical graphic design data;

[0020] When receiving the second graphic design data sent by the first terminal, searching each of the historical graphic design data for matching graphic design data having a continuous matching ratio with the second graphic design data higher than a preset ratio;

[0021] The matching plane design data with the highest continuous matching ratio is used as target matching plane design data, a rendering auxiliary data packet is generated based on matching data between the target matching plane design data and the second plane design data, and the rendering data packet is generated based on non-matching data of the second plane design data.

[0022] Preferably, the method further comprises:

[0023] Parameter adjustment information of each matching plane design data relative to the second plane design data is obtained, auxiliary information is generated based on each parameter adjustment information, and the auxiliary information is displayed to the first terminal.

[0024] Preferably, the method further comprises:

[0025] receiving the communication request information sent by the first terminal, and determining a target terminal corresponding to the communication request information;

[0026] A temporary session window is established between the first terminal and the target terminal.

[0027] In a second aspect, an embodiment of the present application provides a 3D rendering design device for cigarette packaging, the device comprising:

[0028] An acquisition module, used for acquiring historical graphic design data in a historical database, splitting each of the historical graphic design data into different data sets by layer, and generating each 3D texture data based on each of the data sets;

[0029] A selection module, configured to receive first plane design data sent by a first terminal, and select basic polygon mesh data of a category corresponding to the first plane design data;

[0030] A rendering module is used to generate a mosaic image for each target 3D texture data corresponding to the first graphic design data, and to generate a rendering data packet based on the mosaic image and the basic polygonal mesh data, and to send the rendering data packet to the first terminal so that the rendering data is rendered in the first terminal.

[0031] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method provided in the first aspect or any possible implementation of the first aspect are implemented.

[0032] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method provided in the first aspect or any possible implementation manner of the first aspect.

[0033] The beneficial effects of the present invention are: 1. A 3D data model can be directly rendered based on 2D graphic design data, without the need for additional remodeling based on the graphic design data, thereby improving work efficiency; and the 3D rendered model can be transmitted over the network via data packets, and can be opened for viewing or design in a client browser of any terminal, thereby further improving work efficiency.

[0034] 2. The geometric data of the product model is separated from the rendering data, and is integrated to generate a data package only when needed, so that the geometric model and rendering data can be applied to different design schemes as needed, avoiding the waste of data storage resources and improving design efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0036] Figure 1 A schematic diagram of a flow chart of a 3D rendering design method for a cigarette package provided in an embodiment of the present application;

[0037] Figure 2 A schematic diagram of the structure of a 3D rendering design device for cigarette packaging provided in an embodiment of the present application;

[0038] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0039] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0040] In the following introduction, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The following introduction provides multiple embodiments of the present application, and different embodiments can be replaced or combined, so the present application can also be considered to include all possible combinations of the same and / or different embodiments recorded. Therefore, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then the present application should also be considered to include embodiments containing one or more of all other possible combinations of A, B, C, and D, although the embodiment may not be clearly recorded in the following text.

[0041] The following description provides examples and does not limit the scope, applicability or examples set forth in the claims. Changes may be made to the functions and arrangements of the elements described without departing from the scope of the present application. Various processes or components may be appropriately omitted, substituted or added to each example. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted or combined. In addition, features described in some examples may be combined in other examples.

[0042] See also Figure 1, Figure 1 : is a flow chart of a 3D rendering design method for a cigarette package provided in an embodiment of the present application. In the embodiment of the present application, the method comprises:

[0043] S101, acquiring historical graphic design data in a historical database, splitting each of the historical graphic design data into different data sets according to layers, and generating each 3D texture data based on each of the data sets.

[0044] The execution entity of this application can be a cloud server.

[0045] In the embodiment of the present application, historical graphic design data will be stored in the historical database, and the cloud server will split the historical graphic design data based on the layer to obtain multiple data sets, and then generate different 3D texture data based on these data sets. The generated 3D texture data can correspond to each layer in the historical graphic design data, so as to facilitate subsequent direct call.

[0046] In one possible implementation, the splitting of each of the historical graphic design data into different data sets by layer includes:

[0047] Parsing and splitting each of the historical graphic design data to obtain a plurality of layer data;

[0048] The layer information corresponding to each layer data is saved as a data set to obtain different data sets, wherein the layer information includes name, path, object, and graphic data.

[0049] In the embodiment of the present application, the historical graphic design data will be divided into a plurality of layer data, each layer data contains layer information such as name, path, object, graphic data, etc. The cloud server will integrate and save the plurality of layer information corresponding to each layer data to generate a data set, so that each data set finally obtained can correspond to a related data set of the layer data.

[0050] In one possible implementation, the generating each 3D texture data based on each data set includes:

[0051] Convert each layer information in each data set into a plurality of texture data, so that different texture data correspond to different material properties;

[0052] The texture data in each of the data sets are merged respectively to obtain 3D texture data corresponding to each of the data sets.

[0053] In an embodiment of the present application, layer information is converted into texture data corresponding to different material properties according to specific information categories. By merging the various texture data in a data set, the data set, that is, the 3D texture data corresponding to the layer, can be finally generated.

[0054] S102: Receive first plane design data sent by a first terminal, and select basic polygon mesh data of a category corresponding to the first plane design data.

[0055] In the embodiment of the present application, when the user wants to generate a corresponding 3D rendering model on the first terminal, the user will send the first plane design data designed by the user, that is, the first plane design data to be 3D rendered, to the cloud server through the first terminal. After receiving the first plane design data, the cloud server will select the corresponding basic polygon network data, that is, the basic cigarette box geometry data framework, according to the specific cigarette box category designed in the first plane design data.

[0056] S103, generating a mosaic image from each target 3D texture data corresponding to the first graphic design data, generating a rendering data packet based on the mosaic image and the basic polygonal mesh data, and sending the rendering data packet to the first terminal so that the rendering data is rendered in the first terminal.

[0057] In the embodiment of the present application, according to the specific layers of the first plane design data, the cloud server will select the target 3D texture data corresponding to each layer, and use this to generate a mosaic of each target 3D texture data. Then the cloud server will package the mosaic and the basic polygon network data into a rendering data packet and send it to the first terminal. After receiving the rendering data packet, the first terminal can complete the 3D rendering process on the spot according to the rendering data packet on the first terminal.

[0058] In one embodiment, the method further comprises:

[0059] Receive annotation information, determine a target rendering data packet of the annotation information, and construct a first mapping relationship between the annotation information and the target rendering data packet;

[0060] When first display request information sent by the second terminal is received, the annotation information is displayed to the second terminal based on the first mapping relationship.

[0061] In the embodiment of the present application, when a user annotates a 3D rendering model, annotation information will be generated and sent back to the cloud server. The cloud server will construct a first mapping relationship between the annotation information and its corresponding target rendering data packet, so that when the first display request information sent by other terminals is subsequently received, that is, when other terminals want to view the annotations, the annotation information will be displayed according to the first mapping relationship, so that different terminals can communicate and exchange annotations based on the same model design, thereby realizing the remote collaborative design process.

[0062] In one embodiment, the method further comprises:

[0063] storing the first graphic design data as the historical graphic design data;

[0064] When receiving the second graphic design data sent by the first terminal, searching each of the historical graphic design data for matching graphic design data having a continuous matching ratio with the second graphic design data higher than a preset ratio;

[0065] The matching plane design data with the highest continuous matching ratio is used as target matching plane design data, a rendering auxiliary data packet is generated based on matching data between the target matching plane design data and the second plane design data, and the rendering data packet is generated based on non-matching data of the second plane design data.

[0066] In the embodiment of the present application, the first graphic design data newly uploaded by the user will also be stored as historical graphic design data. When the user uploads the second graphic design data through the first terminal, that is, uploads the new design data, the cloud server will first determine the matching graphic design data with strong similarity to the graphic design data uploaded this time by querying the historical graphic design data. Since the design data can be understood as consisting of multiple layers, and each layer can be understood as corresponding to a printing process, when there is a continuous match, it means that there are several consecutive printing processes that are the same. For this part, the part of the rendering data required to finally generate the 3D rendering model can be extracted from the historical data without repeating the calculation process. Therefore, the cloud server will first determine the target matching graphic design data with the highest continuous matching ratio as the closest data, and directly generate a rendering auxiliary data packet from the historical database based on the matching data that matches it with the second graphic design data. Then, the cloud server will complete the calculation and generation process of the rendering data packet based on the non-matching data different from the target matching graphic design data, thereby improving the processing efficiency and reducing the occupation of processing resources.

[0067] In one embodiment, the method further comprises:

[0068] Parameter adjustment information of each matching plane design data relative to the second plane design data is obtained, auxiliary information is generated based on each parameter adjustment information, and the auxiliary information is displayed to the first terminal.

[0069] In the embodiment of the present application, after the superposition of different printing process steps, the color and other parameters of the packaging box may change, that is, the actual production effect under the superposition of multiple printing processes may deviate from the theoretically calculated effect. Therefore, when making a new design, it may be necessary to adjust the design parameters to ensure that the final 3D rendering effect is close to the actual effect. Therefore, the cloud server will also calculate what kind of parameter adjustment has been made to each matching graphic design data relative to the second graphic design data based on the matching graphic design data that has some steps that are the same or similar to the second graphic design data, obtain parameter adjustment information, and integrate each parameter adjustment information into auxiliary information. This allows users to assist their judgment based on the auxiliary information displayed in the first terminal, thereby improving the efficiency of their parameter adjustment.

[0070] In one embodiment, the method further comprises:

[0071] receiving the communication request information sent by the first terminal, and determining a target terminal corresponding to the communication request information;

[0072] A temporary session window is established between the first terminal and the target terminal.

[0073] In an embodiment of the present application, if a user wishes to communicate with the designer of a certain matching graphic design data, the cloud server will receive the communication request information, determine the target terminal where the designer is located, and finally build a temporary session window to facilitate temporary communication between the two.

[0074] The following will be combined with the attached Figure 2 , the 3D rendering design device for cigarette packaging provided in the embodiment of the present application is introduced in detail. It should be noted that the attached Figure 2 3D rendering design device of cigarette packaging shown, used to implement this application Figure 1 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figure 1 The embodiment shown.

[0075] See also Figure 2 , Figure 2 Schematic diagram of a 3D rendering design device for cigarette packaging provided in an embodiment of the present application. Figure 2 As shown, the device comprises:

[0076] The acquisition module 201 is used to acquire the historical graphic design data in the historical database, split each of the historical graphic design data into different data sets according to the layers, and generate each 3D texture data based on each of the data sets;

[0077] A selection module 202 is used to receive first plane design data sent by a first terminal, and select basic polygon mesh data of a category corresponding to the first plane design data;

[0078] The rendering module 203 is used to generate a mosaic image for each target 3D texture data corresponding to the first graphic design data, and to generate a rendering data packet based on the mosaic image and the basic polygon mesh data, and to send the rendering data packet to the first terminal so that the rendering data is rendered in the first terminal.

[0079] In one possible implementation, the acquisition module 201 includes:

[0080] A parsing unit, used for parsing and splitting each of the historical graphic design data to obtain a plurality of layer data;

[0081] The saving unit is used to save each layer information corresponding to each layer data as a data set to obtain different data sets, and the layer information includes name, path, object, and graphic data.

[0082] In one possible implementation, the acquisition module 201 further includes:

[0083] A conversion unit, used for converting each layer information in each data set into a plurality of texture data, so that different texture data correspond to different material properties;

[0084] The merging unit is used to merge the texture data in each of the data sets to obtain 3D texture data corresponding to each of the data sets.

[0085] In one possible implementation, the device further comprises:

[0086] A first receiving module, configured to receive annotation information, determine a target rendering data packet of the annotation information, and construct a first mapping relationship between the annotation information and the target rendering data packet;

[0087] The first display module is configured to display the annotation information to the second terminal based on the first mapping relationship when receiving the first display request information sent by the second terminal.

[0088] In one possible implementation, the device further comprises:

[0089] A storage module, configured to store the first graphic design data as the historical graphic design data;

[0090] A second receiving module is configured to, when receiving the second graphic design data sent by the first terminal, search each of the historical graphic design data for matching graphic design data having a continuous matching ratio with the second graphic design data higher than a preset ratio;

[0091] A matching module is used to use the matching plane design data with the highest continuous matching ratio as target matching plane design data, generate a rendering auxiliary data packet based on matching data between the target matching plane design data and the second plane design data, and generate the rendering data packet based on non-matching data of the second plane design data.

[0092] In one possible implementation, the device further comprises:

[0093] The second display module is used to obtain parameter adjustment information of each matching plane design data relative to the second plane design data, generate auxiliary information based on each parameter adjustment information, and display the auxiliary information to the first terminal.

[0094] In one possible implementation, the device further comprises:

[0095] A third receiving module, configured to receive the communication request information sent by the first terminal, and determine a target terminal corresponding to the communication request information;

[0096] A building module is used to build a temporary session window between the first terminal and the target terminal.

[0097] Those skilled in the art can clearly understand that the technical solutions of the embodiments of the present application can be implemented with the help of software and / or hardware. The "unit" and "module" in this specification refer to software and / or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a field programmable gate array (FPGA), an integrated circuit (IC), etc.

[0098] Each processing unit and / or module of the embodiments of the present application may be implemented by an analog circuit that implements the functions described in the embodiments of the present application, or may be implemented by software that executes the functions described in the embodiments of the present application.

[0099] See also Figure 3 , which shows a schematic diagram of the structure of an electronic device involved in an embodiment of the present application, the electronic device can be used to implement Figure 1 The method in the embodiment shown. Figure 3As shown, the electronic device 300 may include: at least one central processor 301 , at least one network interface 304 , a user interface 303 , a memory 305 , and at least one communication bus 302 .

[0100] The communication bus 302 is used to realize the connection and communication between these components.

[0101] The user interface 303 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.

[0102] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0103] Among them, the central processing unit 301 may include one or more processing cores. The central processing unit 301 uses various interfaces and lines to connect various parts of the entire electronic device 300, and executes various functions and processes data of the terminal 300 by running or executing instructions, programs, code sets or instruction sets stored in the memory 305, and calling data stored in the memory 305. Optionally, the central processing unit 301 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The central processing unit 301 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the central processing unit 301, and it can be implemented separately through a chip.

[0104] Among them, the memory 305 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 305 includes a non-transitory computer-readable storage medium. The memory 305 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 305 may also be optionally at least one storage device located away from the aforementioned central processor 301. As Figure 3 As shown, the memory 305 as a computer storage medium may include an operating system, a network communication module, a user interface module, and program instructions.

[0105] exist Figure 3 In the electronic device 300 shown, the user interface 303 is mainly used to provide an input interface for the user and obtain the data input by the user; and the central processor 301 can be used to call the 3D rendering design application of the cigarette package stored in the memory 305, and specifically perform the following operations:

[0106] Acquire historical graphic design data in a historical database, split each of the historical graphic design data into different data sets according to layers, and generate each 3D texture data based on each of the data sets;

[0107] receiving first plane design data sent by a first terminal, and selecting basic polygon mesh data of a category corresponding to the first plane design data;

[0108] A mosaic image is generated from each target 3D texture data corresponding to the first graphic design data, and a rendering data packet is generated based on the mosaic image and the basic polygonal mesh data. The rendering data packet is sent to the first terminal so that the rendering data is rendered in the first terminal.

[0109] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.

[0110] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0111] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0112] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0113] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0114] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0115] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program codes.

[0116] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by entering a program to instruct related hardware, and the program may be stored in a computer-readable memory, which may include a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0117] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of the implementation scheme of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure. The description and examples are regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. A 3D rendering design method for cigarette packaging, characterized in that: The method comprises: Acquire historical graphic design data in a historical database, split each of the historical graphic design data into different data sets according to layers, and generate each 3D texture data based on each of the data sets; receiving first plane design data sent by a first terminal, and selecting basic polygon mesh data of a category corresponding to the first plane design data; Generating a mosaic image from each target 3D texture data corresponding to the first graphic design data, generating a rendering data packet based on the mosaic image and the basic polygon mesh data, and sending the rendering data packet to the first terminal so that the rendering data is rendered in the first terminal; Wherein, the splitting of each of the historical graphic design data into different data sets by layer includes: Parsing and splitting each of the historical graphic design data to obtain a plurality of layer data; Saving each layer information corresponding to each layer data as a data set to obtain different data sets, wherein the layer information includes name, path, object, and graphic data; The generating each 3D texture data based on each data set comprises: Convert each layer information in each data set into a plurality of texture data, so that different texture data correspond to different material properties; The texture data in each of the data sets are merged respectively to obtain 3D texture data corresponding to each of the data sets.

2. The method according to claim 1, characterized in that The method further comprises: Receive annotation information, determine a target rendering data packet of the annotation information, and construct a first mapping relationship between the annotation information and the target rendering data packet; When first display request information sent by the second terminal is received, the annotation information is displayed to the second terminal based on the first mapping relationship.

3. The method according to claim 1, characterized in that: The method further comprises: storing the first graphic design data as the historical graphic design data; When receiving the second graphic design data sent by the first terminal, searching each of the historical graphic design data for matching graphic design data having a continuous matching ratio with the second graphic design data higher than a preset ratio, wherein the continuous matching ratio is a ratio of continuous identical printing processes; The matching plane design data with the highest continuous matching ratio is used as target matching plane design data, a rendering auxiliary data packet is generated based on matching data between the target matching plane design data and the second plane design data, and the rendering data packet is generated based on non-matching data of the second plane design data.

4. The method according to claim 3, characterized in that The method further comprises: Parameter adjustment information of each matching plane design data relative to the second plane design data is obtained, auxiliary information is generated based on each parameter adjustment information, and the auxiliary information is displayed to the first terminal.

5. The method according to claim 4, characterized in that The method further comprises: receiving the communication request information sent by the first terminal, and determining a target terminal corresponding to the communication request information; A temporary session window is established between the first terminal and the target terminal.

6. A 3D rendering design device for cigarette packaging, characterized in that: The device comprises: An acquisition module, used for acquiring historical graphic design data in a historical database, splitting each of the historical graphic design data into different data sets by layer, and generating each 3D texture data based on each of the data sets; A selection module, configured to receive first plane design data sent by a first terminal, and select basic polygon mesh data of a category corresponding to the first plane design data; a rendering module, used to generate a mosaic image from each target 3D texture data corresponding to the first graphic design data, and to generate a rendering data packet based on the mosaic image and the basic polygon mesh data, and to send the rendering data packet to the first terminal so that the rendering data is rendered in the first terminal; Wherein, the acquisition module includes: A parsing unit, used for parsing and splitting each of the historical graphic design data to obtain a plurality of layer data; A saving unit, used for saving each layer information corresponding to each layer data as a data set to obtain different data sets, wherein the layer information includes name, path, object, and graphic data; The acquisition module also includes: A conversion unit, used for converting each layer information in each data set into a plurality of texture data, so that different texture data correspond to different material properties; The merging unit is used to merge the texture data in each of the data sets to obtain 3D texture data corresponding to each of the data sets.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Method for establishing three-dimensional virtual reality demonstration

    CN104766366A

  • WebGL-based graphic rendering method, device and system

    CN113570733A