CN108763268A - A kind of batch processing method of threedimensional model and device, storage medium - Google Patents
A kind of batch processing method of threedimensional model and device, storage medium Download PDFInfo
- Publication number
- CN108763268A CN108763268A CN201810300665.2A CN201810300665A CN108763268A CN 108763268 A CN108763268 A CN 108763268A CN 201810300665 A CN201810300665 A CN 201810300665A CN 108763268 A CN108763268 A CN 108763268A
- Authority
- CN
- China
- Prior art keywords
- original
- dimensional model
- model
- processing
- task
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/20—Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
- G06T15/005—General purpose rendering architectures
Abstract
The present invention is suitable for threedimensional model processing technology field, provides a kind of batch processing method of threedimensional model and device, storage medium.The present invention generates archetype processing according to the archetype compressing file packet of acquisition by task processing server and file is arranged in task parameters, and in modelling server request task, parameter setting file is sent to modelling server, so that modelling server downloads the corresponding compressed package of archetype processing task according to the download address in parameter setting file, and pattern checking is carried out to original three-dimensional model according to the parameter information in parameter setting file after being unziped it to the compressed package of download, subtract face, it renders and generates configuration file after subtracting face again, and batch processing is carried out to original three-dimensional model according to the configuration file, it realizes and batch processing is carried out to threedimensional model automatically, without designer's manual handle, reduce the difficulty and cost of model treatment, improve the efficiency and quality of threedimensional model processing.
Description
Technical field
The invention belongs to threedimensional model processing technology field more particularly to the batch processing methods and dress of a kind of threedimensional model
It sets, storage medium.
Background technology
Currently, threedimensional model has been widely used in a variety of different fields, for example, household industry is made using them
Make the model of household displaying, medical industry uses them to make the accurate model etc. of organs.Due to three applied to every field
Dimension module is required for carrying out three-dimensional modeling in advance or changes the threedimensional model built up in model library as requested, and these three
Dimension module has specific requirement to parameter, attribute, size, procedure file etc., therefore applies the three-dimensional mould in every field
Type have to according to application scenarios it is distinctive requirement either step modeled or changed.
Currently, the prior art used technical solution when making specific area threedimensional model is:Designer is according to survey
The data of amount, the archetype inside the 3 d modeling software in graphing or modification model library, in the production process sternly
Requirement of the lattice according to application to model parameter, and according to the micro-judgment of oneself, according to fixed making step or flow system
Make threedimensional model.
However, since the demand in most cases to specific area threedimensional model is often large batch of, it is therefore desirable to complete
At many repetitive works, and a large amount of human time will be spent using manual manufacture, which not only reduces producing efficiency, and
And the threedimensional model made places one's entire reliance upon the qualification and focus of designer, needs veteran designer stringent
It is made according to flow, slightly carelessness may omit step or maloperation, thereby reduce the quality of threedimensional model.
Therefore, it is necessary to a kind of technical solution is provided, to solve the above technical problems.
Invention content
In view of this, an embodiment of the present invention provides a kind of batch processing method of threedimensional model and device, storage medium,
Can batch processing be carried out to threedimensional model automatically, be not necessarily to designer's manual handle, reduce the difficulty and cost of model treatment, improved
The efficiency and quality of threedimensional model processing.
The first aspect of the embodiment of the present invention provides a kind of batch processing method of threedimensional model, the batch processing method packet
It includes:
Task processing server obtains the compressed package of archetype file;Wherein, the compressed package includes initial three-dimensional
The parameter information of model and the original three-dimensional model;
The task processing server generates archetype processing times after carrying out screening and filtration treatment to the compressed package
Business, and parameter setting file is generated according to the parameter information of the original three-dimensional model;Wherein, the archetype handles task
It includes the archetype processing task to have mapping relations, the parameter setting file between the parameter setting file
The parameter information of the download address of corresponding compressed package and the original three-dimensional model;
Modelling server sends task request message according to prefixed time interval to the task processing server;
The parameter setting file is sent to the mould by the task processing server according to the task request message
Type makes server;
The modelling server is downloaded according to the download address in the parameter setting file at the archetype
The corresponding compressed package of reason task, and processing is unziped it to the compressed package of download, to obtain the original three-dimensional model;
The modelling server pre-processes the original three-dimensional model, and according to the parameter setting file
In parameter information subtract face to carrying out pattern checking and model by pretreated original three-dimensional model, and according to the ginseng
Number information to the original three-dimensional model for subtracting face by pretreatment, pattern checking and model render and subtracts surface treatment again,
To generate model display file;Wherein, the model display file includes the original three-dimensional model matching in processing procedure
Set file;
When receiving the instruction to original three-dimensional model progress batch processing, the modelling server is according to institute
It states configuration file and batch processing is carried out to the original three-dimensional model.
The second aspect of the embodiment of the present invention provides a kind of batch processing device of threedimensional model, the batch processing device packet
It includes:
Task processing server, the compressed package for obtaining archetype file;Wherein, the compressed package includes original
The parameter information of threedimensional model and the original three-dimensional model;
The task processing server is additionally operable to generate archetype after carrying out screening and filtration treatment to the compressed package
Processing task, and parameter setting file is generated according to the parameter information of the original three-dimensional model;Wherein, at the archetype
There are mapping relations, the parameter setting file includes at the archetype between reason task and the parameter setting file
The parameter information of the download address and the original three-dimensional model of the corresponding compressed package of reason task;
Modelling server, for sending task requests letter to the task processing server according to prefixed time interval
Breath;
The task processing server is additionally operable to be sent to the parameter setting file according to the task request message
The modelling server;
The modelling server is additionally operable to be downloaded according to the download address in the parameter setting file described original
The corresponding compressed package of model treatment task, and processing is unziped it to the compressed package of download, to obtain the initial three-dimensional mould
Type;
The modelling server is additionally operable to pre-process the original three-dimensional model, and according to the parameter
The parameter information being arranged in file by pretreated original three-dimensional model progress pattern checking and model to subtracting face, Yi Jigen
The original three-dimensional model for subtracting face by pretreatment, pattern checking and model render according to the parameter information and is subtracted again
Surface treatment, to generate model display file;Wherein, the model display file includes the original three-dimensional model in processing procedure
In configuration file;
The modelling server is additionally operable to work as the instruction for receiving and carrying out the original three-dimensional model batch processing
When, batch processing is carried out to the original three-dimensional model according to the configuration file.
The third aspect of the embodiment of the present invention provides a kind of batch processing device of threedimensional model, including memory, processing
Device and it is stored in the computer program that can be run in the memory and on the processor, described in the processor executes
The step of batch processing method of above-mentioned threedimensional model is realized when computer program.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, the computer program to realize the batch processing method of above-mentioned threedimensional model when being executed by processor
The step of.
Existing advantageous effect is the embodiment of the present invention compared with prior art:The present invention passes through task processing server root
Archetype processing is generated according to the archetype compressing file packet of acquisition and file is arranged in task parameters, and in modelling service
When device request task, parameter setting file is sent to modelling server, so that modelling server is set according to parameter
It sets the download address in file and downloads the corresponding compressed package of archetype processing task, and the compressed package of download is unziped it
Pattern checking is carried out to original three-dimensional model according to the parameter information in parameter setting file afterwards, subtracts face, render and subtracts face again
After generate configuration file, and batch processing is carried out to original three-dimensional model according to the configuration file, realized automatically to threedimensional model
Batch processing is carried out, designer's manual handle is not necessarily to, reduces the difficulty and cost of model treatment, improves threedimensional model processing
Efficiency and quality.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some
Embodiment for those of ordinary skill in the art without having to pay creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the implementation process schematic diagram of the batch processing method for the threedimensional model that the embodiment of the present invention one provides;
Fig. 2 is the implementation process schematic diagram of the batch processing method of threedimensional model provided by Embodiment 2 of the present invention;
Fig. 3 is the structural schematic diagram of the batch processing device for the threedimensional model that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram of the batch processing device for the threedimensional model that the embodiment of the present invention four provides.
Specific implementation mode
In being described below, for illustration and not for limitation, it is proposed that such as tool of particular system structure, technology etc
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention can also be realized in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
It should be appreciated that ought use in this specification and in the appended claims, the instruction of term " comprising " is described special
Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step,
Operation, element, component and/or its presence or addition gathered.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is
Refer to any combinations and all possible combinations of one or more of associated item listed, and includes these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
It is a kind of schematic flow diagram of the batch processing method for threedimensional model that the embodiment of the present invention one provides referring to Fig. 1.Such as
Shown in Fig. 1, the batch processing method of the threedimensional model may include following steps:
Step S101:Task processing server obtains the compressed package of archetype file;Wherein, the compressed package includes
The parameter information of original three-dimensional model and the original three-dimensional model.
Wherein, in embodiments of the present invention, user logs in archetype file upload interface by opening browser online
The compressed package of archetype file is uploaded, so that task processing server obtains the compressed package of the archetype file.
During upload, user can set the parameter informations such as the title of original three-dimensional model, classification, style, material, color
It sets, so that the compressed package uploaded includes original three-dimensional model and the parameter information of the original three-dimensional model.
Step S102:The task processing server generates original mould after carrying out screening and filtration treatment to the compressed package
Type handles task, and generates parameter setting file according to the parameter information of the original three-dimensional model;Wherein, the archetype
There are mapping relations, the parameter setting file includes the archetype between processing task and the parameter setting file
The parameter information of the download address and the original three-dimensional model of the corresponding compressed package of processing task.
Wherein, in embodiments of the present invention, parameter setting file refers to the source file of parameter setting when processing model, should
Source file includes the download address of the corresponding compressed package of archetype processing task and the parameter information of original three-dimensional model.
Further, between archetype processing task and parameter setting file there are mapping relations to refer to archetype
It is corresponding between processing task and parameter setting file.Specifically, since archetype processing task is according to screening and mistake
Filter treated compressed package generates, and parameter setting file is to be generated according to the parameter information of original three-dimensional model, and compress
Include the parameter information of the original three-dimensional model in packet again, therefore, archetype processing task and the parameter setting file of generation
Between be corresponding.
Further, as a preferred embodiment of the invention, the task processing server carries out the compressed package
Archetype processing task is generated after screening and filtration treatment includes:
The original three-dimensional model in the compressed package is identified in the task processing server, if recognition result is institute
It is effective document to state original three-dimensional model, then the size of the compressed package is limited in the first preset range, and according to processing
Compressed package afterwards generates the archetype and handles task.
Wherein, in embodiments of the present invention, original three-dimensional model is the file that effective document refers to original three-dimensional model
Type is defined file type, which is 3D Max model files.
When task processing server identifies that original three-dimensional model for effective document, then it is corresponding to obtain the original three-dimensional model
The size of compressed package, and the size of compressed package is limited in the first preset range, to improve the success during model treatment
Rate.It should be noted that in embodiments of the present invention, what the first preset range made to be configured according to the design needs, herein not
It is specifically limited.
Step S103:Modelling server sends task to the task processing server according to prefixed time interval and asks
Seek information.
Wherein, in embodiments of the present invention, prefixed time interval is preset time interval, for example, 3 seconds, 5 seconds, 10
Second etc., it can be modified, herein and be not particularly limited as needed.
In addition, in embodiments of the present invention, when modelling server with prefixed time interval to task processing server
Before sending task request message, modelling server opens modelling software by the process mode of guarding.Wherein, process
The mode of guarding refers to that modelling server guards module Boot Model Software for producing by its internal process.
Specifically, startup catalogue of the modelling server by process daemon model-SMBDI Software for producing,
And open modelling software according to target is started.After opening modelling software, modelling server monitoring software
The time of unexpected pop-up and monitoring model processing in normal operation, Intelligent treatment software running process etc. operational process,
Ensure the fluency of model treatment process with this.
Step S104:The task processing server sends the parameter setting file according to the task request message
To the modelling server.
Wherein, in embodiments of the present invention, task processing server is produced and is communicated with modelling server
Data-interface to receive the task request message that modelling server is sent by the data-interface, and is connect by the data
Parameter setting file is sent to modelling server by mouth, and the transmitting-receiving of server cluster data is realized with this.
Step S105:The modelling server downloads the original according to the download address in the parameter setting file
The corresponding compressed package of beginning model treatment task, and processing is unziped it to the compressed package of download, to obtain the initial three-dimensional
Model.
Wherein, in embodiments of the present invention, step S105 is specially:
The modelling server obtains and the parameter setting file pair when receiving the parameter setting file
The making number of original three-dimensional model in the compressed package for the archetype processing task answered;
If the making number is less than default making number, the parameter setting file is parsed, to obtain
State the download address of the corresponding compressed package of archetype processing task;
The corresponding compressed package of the archetype processing task is downloaded according to the download address;
Type identification is carried out to the corresponding compressed package of archetype processing task, if recognition result is the original mould
It is compression class file that type, which handles the corresponding compressed package of task, then unzips it processing to the compressed package of download.
Wherein, in embodiments of the present invention, when modelling server receives the parameter of task processing server transmission
File is set, then is examined firstly the need of the processing historical data for handling the corresponding archetype of the parameter setting file task
Survey, with determine the archetype task whether can be successful, and when cannot be successful to designer into
Row prompt, avoids the waste model treatment time.
Specifically, modelling server obtains the compression of archetype processing task corresponding with the parameter setting file
The making number of original three-dimensional model in packet, and the number is compared with the default number that makes, the default making number
Preferably three times.When the making number is less than three times, then show that archetype processing task can proceed with processing, at this time
Modelling server parses the corresponding parameter setting file of archetype processing task, to obtain at archetype
The download address of the corresponding compressed package of reason task.When the making number is more than three times, and archetype in processing procedure three times
Task is all useless to be handled successfully, then modelling server sends prompting message to designer at this time, to remind designer
It is handled manually.
After modelling server gets the download address of the corresponding compressed package of archetype processing task, just basis
The download address downloads the corresponding compressed package of archetype processing task, and carries out type knowledge to the compressed package after download
Not, to determine that the file downloaded is compression class file, and the compressed package of download is decompressed after being determined as compressing class file
Contracting is handled.
It should be noted that in embodiments of the present invention, when modelling server decompresses the compressed package of download
During contracting is handled, if compressed package files have the file of multilayer nest, the file under multiple files is extracted most
Outer layer file.
Step S106:The modelling server pre-processes the original three-dimensional model, and according to the ginseng
Parameter information in number setting file subtracts face to passing through pretreated original three-dimensional model progress pattern checking and model, and
According to the parameter information to the original three-dimensional model for subtracting face by pretreatment, pattern checking and model render with again
Subtract surface treatment, to generate model display file;Wherein, the model display file includes the original three-dimensional model processed
Configuration file in journey.
Wherein, in embodiments of the present invention, the file needed when model display file is model display, and initial three-dimensional mould
Configuration file of the type in processing procedure is archetype in processing procedure, and modelling server is according to original three-dimensional model
Parameter information configuration template file that original three-dimensional model is generated in the process of processing, which is
Foundation file of the modelling server in follow-up batch process.
Further, as an of the invention preferred embodiment, the modelling server in step S106 is to institute
It states original three-dimensional model and pre-process and include:
The modelling server is purged the model rubbish in the original three-dimensional model;
The modelling server carries out solution combined treatment to the original three-dimensional model after removing;
The size of modelling server inspection solution combination treated original three-dimensional model, and by solution combination
The size for original three-dimensional model that treated is limited in the second preset range.
Wherein, in embodiments of the present invention, the second preset range is the original three-dimensional model for needing to be arranged according to scene
Magnitude range can carry out different settings according to different scenes, be not particularly limited herein.
Further, it is not belonging to the original three-dimensional model due to being susceptible to during making original three-dimensional model
Lines either hide model, therefore, when modelling server is after getting the original three-dimensional model, it is necessary to original to this
Threedimensional model carries out model rubbish removing, to ensure being smoothed out for model treatment process.
After modelling server has carried out model rubbish to original three-dimensional model to be removed, modelling server at this time
To also solution combined treatment be carried out to the original three-dimensional model after removing, and check the size of original three-dimensional model, by original three
The size of dimension module limits in a certain range, and the success rate of model treatment is improved with this.
In addition, modelling server also needs the editing machine to modelling software to reset, specifically, model
Server is made to require to initialize the editing machine of the modelling software according to model treatment.It should be noted that in the present invention
In embodiment, which includes but not limited to 3D Max.
Further, as an of the invention preferred embodiment, the parameter information in the parameter setting file includes original
The material information of beginning threedimensional model and textures information, the parameter according in the parameter setting file in step S106 are believed
It ceases and includes to subtracting face by pretreated original three-dimensional model progress pattern checking and model:
The modelling server is according to the material information and the textures information respectively to described by pre-processing
Original three-dimensional model afterwards carries out material inspection and textures inspection, to confirm whether the material of the original three-dimensional model is target
Whether the textures of material and the original three-dimensional model are target textures;
If the material of the original three-dimensional model is target materials, and the textures of the original three-dimensional model paste for target
Figure, then obtain the face number by pretreated original three-dimensional model;
If the face number is more than default face number, by pretreated original three-dimensional model subtract at face to described
Reason.
Wherein, in embodiments of the present invention, the target face number that face number refers to original three-dimensional model is preset.
After modelling server pre-processes original three-dimensional model, after modelling server will be to pretreatment
Original three-dimensional model carry out pattern checking and model and subtract face.Specifically, modelling server checks original three-dimensional model
Material and model pinup picture, when the patch that the material of original three-dimensional model is the material information and original three-dimensional model in parameter information
Figure is the textures information in parameter information, then can carry out subtracting surface treatment to the original three-dimensional model.And when original three-dimensional model
Material information is not the material information in parameter information, then modelling server will be under the premise of retaining original setting, will
The material that cannot identify or the material for not meeting processing specification are substituted for the material for meeting model treatment requirement.In addition, when original
When the textures file loss of beginning threedimensional model or textures format error, textures deduction is met mould by modelling server
The textures of type processing requirement.
In addition, modelling server will also be detected the UV textures of original three-dimensional model, for not having UV textures
Original three-dimensional model, modelling server will also require according to model treatment, assign the original three-dimensional model suitable UV
Textures and corresponding parameter setting.
Further, as an of the invention preferred embodiment, it is described according to the parameter information to by pretreatment, mould
The original three-dimensional model that type checking and model subtract face render and subtracts surface treatment again, to generate model display file packet
It includes:
The modelling server according to the rendering parameter create the material of the original three-dimensional model and textures it
Between correspondence;
The modelling server according to the correspondence and the rendering parameter to the original three-dimensional model into
Row rendering is handled, to generate display diagram and top view;
The modelling server obtains the face number by the original three-dimensional model that renders that treated, and in the process
When rendering the face number of treated original three-dimensional model and being more than the default face number, to described by rendering that treated original three
Dimension module is subtracted face again;
The modelling server carries out again the original three-dimensional model by subtracting face again according to the rendering parameter
Secondary rendering, and export the configuration file.
Wherein, in embodiments of the present invention, the parameter information in parameter setting file further includes the wash with watercolours of original three-dimensional model
Contaminate parameter.
It, can be according to rendering parameter pair after modelling server has carried out pattern checking and subtracted face to original three-dimensional model
Original three-dimensional model is handled again.Specifically, modelling server creates original three-dimensional model according to rendering parameter
Correspondence between material and textures, and first wash with watercolours is carried out to original three-dimensional model according to the correspondence and rendering parameter
Dye, to generate the display diagram and top view needed for model display.Wherein, corresponding between the material of original three-dimensional model and textures
Relationship refers to being placed with position for specific materials textures, and display diagram and top view include the knot of original three-dimensional model
Structure, material and textures information.
After modelling server to the original three-dimensional model by pre-processing render for the first time, model system at this time
The face number of original three-dimensional model can be obtained again by making server, to determine whether the original three-dimensional model needs to subtract face again.Tool
Body, when the face number of original three-dimensional model is still above default face number, then modelling server is to by first rendering
Original three-dimensional model after reason carries out subtracting face, until the face number of the original three-dimensional model is default face number.
Further, after modelling server has carried out subtracting face again to the original three-dimensional model, modelling clothes
Business device further renders the initial three-dimensional module after subtracting face again according to rendering parameter again, and exports configuration file.
In addition, modelling server also needs the integrality to derived configuration file to be detected, to determine whether
Necessary configuration file failed regeneration or omission.If having file generated failure or omitting, this document is regenerated, with true
Protect the integrality of configuration file.
Step S107:When receiving the instruction to original three-dimensional model progress batch processing, the modelling clothes
Business device carries out batch processing according to the configuration file to the original three-dimensional model.
Wherein, in embodiments of the present invention, since configuration file is modelling server according to original three-dimensional model
The configuration template file that parameter information generates original three-dimensional model in the process of processing, therefore, when modelling takes
Business device receive need to original three-dimensional model carry out batch processing instruction when, can be according to the configuration template file according to setting
Parameter and flow to the original three-dimensional model carry out batch processing.
In the present embodiment, the present invention is generated by task processing server according to the archetype compressing file packet of acquisition
File is arranged in archetype processing and task parameters, and in modelling server request task, parameter setting file is sent out
It send to modelling server, so that modelling server downloads archetype according to the download address in parameter setting file
The corresponding compressed package of processing task, and according to the parameter information in parameter setting file after being unziped it to the compressed package of download
Configuration file is generated after carrying out pattern checking to original three-dimensional model, subtract face, render and subtract face again, and according to the configuration file
Batch processing is carried out to original three-dimensional model, realizes and batch processing is carried out to threedimensional model automatically, is not necessarily to designer's manual handle, drop
The low difficulty and cost of model treatment improves the efficiency and quality of threedimensional model processing.
It is a kind of schematic flow diagram of the batch processing method of threedimensional model provided by Embodiment 2 of the present invention referring to Fig. 2.Such as
Shown in Fig. 2, the batch processing method of the threedimensional model may include following steps:
Step S201:Task processing server obtains the compressed package of archetype file;Wherein, the compressed package includes
The parameter information of original three-dimensional model and the original three-dimensional model.
Wherein, in embodiments of the present invention, the specific implementation process of step S201 and the step S101 described in embodiment
It is identical, the specific descriptions of S101 are can refer to, details are not described herein again.
Step S202:The task processing server generates original mould after carrying out screening and filtration treatment to the compressed package
Type handles task, and generates parameter setting file according to the parameter information of the original three-dimensional model;Wherein, the archetype
There are mapping relations, the parameter setting file includes the archetype between processing task and the parameter setting file
The parameter information of the download address and the original three-dimensional model of the corresponding compressed package of processing task.
Wherein, in embodiments of the present invention, the specific implementation process of step S202 and the step S102 described in embodiment
It is identical, the specific descriptions of S102 are can refer to, details are not described herein again.
Step S203:Modelling server sends task to the task processing server according to prefixed time interval and asks
Seek information.
Wherein, in embodiments of the present invention, the specific implementation process of step S203 and the step S103 described in embodiment
It is identical, the specific descriptions of S103 are can refer to, details are not described herein again.
Step S204:The task processing server sends the parameter setting file according to the task request message
To the modelling server.
Wherein, in embodiments of the present invention, the specific implementation process of step S204 and the step S104 described in embodiment
It is identical, the specific descriptions of S104 are can refer to, details are not described herein again.
Step S205:The modelling server downloads the original according to the download address in the parameter setting file
The corresponding compressed package of beginning model treatment task, and processing is unziped it to the compressed package of download, to obtain the initial three-dimensional
Model.
Wherein, in embodiments of the present invention, the specific implementation process of step S205 and the step S105 described in embodiment
It is identical, the specific descriptions of S105 are can refer to, details are not described herein again.
Step S206:The modelling server pre-processes the original three-dimensional model, and according to the ginseng
Parameter information in number setting file subtracts face to passing through pretreated original three-dimensional model progress pattern checking and model, and
According to the parameter information to the original three-dimensional model for subtracting face by pretreatment, pattern checking and model render with again
Subtract surface treatment, to generate model display file;Wherein, the model display file includes the original three-dimensional model processed
Configuration file in journey.
Wherein, in embodiments of the present invention, the specific implementation process of step S206 and the step S106 described in embodiment
It is identical, the specific descriptions of S106 are can refer to, details are not described herein again.
Step S207:When receiving the instruction to original three-dimensional model progress batch processing, the modelling clothes
Business device carries out batch processing according to the configuration file to the original three-dimensional model.
Wherein, in embodiments of the present invention, the specific implementation process of step S207 and the step S107 described in embodiment
It is identical, the specific descriptions of S107 are can refer to, details are not described herein again.
Step S208:The modelling server sends the model display file to the task processing server.
Wherein, in embodiments of the present invention, after modelling server generates model display file, by the model
After displaying file is packaged into compressed file, the compressed file of packing is sent to by the data-interface with task processing server
Task processing server.
In addition, after the compressed file of packing is sent to task processing server by modelling server, then ask again
The seeking information of the task, to start to make next time.
Step S209:The task processing server is under user's operation according to the model display file to by handling
Original three-dimensional model afterwards is shown.
Wherein, in embodiments of the present invention, when task processing server receives the model of modelling server transmission
When showing file, since the model display file includes the display diagram and top view of treated original three-dimensional model, because
This, task processing server can under the operation that user is shown archetype according to display diagram and top view to original three
Dimension module is shown accordingly, in order to which user according to cheer and bright the learning of model file, complete by original three-dimensional model processing
Effect afterwards and the effect in actually showing.
In the present embodiment, the present invention is generated by task processing server according to the archetype compressing file packet of acquisition
File is arranged in archetype processing and task parameters, and in modelling server request task, parameter setting file is sent out
It send to modelling server, so that modelling server downloads archetype according to the download address in parameter setting file
The corresponding compressed package of processing task, and according to the parameter information in parameter setting file after being unziped it to the compressed package of download
Configuration file is generated after carrying out pattern checking to original three-dimensional model, subtract face, render and subtract face again, and according to the configuration file
Batch processing is carried out to original three-dimensional model, realizes and batch processing is carried out to threedimensional model automatically, is not necessarily to designer's manual handle, drop
The low difficulty and cost of model treatment improves the efficiency and quality of threedimensional model processing.
In addition, model display file is sent to task processing server by the present invention by modelling server so that
Task processing server is shown original three-dimensional model after treatment according to model display file under user's operation,
So that user according to model file it is cheer and bright learn original three-dimensional model handle after the completion of effect and in practical displaying
In effect.
It is the schematic block diagram of the processing unit 3 for the threedimensional model that the embodiment of the present invention three provides referring to Fig. 3.The present invention
Each module that the processing unit 3 for the threedimensional model that embodiment provides includes is each in Fig. 1 embodiments corresponding with Fig. 2 for executing
Step, referring specifically to the associated description in Fig. 1 and Fig. 2 and Fig. 1 embodiments corresponding with Fig. 2, details are not described herein again.This
The processing unit 3 for the threedimensional model that inventive embodiments provide includes task processing server 31 and modelling server 32.
Wherein, task processing server 31, the compressed package for obtaining archetype file;Wherein, compressed package includes
The parameter information of original three-dimensional model and original three-dimensional model.
Task processing server 31 is additionally operable to generate archetype processing times after carrying out screening and filtration treatment to compressed package
Business, and parameter setting file is generated according to the parameter information of original three-dimensional model;Wherein, archetype processing task is set with parameter
Setting has mapping relations between file, and parameter setting file includes download that archetype handles the corresponding compressed package of task
The parameter information of location and original three-dimensional model.
Modelling server 32, for sending task requests letter to task processing server 31 according to prefixed time interval
Breath.
Task processing server 31 is additionally operable to that parameter setting file is sent to modelling clothes according to task request message
Business device 32.
Modelling server 32 is additionally operable to download archetype processing times according to the download address in parameter setting file
It is engaged in corresponding compressed package, and processing is unziped it to the compressed package of download, to obtain original three-dimensional model.
Modelling server 32 is additionally operable to pre-process original three-dimensional model, and according in parameter setting file
Parameter information subtract face to carrying out pattern checking and model by pretreated original three-dimensional model, and according to parameter information
Original three-dimensional model to subtracting face by pretreatment, pattern checking and model render and subtracts surface treatment again, to generate
Model display file;Wherein, model display file includes configuration file of the original three-dimensional model in processing procedure.
Modelling server 32 is additionally operable to when receiving the instruction to original three-dimensional model progress batch processing, according to
Configuration file carries out batch processing to original three-dimensional model.
Further, modelling server 32 is additionally operable to show file to task processing server transmission pattern.
Task processing server 31 is additionally operable under user's operation original to after treatment according to model display file
Threedimensional model is shown.
Further, task processing server 31 is specifically used for that the original three-dimensional model in compressed package is identified, if
Recognition result is that original three-dimensional model is effective document, then the size of compressed package is limited in the first preset range, and according to
Treated, and compressed package generates archetype processing task.
Further, modelling server 32 is specifically used for when receiving parameter setting file, and acquisition is set with parameter
Set the making number of the original three-dimensional model in the compressed package of the corresponding archetype processing task of file;If making number to be less than
It is default to make number, then parameter setting file is parsed, to obtain under the corresponding compressed package of archetype processing task
Set address;The corresponding compressed package of archetype processing task is downloaded according to download address;It is corresponding to archetype processing task
Compressed package carries out type identification, right if it is compression class file that recognition result, which is the corresponding compressed package of archetype processing task,
The compressed package of download unzips it processing.
Further, modelling server 32 is specifically used for being purged the model rubbish in original three-dimensional model;
Solution combined treatment is carried out to the original three-dimensional model after removing;Check the size of solution combination treated original three-dimensional model, and
The size of solution combination treated original three-dimensional model is limited in the second preset range.
Further, the parameter information in parameter setting file includes that the material information of original three-dimensional model and textures are believed
Breath, modelling server 32 are specifically used for according to material information and textures information respectively to passing through pretreated initial three-dimensional
Model carries out material inspection and textures inspection, to confirm whether the material of original three-dimensional model is target materials and initial three-dimensional
Whether the textures of model are target textures;If the material of original three-dimensional model is target materials, and the textures of original three-dimensional model
For target textures, then the face number by pretreated original three-dimensional model is obtained;If face number is more than default face number, to passing through
Pretreated original three-dimensional model carries out subtracting surface treatment.
Further, the parameter information in parameter setting file further includes the rendering parameter of original three-dimensional model, model system
Make the correspondence that server 32 is specifically used between the material and textures according to rendering parameter establishment original three-dimensional model;According to
Correspondence and rendering parameter carry out rendering processing to original three-dimensional model, to generate display diagram and top view;It obtains and passes through wash with watercolours
The face number of dye treated original three-dimensional model, and it is being more than default face by the face number for the original three-dimensional model that renders that treated
When number, to by rendering, treated that original three-dimensional model is subtracted face again;According to rendering parameter to by subtracting face again
Original three-dimensional model is rendered again, and exports configuration file.
In the present embodiment, the batch processing device 3 of threedimensional model of the invention by task processing server according to acquisition
Archetype compressing file packet generate archetype processing and task parameters be arranged file, and modelling server ask
When task, parameter setting file is sent to modelling server, so that modelling server is according to parameter setting file
In download address download the corresponding compressed package of archetype processing task, and rear basis is unziped it to the compressed package of download
Parameter information in parameter setting file to original three-dimensional model carry out pattern checking, subtract face, render with subtract face again after generate
Configuration file, and batch processing is carried out to original three-dimensional model according to the configuration file, it realizes and threedimensional model is criticized automatically
Processing, be not necessarily to designer's manual handle, reduce the difficulty and cost of model treatment, improve threedimensional model processing efficiency and
Quality.
In addition, the batch processing device 3 of the threedimensional model of the present invention is sent out model display file by modelling server
Give task processing server so that task processing server is under user's operation according to model display file to after treatment
Original three-dimensional model be shown so that user according to model file it is cheer and bright learn original three-dimensional model processing complete
Effect afterwards and the effect in actually showing.
Fig. 4 is the batch processing device 4 of 4 threedimensional model of batch processing device for the threedimensional model that the embodiment of the present invention four provides
Schematic diagram.As shown in figure 4, the batch processing device 4 of the threedimensional model of the embodiment includes:It processor 40, memory 41 and deposits
Store up the computer program 42 that can be run in the memory 41 and on the processor 40, such as the batch processing of threedimensional model
The program of method.The processor 40 realizes that the batch processing method of above-mentioned threedimensional model is implemented when executing the computer program 42
Step in example, such as step 101 shown in FIG. 1 is to 107 and step 201 shown in Fig. 2 to 209.Alternatively, the processor
The function of each module/unit in above-mentioned each device embodiment, such as clothes shown in Fig. 3 are realized when the 40 execution computer program 42
The function of business device 31 to 32.
Illustratively, the computer program 42 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 41, and are executed by the processor 40, to complete the present invention.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 42 in the batch processing device 4 of the threedimensional model is described.For example, the computer journey
Sequence 42 can be divided into task processing server and modelling server, and each server concrete function is as follows:
Task processing server, the compressed package for obtaining archetype file;Wherein, compressed package includes initial three-dimensional
The parameter information of model and original three-dimensional model.
Task processing server is additionally operable to generate archetype processing times after carrying out screening and filtration treatment to compressed package
Business, and parameter setting file is generated according to the parameter information of original three-dimensional model;Wherein, archetype processing task is set with parameter
Setting has mapping relations between file, and parameter setting file includes download that archetype handles the corresponding compressed package of task
The parameter information of location and original three-dimensional model.
Modelling server, for sending task request message to task processing server according to prefixed time interval.
Task processing server is additionally operable to that parameter setting file is sent to modelling service according to task request message
Device.
Modelling server is additionally operable to download archetype processing task according to the download address in parameter setting file
Corresponding compressed package, and processing is unziped it to the compressed package of download, to obtain original three-dimensional model.
Modelling server is additionally operable to pre-process original three-dimensional model, and according in parameter setting file
Parameter information subtracts face to passing through pretreated original three-dimensional model progress pattern checking and model, and according to parameter information pair
The original three-dimensional model for subtracting face by pretreatment, pattern checking and model render and subtracts surface treatment again, to generate mould
Type shows file;Wherein, model display file includes configuration file of the original three-dimensional model in processing procedure.
Modelling server, be additionally operable to when receive to original three-dimensional model carry out batch processing instruction when, according to
It sets file and batch processing is carried out to original three-dimensional model.
Further, modelling server is additionally operable to show file to task processing server transmission pattern.
Task processing server is additionally operable under user's operation according to model display file to original three after treatment
Dimension module is shown.
Further, task processing server is specifically used for that the original three-dimensional model in compressed package is identified, if knowing
It is effective document that other result, which is original three-dimensional model, then the size of compressed package is limited in the first preset range, and according to place
Compressed package after reason generates archetype and handles task.
Further, modelling server is specifically used for when receiving parameter setting file, acquisition and parameter setting
The making number of original three-dimensional model in the compressed package of the corresponding archetype processing task of file;If making number to be less than in advance
It is equipped with and makees number, then parameter setting file is parsed, to obtain the download of the corresponding compressed package of archetype processing task
Address;The corresponding compressed package of archetype processing task is downloaded according to download address;Pressure corresponding to archetype processing task
Contracting packet carries out type identification, if recognition result is archetype processing task, corresponding compressed package is compression class file, under
The compressed package of load unzips it processing.
Further, modelling server is specifically used for being purged the model rubbish in original three-dimensional model;It is right
Original three-dimensional model after removing carries out solution combined treatment;Check the size of solution combination treated original three-dimensional model, and will
The size of solution combination treated original three-dimensional model is limited in the second preset range.
Further, the parameter information in parameter setting file includes that the material information of original three-dimensional model and textures are believed
Breath, modelling server are specifically used for according to material information and textures information respectively to passing through pretreated initial three-dimensional mould
Type carries out material inspection and textures inspection, to confirm whether the material of original three-dimensional model is target materials and initial three-dimensional mould
Whether the textures of type are target textures;If the material of original three-dimensional model is target materials, and the textures of original three-dimensional model are
Target textures then obtain the face number by pretreated original three-dimensional model;If face number is more than default face number, to by pre-
Original three-dimensional model that treated carries out subtracting surface treatment.
Further, the parameter information in parameter setting file further includes the rendering parameter of original three-dimensional model, model system
Make the correspondence that server is specifically used between the material and textures according to rendering parameter establishment original three-dimensional model;According to right
It should be related to and rendering processing is carried out to original three-dimensional model with rendering parameter, to generate display diagram and top view;It obtains by rendering
The face number for original three-dimensional model that treated, and it is being more than default face number by rendering the face number of treated original three-dimensional model
When, to by rendering, treated that original three-dimensional model is subtracted face again;According to rendering parameter to the original by subtracting face again
Beginning threedimensional model is rendered again, and exports configuration file.
The batch processing device 4 of the threedimensional model can be various processors, can also be a number inside processor
According to processing module.The batch processing device 4 of the threedimensional model may include, but be not limited only to, processor 40, memory 41.Ability
Field technique personnel are appreciated that Fig. 4 is only the example of the batch processing device 4 of threedimensional model, do not constitute to threedimensional model
The restriction of batch processing device 4 may include either combining certain components or different than illustrating more or fewer components
Component, such as the batch processing device 4 of the threedimensional model can also include input-output equipment, network access equipment, bus etc..
Alleged processor 40 can be micro-control unit (Micro controller Unit, MCU), central processing unit
(Central Processing Unit, CPU), can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
It can also be any conventional processor etc. to manage device.
The memory 41 can be the internal storage unit of the batch processing device 4 of the threedimensional model, such as three-dimensional mould
The hard disk or memory of the batch processing device 4 of type.The memory 41 can also be the outer of the batch processing device 4 of the threedimensional model
The plug-in type hard disk being equipped in portion's storage device, such as the batch processing device 4 of the threedimensional model, intelligent memory card (Smart
Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..
Further, the memory 41 can also both include the storage inside of the batch processing device 4 of the threedimensional model
Unit also includes External memory equipment.The memory 41 is used to store batch of the computer program and the threedimensional model
Other programs needed for processing unit 4 and data.The memory 41, which can be also used for temporarily storing, to have exported or has incited somebody to action
The data to be exported.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work(
Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion
The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used
It, can also be above-mentioned integrated during two or more units are integrated in one unit to be that each unit physically exists alone
The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.In addition, each function list
Member, the specific name of module are also only to facilitate mutually distinguish, the protection domain being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, depends on the specific application and design constraint of technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with
It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as
Multiple units or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be by some interfaces, device
Or INDIRECT COUPLING or the communication connection of unit, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can be stored in a computer read/write memory medium.Based on this understanding, the present invention realizes above-mentioned implementation
All or part of flow in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..Computer-readable Jie
Matter may include:Can carry the computer program code any entity or device, recording medium, USB flash disk, mobile hard disk,
Magnetic disc, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to legislation in jurisdiction and the requirement of patent practice
Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and
Telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to aforementioned reality
Applying example, invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each
Technical solution recorded in embodiment is modified or equivalent replacement of some of the technical features;And these are changed
Or replace, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of batch processing method of threedimensional model, which is characterized in that the batch processing method includes:
Task processing server obtains the compressed package of archetype file;Wherein, the compressed package includes original three-dimensional model
And the parameter information of the original three-dimensional model;
The task processing server generates archetype processing task after carrying out screening and filtration treatment to the compressed package, and
Parameter setting file is generated according to the parameter information of the original three-dimensional model;Wherein, the archetype processing task and institute
Stating has mapping relations between parameter setting file, and the parameter setting file includes the archetype processing task correspondence
Compressed package download address and the original three-dimensional model parameter information;
Modelling server sends task request message according to prefixed time interval to the task processing server;
The parameter setting file is sent to the model system by the task processing server according to the task request message
Make server;
The modelling server is downloaded the archetype processing according to the download address in the parameter setting file and is appointed
It is engaged in corresponding compressed package, and processing is unziped it to the compressed package of download, to obtain the original three-dimensional model;
The modelling server pre-processes the original three-dimensional model, and according in the parameter setting file
Parameter information subtracts face to passing through pretreated original three-dimensional model progress pattern checking and model, and is believed according to the parameter
It ceases and the original three-dimensional model for subtracting face by pretreatment, pattern checking and model render and subtracts surface treatment again, with life
At model display file;Wherein, the model display file includes configuration text of the original three-dimensional model in processing procedure
Part;
When receiving the instruction to original three-dimensional model progress batch processing, the modelling server is matched according to
It sets file and batch processing is carried out to the original three-dimensional model.
2. batch processing method according to claim 1, which is characterized in that the batch processing method further includes:
The modelling server sends the model display file to the task processing server;
The task processing server is under user's operation according to the model display file to initial three-dimensional after treatment
Model is shown.
3. batch processing method according to claim 1 or 2, which is characterized in that the task processing server is to the pressure
Generation archetype processing task includes after contracting packet carries out screening and filtration treatment:
The original three-dimensional model in the compressed package is identified in the task processing server, if recognition result is the original
Beginning threedimensional model is effective document, then the size of the compressed package is limited in the first preset range, and according to treated
Compressed package generates the archetype and handles task.
4. batch processing method according to claim 1 or 2, which is characterized in that the modelling server is according to
Download address in parameter setting file downloads the corresponding compressed package of the archetype processing task, and to the compressed package of download
Unziping it processing includes:
The modelling server obtains corresponding with the parameter setting file when receiving the parameter setting file
The making number of original three-dimensional model in the compressed package of the archetype processing task;
If the making number is less than default making number, the parameter setting file is parsed, to obtain the original
The download address of the corresponding compressed package of beginning model treatment task;
The corresponding compressed package of the archetype processing task is downloaded according to the download address;
Type identification is carried out to the corresponding compressed package of archetype processing task, if recognition result is at the archetype
The corresponding compressed package of reason task is compression class file, then unzips it processing to the compressed package of download.
5. batch processing method according to claim 1 or 2, which is characterized in that the modelling server is to the original
Beginning threedimensional model carries out pretreatment:
The modelling server is purged the model rubbish in the original three-dimensional model;
The modelling server carries out solution combined treatment to the original three-dimensional model after removing;
The size of modelling server inspection solution combination treated original three-dimensional model, and by the solution combined treatment
The size of original three-dimensional model afterwards is limited in the second preset range.
6. batch processing method according to claim 1 or 2, which is characterized in that the parameter letter in the parameter setting file
Breath includes the material information and textures information of original three-dimensional model, the parameter information pair according in the parameter setting file
Subtracting face by pretreated original three-dimensional model progress pattern checking and model includes:
The modelling server is according to the material information and the textures information respectively to described by pretreated
Original three-dimensional model carries out material inspection and textures inspection, to confirm whether the material of the original three-dimensional model is target materials
And whether the textures of the original three-dimensional model are target textures;
If the material of the original three-dimensional model is target materials, and the textures of the original three-dimensional model are target textures, then
Obtain the face number by pretreated original three-dimensional model;
If the face number is more than default face number, carry out subtracting surface treatment by pretreated original three-dimensional model to described.
7. batch processing method according to claim 6, which is characterized in that the parameter information in the parameter setting file is also
Rendering parameter including original three-dimensional model, it is described according to the parameter information to by pretreatment, pattern checking and model
The original three-dimensional model for subtracting face render and subtracts surface treatment again, includes to generate model display file:
The modelling server is created according to the rendering parameter between the material and textures of the original three-dimensional model
Correspondence;
The modelling server carries out wash with watercolours according to the correspondence and the rendering parameter to the original three-dimensional model
Dye processing, to generate display diagram and top view;
The modelling server obtains the face number by the original three-dimensional model that renders that treated, and described by rendering
When the face number for original three-dimensional model that treated is more than the default face number, to described by rendering treated initial three-dimensional mould
Type is subtracted face again;
The modelling server carries out wash with watercolours again according to the rendering parameter to the original three-dimensional model by subtracting face again
Dye, and export the configuration file.
8. a kind of batch processing device of threedimensional model, which is characterized in that the batch processing device includes:
Task processing server, the compressed package for obtaining archetype file;Wherein, the compressed package includes initial three-dimensional
The parameter information of model and the original three-dimensional model;
The task processing server is additionally operable to generate archetype processing after carrying out screening and filtration treatment to the compressed package
Task, and parameter setting file is generated according to the parameter information of the original three-dimensional model;Wherein, the archetype processing is appointed
It includes that the archetype processing is appointed to have mapping relations, the parameter setting file between business and the parameter setting file
Be engaged in corresponding compressed package download address and the original three-dimensional model parameter information;
Modelling server, for sending task request message to the task processing server according to prefixed time interval;
The task processing server is additionally operable to be sent to the parameter setting file according to the task request message described
Modelling server;
The modelling server is additionally operable to download the archetype according to the download address in the parameter setting file
The corresponding compressed package of processing task, and processing is unziped it to the compressed package of download, to obtain the original three-dimensional model;
The modelling server is additionally operable to pre-process the original three-dimensional model, and according to the parameter setting
Parameter information in file subtracts face to passing through pretreated original three-dimensional model progress pattern checking and model, and according to institute
Parameter information is stated the original three-dimensional model for subtracting face by pretreatment, pattern checking and model render and is again subtracted at face
Reason, to generate model display file;Wherein, the model display file includes the original three-dimensional model in processing procedure
Configuration file;
The modelling server is additionally operable to when receiving the instruction to original three-dimensional model progress batch processing, root
Batch processing is carried out to the original three-dimensional model according to the configuration file.
9. a kind of batch processing device of threedimensional model, including memory, processor and it is stored in the memory and can be
The computer program run on the processor, which is characterized in that the processor is realized such as when executing the computer program
The step of batch processing method of claim 1 to 7 any one of them threedimensional model.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, feature to exist
In the computer program realizes the batch processing of threedimensional model as described in any one of claim 1 to 7 when being executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810300665.2A CN108763268B (en) | 2018-04-04 | 2018-04-04 | Batch processing method and device of three-dimensional model and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810300665.2A CN108763268B (en) | 2018-04-04 | 2018-04-04 | Batch processing method and device of three-dimensional model and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108763268A true CN108763268A (en) | 2018-11-06 |
CN108763268B CN108763268B (en) | 2020-12-29 |
Family
ID=63980896
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810300665.2A Active CN108763268B (en) | 2018-04-04 | 2018-04-04 | Batch processing method and device of three-dimensional model and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108763268B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109598080A (en) * | 2018-12-13 | 2019-04-09 | 佛山市超体软件科技有限公司 | A kind of fast automatic formula conversion process system of 3D design drawing and its application method |
CN110517342A (en) * | 2019-07-25 | 2019-11-29 | 北京达佳互联信息技术有限公司 | Target object display methods, device, electronic equipment and storage medium |
CN111260018A (en) * | 2018-11-30 | 2020-06-09 | 上海寒武纪信息科技有限公司 | Machine learning secondary model file generation method and device and storage medium |
CN111599017A (en) * | 2020-05-20 | 2020-08-28 | 苏州沁游网络科技有限公司 | Game model optimization method, device and storage medium |
CN112419511A (en) * | 2020-12-26 | 2021-02-26 | 董丽萍 | Three-dimensional model file processing method and device, storage medium and server |
CN113656862A (en) * | 2021-07-20 | 2021-11-16 | 中建科工集团有限公司 | Drawing data updating processing method, device and computer readable storage medium |
US11307836B2 (en) | 2018-06-08 | 2022-04-19 | Shanghai Cambricon Information Technology Co., Ltd. | General machine learning model, and model file generation and parsing method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070050070A1 (en) * | 2005-08-05 | 2007-03-01 | Pfizer Inc | Automated batch manufactuirng |
CN102436621A (en) * | 2011-11-08 | 2012-05-02 | 莫健新 | Systems and methods for displaying housing estate landscape data and generating housing estate landscape display data |
CN103106680A (en) * | 2013-02-16 | 2013-05-15 | 赞奇科技发展有限公司 | Implementation method for three-dimensional figure render based on cloud computing framework and cloud service system |
CN106600700A (en) * | 2015-10-20 | 2017-04-26 | 星际空间(天津)科技发展有限公司 | Three-dimensional model data processing system |
-
2018
- 2018-04-04 CN CN201810300665.2A patent/CN108763268B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070050070A1 (en) * | 2005-08-05 | 2007-03-01 | Pfizer Inc | Automated batch manufactuirng |
CN102436621A (en) * | 2011-11-08 | 2012-05-02 | 莫健新 | Systems and methods for displaying housing estate landscape data and generating housing estate landscape display data |
CN103106680A (en) * | 2013-02-16 | 2013-05-15 | 赞奇科技发展有限公司 | Implementation method for three-dimensional figure render based on cloud computing framework and cloud service system |
CN106600700A (en) * | 2015-10-20 | 2017-04-26 | 星际空间(天津)科技发展有限公司 | Three-dimensional model data processing system |
Non-Patent Citations (3)
Title |
---|
XIAOXIA HU等: "BATCH MODELING OF 3D CITY BASED ON ESRI", 《IET INTERNATIONAL CONFERENCE ON SMART AND SUSTAINABLE CITY 2013》 * |
向泽君等: "三维水利工程仿真系统设计与开发", 《电网与水力发电进展》 * |
赵永明等: "三维模型与属性数据同步的批处理方法研究", 《矿山测量》 * |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11307836B2 (en) | 2018-06-08 | 2022-04-19 | Shanghai Cambricon Information Technology Co., Ltd. | General machine learning model, and model file generation and parsing method |
US11726754B2 (en) | 2018-06-08 | 2023-08-15 | Shanghai Cambricon Information Technology Co., Ltd. | General machine learning model, and model file generation and parsing method |
US11403080B2 (en) | 2018-06-08 | 2022-08-02 | Shanghai Cambricon Information Technology Co., Ltd. | General machine learning model, and model file generation and parsing method |
US11379199B2 (en) | 2018-06-08 | 2022-07-05 | Shanghai Cambricon Information Technology Co., Ltd. | General machine learning model, and model file generation and parsing method |
US11334329B2 (en) | 2018-06-08 | 2022-05-17 | Shanghai Cambricon Information Technology Co., Ltd. | General machine learning model, and model file generation and parsing method |
US11334330B2 (en) | 2018-06-08 | 2022-05-17 | Shanghai Cambricon Information Technology Co., Ltd. | General machine learning model, and model file generation and parsing method |
CN111260018B (en) * | 2018-11-30 | 2022-03-22 | 上海寒武纪信息科技有限公司 | Machine learning secondary model file generation method and device and storage medium |
CN111260018A (en) * | 2018-11-30 | 2020-06-09 | 上海寒武纪信息科技有限公司 | Machine learning secondary model file generation method and device and storage medium |
CN109598080A (en) * | 2018-12-13 | 2019-04-09 | 佛山市超体软件科技有限公司 | A kind of fast automatic formula conversion process system of 3D design drawing and its application method |
CN110517342B (en) * | 2019-07-25 | 2023-05-30 | 北京达佳互联信息技术有限公司 | Target object display method, device, electronic equipment and storage medium |
CN110517342A (en) * | 2019-07-25 | 2019-11-29 | 北京达佳互联信息技术有限公司 | Target object display methods, device, electronic equipment and storage medium |
CN111599017A (en) * | 2020-05-20 | 2020-08-28 | 苏州沁游网络科技有限公司 | Game model optimization method, device and storage medium |
CN112419511A (en) * | 2020-12-26 | 2021-02-26 | 董丽萍 | Three-dimensional model file processing method and device, storage medium and server |
CN112419511B (en) * | 2020-12-26 | 2024-02-13 | 董丽萍 | Three-dimensional model file processing method and device, storage medium and server |
CN113656862A (en) * | 2021-07-20 | 2021-11-16 | 中建科工集团有限公司 | Drawing data updating processing method, device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108763268B (en) | 2020-12-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108763268A (en) | A kind of batch processing method of threedimensional model and device, storage medium | |
US8595693B2 (en) | Model driven deployment of composite applications | |
CN108492380A (en) | A kind of threedimensional model subtracts face method and apparatus, storage medium | |
CN109255747A (en) | A kind of intelligent checks method that information is declared | |
CN107315586A (en) | Using the methods, devices and systems of packing | |
US20230368460A1 (en) | Method and Device for Processing Scan Result, Processor and Scanning System | |
CN110231974A (en) | O&M information visuallization method, apparatus, equipment and readable storage medium storing program for executing | |
CN106681760A (en) | Transaction processing method and device based on client engineering project management system | |
US10372571B2 (en) | Method and apparatus for testing compatibility of 3D engine | |
CN107423117A (en) | The creation method and device of virtual machine in cloud storage system | |
CN104216951B (en) | A kind of method and mobile terminal that augmented reality is realized based on mobile terminal | |
CN109919762A (en) | Reporting method, device, equipment and the storage medium of customer information | |
CN107657584A (en) | A kind of image processing method, terminal and computer-readable recording medium | |
CN111130921B (en) | Method and device for processing performance index of core network element | |
CN113312902A (en) | Intelligent auditing and checking method and device for same text | |
CN113313615A (en) | Method and device for quantitatively grading and grading enterprise judicial risks | |
CN113127408A (en) | Data conversion method and device | |
US10679354B2 (en) | Method for the graphics processing of images | |
CN111680023A (en) | Migration data checking method and device | |
CN111125825A (en) | Ancient wood building heritage intelligent modeling method and device | |
CN110008038A (en) | Control method, apparatus, equipment and the storage medium of household appliance | |
CN114662173B (en) | Three-dimensional CAD model data processing system and method | |
CN112988540B (en) | Primitive replacement method, system, computer readable storage medium and terminal device | |
CN115114365A (en) | Data importing method and device of graph database | |
CN108182199B (en) | Method and system for generating electric power transaction data graph |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 518000 R & D room 3501, block a, building 7, Vanke Cloud City Phase I, Xingke 1st Street, Xili community, Xili street, Nanshan District, Shenzhen City, Guangdong Province Patentee after: Tubatu Group Co.,Ltd. Address before: 1001-a, 10th floor, bike technology building, No.9, Keke Road, high tech Zone, Nanshan District, Shenzhen, Guangdong 518000 Patentee before: SHENZHEN BINCENT TECHNOLOGY Co.,Ltd. |
|
CP03 | Change of name, title or address |