CN116958433A - Quick loading method and system for oversized surface number model - Google Patents

Quick loading method and system for oversized surface number model Download PDF

Info

Publication number
CN116958433A
CN116958433A CN202310907858.5A CN202310907858A CN116958433A CN 116958433 A CN116958433 A CN 116958433A CN 202310907858 A CN202310907858 A CN 202310907858A CN 116958433 A CN116958433 A CN 116958433A
Authority
CN
China
Prior art keywords
model
file
oversized
preloading
map
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310907858.5A
Other languages
Chinese (zh)
Inventor
肖睿
汪涛
魏文斌
王建新
曹继文
李正贵
朱励博
宋贝
张剑
宋添力
柴文远
曹鹏
董金鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Yiteng Technology Co ltd
Original Assignee
Wuhan Yiteng Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Yiteng Technology Co ltd filed Critical Wuhan Yiteng Technology Co ltd
Priority to CN202310907858.5A priority Critical patent/CN116958433A/en
Publication of CN116958433A publication Critical patent/CN116958433A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/04Texture mapping

Abstract

The application discloses a rapid loading method and a rapid loading system for an oversized face number model, and relates to the field of display of face number models. The method comprises the following steps: processing the oversized surface number model to obtain a model preloading file in a datasmith format, wherein the model preloading file comprises a model body file, a plurality of maps and the materials of the maps; replacing each posted picture in the model preloading file with a blank picture with the maximum resolution of 10 x 10; the model preloading file and the model surface patch with the same material as the map are sequentially imported into the UE5; generating the texture identical to the texture of the mapping in the step S1 in the importing process of the model surface piece, and automatically replacing blank pictures in the model preloading file after the model surface piece is imported; and (3) performing model conversion, packaging and encapsulation on the model preloading file subjected to the replacement mapping in the step S3. The application not only can ensure the loading speed, but also processes a high-surface number model in the UE5, and the authenticity and the integrity of the model are not lost.

Description

Quick loading method and system for oversized surface number model
Technical Field
The application relates to the field of display of face number models, in particular to a rapid loading method and a rapid loading system for an oversized face number (the face number is more than 1000W) model.
Background
The loading (reading and displaying) modes of the ultra-large face number model are as follows:
(1) By loading in a conventional manner, i.e. normal reading and displaying, the method is not only limited by software and computer performance, but also requires very long time for loading, and thus the ultra-large area model is not available due to very slow loading speed.
(2) And carrying out model processing in a topological mode, topological the high-surface number model into a low-surface number model through related three-dimensional model processing software, and restoring model details through baking a normal map.
Disclosure of Invention
Aiming at the defects in the prior art, the application solves the technical problems as follows: how to ensure the authenticity and the integrity of the model while loading the ultra-large face number model rapidly.
In order to achieve the above object, the present application provides a method for rapidly loading an oversized surface model, wherein the oversized surface model is a model with a surface number of more than 1000W, and the method comprises the following steps:
s1: processing the oversized surface number model to obtain a model preloading file in a datasmith format, wherein the model preloading file comprises a model body file, a plurality of maps and the materials of the maps;
s2: replacing each posted picture in the model preloading file with a blank picture with the maximum resolution of 10 x 10;
s3: the model preloading file and the model surface patch with the same material as the map are sequentially imported into the UE5; generating the texture identical to the texture of the mapping in the step S1 in the importing process of the model surface piece, and automatically replacing blank pictures in the model preloading file after the model surface piece is imported;
s4: and (3) performing model conversion, packaging and encapsulation on the model preloading file subjected to the replacement mapping in the step S3.
On the basis of the technical scheme, the step S3 before importing the model preloading file further comprises the following steps: the change portion of the file name after the map is introduced into the UE5 is referred to as a change portion, and the change portion generation information of all the maps after the map is introduced into the UE5 and the file names of the model surface pieces corresponding to the change portion are modified to be the same.
On the basis of the above technical solution, the generating mode of the model dough sheet in S3 is as follows: creating a model surface sheet with a single surface number; the number of the stickers of the molded surface sheet is the same as the number of all the stickers in S1, and the material of all the stickers in S1 is correspondingly assigned to the surface sheet.
Based on the technical scheme, the process of S1 comprises the following steps: the oversized face model is exported through 3D MAX software to be a model preloading file in a datasmith format.
Based on the technical scheme, the process of S2 comprises the following steps: creating a plurality of blank pictures with the maximum resolution of 10 x 10, wherein each blank picture corresponds to a posting picture one by one; and replacing the file name of the blank picture with the file name of the corresponding map, and then replacing the corresponding map.
The application provides a rapid loading system of an oversized surface number model, wherein the oversized surface number model is a model with the surface number of more than 1000W, and the system comprises a model preprocessing module, a mapping replacement module, a model loading module and a model conversion module;
the model preprocessing module is used for: processing the oversized surface number model to obtain a model preloading file in a datasmith format, wherein the model preloading file comprises a model body file, a plurality of maps and the materials of the maps;
the mapping replacement module is used for: replacing each posted picture in the model preloading file with a blank picture with the maximum resolution of 10 x 10;
the model loading module is used for: the model preloading file and the model surface patch with the same material as the map are sequentially imported into the UE5; generating the texture the same as that of the attached picture in the model preprocessing module in the importing process of the model face piece, and automatically replacing blank pictures in the model preloading file after the model face piece is imported;
the model conversion module is used for: and performing model conversion, packaging and encapsulation on the model preloading file subjected to the replacement mapping in the model loading module.
On the basis of the technical scheme, the model loading module further comprises the following processes before the model preloading file is imported: the change portion of the file name after the map is introduced into the UE5 is referred to as a change portion, and the change portion generation information of all the maps after the map is introduced into the UE5 and the file names of the model surface pieces corresponding to the change portion are modified to be the same.
On the basis of the technical scheme, the mode of generating the die surface piece by the die loading module is as follows: creating a model surface sheet with a single surface number; the number of the mapping of the molded surface patches is the same as that of all the mapping in the model preprocessing module, and the materials of all the mapping in the model preprocessing module are correspondingly endowed to the surface patches.
On the basis of the technical scheme, the workflow of the model preprocessing module comprises the following steps: the oversized face model is exported through 3D MAX software to be a model preloading file in a datasmith format.
Based on the technical scheme, the workflow of the map replacement module comprises: creating a plurality of blank pictures with the maximum resolution of 10 x 10, wherein each blank picture corresponds to a posting picture one by one; and replacing the file name of the blank picture with the file name of the corresponding map, and then replacing the corresponding map.
Compared with the prior art, the application has the advantages that:
therefore, after the model with the datasmith format is preloaded with the file, the high-resolution mapping in the oversized face number model is replaced by the blank picture with low resolution, so that the size of the oversized face number model is greatly reduced, and the oversized face number model can be imported into the UE5; meanwhile, after the oversized surface number model is imported into the UE5, the application uses the model surface pieces with the same texture and the same material as the mapping material in the oversized surface number model to cover the blank picture, thereby realizing the effect of importing the oversized surface number model into the UE5. Therefore, compared with a loading mode which can ensure the loading speed but can lose the authenticity and the integrity of the model, the method can ensure the loading speed, and the UE5 processes the high-surface number model without losing the authenticity and the integrity of the model.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for fast loading of an oversized face model in an embodiment of the application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The flow diagrams depicted in the figures are merely illustrative and not necessarily all of the elements and operations/steps are included or performed in the order described. For example, some operations/steps may be further divided, combined, or partially combined, so that the order of actual execution may be changed according to actual situations.
The development process of the present application will be briefly described first.
In the prior art, after a high-surface number model is topological into a low-surface number model through related three-dimensional model processing software, research shows that details of the model can be lost, that is, the method can ensure the loading speed, but the authenticity and the integrity of the model can be lost, and the loading quality can not be ensured.
Therefore, after a great deal of researches are carried out on the characteristics of drawing related software and the oversized face number model, a method for realizing quick loading of the oversized face number model and ensuring of the authenticity and the integrity of the model through 'file replacement' and 'file name adjustment' is found and formed, and the specific technical scheme of the method is concise, but is difficult to think of a person with ordinary skill in the art who does not carry out the research process of the application.
Referring to fig. 1, the oversized surface model in the embodiment of the application is a model with the surface number more than 1000W, and the quick loading method of the oversized surface model comprises the following steps:
s1: and (3) processing the oversized surface number model to obtain a model preloading file in a datasmith format, wherein the model preloading file comprises a model body file, a plurality of maps and the materials of the maps, and the step (S2) is carried out.
Preferably, the process of S1 includes: the oversized face model is exported through 3D MAX software to be a model preloading file in a datasmith format.
S2: and replacing each posted picture in the model preloading file with a blank picture with the maximum resolution of 10 x 10, and turning to S3. The purpose of this step is to replace the high resolution map with a low resolution blank picture, thereby greatly reducing the file size.
Preferably, the process of S2 includes: creating a plurality of blank pictures with the maximum resolution of 10 x 10, wherein each blank picture corresponds to a posting picture one by one; and replacing the file name of the blank picture with the file name of the corresponding map, and then replacing the corresponding map.
S3: the model preloading file and the model surface patch with the same material as the mapping are sequentially imported into a UE5 (Unreal Engine 5); the texture of the model surface patch is the same as that of the map in the step S1, and the previously imported map (namely, blank pictures in the model preloading file) can be automatically replaced after the model surface patch is imported. Thus, the mapping of the original oversized face number model is generated in the UE5, namely, the oversized face number model which cannot be imported into the UE5 originally because of oversized files is imported into the UE5.
The working principle of S3 is as follows: the UE5 automatically covers the previous file with the same file name when the previous file is imported, but the file name suffix of the map is automatically modified after the model preloading file is imported into the UE5; for this reason, in order to achieve the purpose of replacing the file of the same name after the import, it is necessary to associate the template with the file name changed after the import of the map.
S3, before the model preloading file is imported, the method further comprises the following steps: the change part of the file name after the map is imported into the UE5 is called a change part, the change part generation information of all the maps after the map is imported into the UE5 and the file names of the model patches corresponding to the change part are modified to be the same identification (for example, space, 1 or 2; taking space as an example, the execution mode is that a file with a notepad opening postfix of udatasmith is used, and the "_2_2_Tex" is replaced by "").
Preferably, the model dough sheet in S3 is generated by: creating a single-sided number of die-type panels, preferably in FBX format; the number of the stickers of the molded surface sheet is the same as the number of all the stickers in S1, and the material of all the stickers in S1 is correspondingly assigned to the surface sheet.
S4: and (3) performing model conversion, packaging and encapsulation on the model preloading file subjected to mapping replacement in the S3 through Nanite, wherein the encapsulated model can be quickly opened in lightweight equipment.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, functional modules/units in the apparatus, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed cooperatively by several physical components. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer-readable storage media, which may include computer-readable storage media (or non-transitory media) and communication media (or transitory media).
The term computer-readable storage medium includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information, such as computer-readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer-readable storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
By way of example, the computer readable storage medium may be an internal storage unit of the electronic device of the foregoing embodiments, such as a hard disk or a memory of the electronic device. The computer readable storage medium may also be an external storage device of the electronic device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the electronic device.
The foregoing is merely a specific implementation of the embodiment of the present application, but the protection scope of the embodiment of the present application is not limited thereto, and any person skilled in the art may easily think of various equivalent modifications or substitutions within the technical scope of the embodiment of the present application, and these modifications or substitutions should be covered in the protection scope of the embodiment of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. The quick loading method of the ultra-large surface number model is characterized by comprising the following steps of:
s1: processing the oversized surface number model to obtain a model preloading file in a datasmith format, wherein the model preloading file comprises a model body file, a plurality of maps and the materials of the maps;
s2: replacing each posted picture in the model preloading file with a blank picture with the maximum resolution of 10 x 10;
s3: the model preloading file and the model surface patch with the same material as the map are sequentially imported into the UE5; generating the texture identical to the texture of the mapping in the step S1 in the importing process of the model surface piece, and automatically replacing blank pictures in the model preloading file after the model surface piece is imported;
s4: and (3) performing model conversion, packaging and encapsulation on the model preloading file subjected to the replacement mapping in the step S3.
2. A method for rapid loading of a preferred oversized face model as in claim 1 wherein S3 further comprises the steps of, prior to importing the model preloading file: the change portion of the file name after the map is introduced into the UE5 is referred to as a change portion, and the change portion generation information of all the maps after the map is introduced into the UE5 and the file names of the model surface pieces corresponding to the change portion are modified to be the same.
3. The method for fast loading a preferred oversized face model according to claim 2, wherein the generating mode of the model face sheet in S3 is as follows: creating a model surface sheet with a single surface number; the number of the stickers of the molded surface sheet is the same as the number of all the stickers in S1, and the material of all the stickers in S1 is correspondingly assigned to the surface sheet.
4. A method for rapid loading of a preferred oversized face model as claimed in any of claims 1 to 3 wherein the flow of S1 comprises: the oversized face model is exported through 3D MAX software to be a model preloading file in a datasmith format.
5. A method for rapid loading of a preferred oversized face model as claimed in any of claims 1 to 3 wherein the flow of S2 comprises: creating a plurality of blank pictures with the maximum resolution of 10 x 10, wherein each blank picture corresponds to a posting picture one by one; and replacing the file name of the blank picture with the file name of the corresponding map, and then replacing the corresponding map.
6. A quick loading system of an oversized surface number model is a model with the surface number more than 1000W, and is characterized in that: the system comprises a model preprocessing module, a mapping replacement module, a model loading module and a model conversion module;
the model preprocessing module is used for: processing the oversized surface number model to obtain a model preloading file in a datasmith format, wherein the model preloading file comprises a model body file, a plurality of maps and the materials of the maps;
the mapping replacement module is used for: replacing each posted picture in the model preloading file with a blank picture with the maximum resolution of 10 x 10;
the model loading module is used for: the model preloading file and the model surface patch with the same material as the map are sequentially imported into the UE5; generating the texture the same as that of the attached picture in the model preprocessing module in the importing process of the model face piece, and automatically replacing blank pictures in the model preloading file after the model face piece is imported;
the model conversion module is used for: and performing model conversion, packaging and encapsulation on the model preloading file subjected to the replacement mapping in the model loading module.
7. A rapid loading system for a preferred oversized face model as in claim 6 wherein: the model loading module also comprises the following processes before the model preloading file is imported: the change portion of the file name after the map is introduced into the UE5 is referred to as a change portion, and the change portion generation information of all the maps after the map is introduced into the UE5 and the file names of the model surface pieces corresponding to the change portion are modified to be the same.
8. A rapid loading system for a preferred oversized face model as in claim 7 wherein: the mode of generating the die surface piece by the die loading module is as follows: creating a model surface sheet with a single surface number; the number of the mapping of the molded surface patches is the same as that of all the mapping in the model preprocessing module, and the materials of all the mapping in the model preprocessing module are correspondingly endowed to the surface patches.
9. A rapid loading system for a preferred oversized face model according to any of claims 6 to 8 wherein: the workflow of the model preprocessing module comprises the following steps: the oversized face model is exported through 3D MAX software to be a model preloading file in a datasmith format.
10. A rapid loading system for a preferred oversized face model according to any of claims 6 to 8 wherein: the workflow of the map replacement module includes: creating a plurality of blank pictures with the maximum resolution of 10 x 10, wherein each blank picture corresponds to a posting picture one by one; and replacing the file name of the blank picture with the file name of the corresponding map, and then replacing the corresponding map.
CN202310907858.5A 2023-07-21 2023-07-21 Quick loading method and system for oversized surface number model Pending CN116958433A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310907858.5A CN116958433A (en) 2023-07-21 2023-07-21 Quick loading method and system for oversized surface number model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310907858.5A CN116958433A (en) 2023-07-21 2023-07-21 Quick loading method and system for oversized surface number model

Publications (1)

Publication Number Publication Date
CN116958433A true CN116958433A (en) 2023-10-27

Family

ID=88447185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310907858.5A Pending CN116958433A (en) 2023-07-21 2023-07-21 Quick loading method and system for oversized surface number model

Country Status (1)

Country Link
CN (1) CN116958433A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010068210A1 (en) * 2008-12-11 2010-06-17 Pixar Manipulating unloaded objects
CN102117491A (en) * 2009-12-30 2011-07-06 新奥特(北京)视频技术有限公司 Texture data drawing method and device in three-dimensional modeling
CN109947549A (en) * 2019-03-15 2019-06-28 佛山市小云科技有限公司 A method of it is automatically the directly available model resource of UE4 by 3D Max model conversion
CN109949403A (en) * 2019-01-14 2019-06-28 珠海金山网络游戏科技有限公司 A kind of method that two-dimension picture is converted to threedimensional model
CN111028361A (en) * 2019-11-18 2020-04-17 杭州群核信息技术有限公司 Three-dimensional model and material merging method, device, terminal, storage medium and rendering method
CN113850919A (en) * 2021-08-31 2021-12-28 湖北亿咖通科技有限公司 Loading display method and system of 3D model file and storage medium
CN114491352A (en) * 2020-11-11 2022-05-13 亚信科技(中国)有限公司 Model loading method and device, electronic equipment and computer readable storage medium
CN115914660A (en) * 2022-08-24 2023-04-04 北京一目视界科技有限公司 Method for controlling actions and facial expressions of digital people in meta universe and live broadcast

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010068210A1 (en) * 2008-12-11 2010-06-17 Pixar Manipulating unloaded objects
CN102117491A (en) * 2009-12-30 2011-07-06 新奥特(北京)视频技术有限公司 Texture data drawing method and device in three-dimensional modeling
CN109949403A (en) * 2019-01-14 2019-06-28 珠海金山网络游戏科技有限公司 A kind of method that two-dimension picture is converted to threedimensional model
CN109947549A (en) * 2019-03-15 2019-06-28 佛山市小云科技有限公司 A method of it is automatically the directly available model resource of UE4 by 3D Max model conversion
CN111028361A (en) * 2019-11-18 2020-04-17 杭州群核信息技术有限公司 Three-dimensional model and material merging method, device, terminal, storage medium and rendering method
CN114491352A (en) * 2020-11-11 2022-05-13 亚信科技(中国)有限公司 Model loading method and device, electronic equipment and computer readable storage medium
CN113850919A (en) * 2021-08-31 2021-12-28 湖北亿咖通科技有限公司 Loading display method and system of 3D model file and storage medium
CN115914660A (en) * 2022-08-24 2023-04-04 北京一目视界科技有限公司 Method for controlling actions and facial expressions of digital people in meta universe and live broadcast

Similar Documents

Publication Publication Date Title
CN109816762B (en) Image rendering method and device, electronic equipment and storage medium
CN107885804A (en) Database synchronization method, application server and computer-readable recording medium
CN110018470A (en) Based on example mask method, model, terminal and the storage medium merged before multisensor
CN110210514B (en) Generative confrontation network training method, image completion method, device and storage medium
WO2019085466A1 (en) Association test method and system, application server, and computer readable storage medium
CN107870980B (en) Electronic device, billing data processing method and computer storage medium
CN113779656B (en) Stamping method, electronic archive platform and computer readable storage medium
US20220351490A1 (en) Convolution calculation method, convolution calculation apparatus, and terminal device
CN103744692A (en) Method and system for determining size of mobile terminal storage space occupied by application software
CN104299241A (en) Remote sensing image significance target detection method and system based on Hadoop
CN108230487A (en) The method and apparatus of shared camera resource
CN108053459A (en) Signature file synthetic method, application server and computer readable storage medium
CN114332883A (en) Invoice information identification method and device, computer equipment and storage medium
CN116958433A (en) Quick loading method and system for oversized surface number model
CN110443072B (en) Data signature method, data verification device and storage medium
CN106033390A (en) Mail style testing method and apparatus
CN107391533A (en) Generate the method and device of graphic data base Query Result
CN107391163A (en) page data loading method, device and application in mobile terminal
CN115795629A (en) Data conversion method, data conversion system and electronic equipment
CN111899204B (en) Vehicle loss detection data synthesis method, device and storage medium
CN113704536A (en) Method, device, equipment and medium for batch processing of field photos
CN106155991A (en) The preview graph of a kind of font packet generates method and system
CN110019507B (en) Data synchronization method and device
CN111581933A (en) Method and device for managing forms in webpage
CN111222517A (en) Test sample generation method, system, computer device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination