CN109947549A - A method of it is automatically the directly available model resource of UE4 by 3D Max model conversion - Google Patents

A method of it is automatically the directly available model resource of UE4 by 3D Max model conversion Download PDF

Info

Publication number
CN109947549A
CN109947549A CN201910202278.XA CN201910202278A CN109947549A CN 109947549 A CN109947549 A CN 109947549A CN 201910202278 A CN201910202278 A CN 201910202278A CN 109947549 A CN109947549 A CN 109947549A
Authority
CN
China
Prior art keywords
max
server
file
exported
task scheduling
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
CN201910202278.XA
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.)
Foshan Xiaoyun Technology Co Ltd
Original Assignee
Foshan Xiaoyun 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 Foshan Xiaoyun Technology Co Ltd filed Critical Foshan Xiaoyun Technology Co Ltd
Priority to CN201910202278.XA priority Critical patent/CN109947549A/en
Publication of CN109947549A publication Critical patent/CN109947549A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses the methods that 3D Max model conversion is the directly available model resource of UE4 by one kind automatically, including for finding untreated 3ds project file and being responsible for the task scheduling server of entire automatic dispatching, max exported logic server, UE exported logic server, the 3d Max of Datasmith plug-in unit is installed, enable the UE4 of datasmith plug-in unit, pass through task scheduling server, max exported logic server, the communication of UE exported logic server cooperates, after automation realizes that 3d Max carries out output .udatasmith file, newly-built blueprint resource is carried out in UE4 and passes through component for grid, material, textures carry out baking processing and being packaged into .pak file after corresponding to each other being exported, it avoids It is original to need manually to carry out output fbx and import in UE4 to be manually corrected, it improves work efficiency, reduce labour expenses, reduce the learning cost of relevant staff.

Description

A kind of is automatically the directly available model resource of UE4 by 3D Max model conversion Method
Technical field
The present invention relates to the methods that 3D Max model conversion is the directly available model resource of UE4 by one kind automatically.
Background technique
The modeling work of major part 3D model is mainly carried out on 3d Max by Artist in the prior art.And due to using The game engine of model takes respective model criteria, and model reverts to game engine from 3d Max and becomes difficult, these are difficult It include: each component relative position reduction of model, photoreduction.And reduced model is opened to ue4, current main-stream game from 3d Max It in hair or uses manually from 3d Max export fbx, then manually imports in ue4, then again manually by the phase of model in ue4 Alignment reduction is carried out to position.It is inconsistent if there is material, also to be corrected in ue4 again.For Artist, this increasing The learning cost of unnecessary workload and software is added.If the realization that can be automated imports, the process of alignment and correction, can To greatly improve production efficiency, reduce labour expenses.
Summary of the invention
For overcome the deficiencies in the prior art, it is automatically that UE4 directly may be used by 3D Max model conversion that the present invention, which provides a kind of, The method of model resource.
The technical solution adopted by the present invention to solve the technical problems is: a kind of that 3D Max model is imported illusory engine 4 The method of environment, including for finding untreated 3ds project file and being responsible for the task schedule service of entire automatic dispatching Device, UE exported logic server, 3d Max for installing Datasmith plug-in unit, enables max exported logic server The UE4 of datasmith plug-in unit, wherein max exported logic server and UE exported logic server be and task scheduling server It is communicated by network connection, task scheduling server captures 3ds project file, and max exported logic server and task schedule take It is engaged in after device connection, if current max exported logic server process idle state, task scheduling server can be distributed and be captured 3ds project file to max exported logic server, max exported logic server meeting dynamic generation can allow 3dmax can be performed Maxscript exports script, is communicated by ole with the 3d Max of installation Datasmith plug-in unit, 3dMax is allowed to pass through calling Maxscript exports script execution and opens corresponding 3ds project file, chooses all models and exports .udatasmith file, Export .udatasmith file is finally fed back into task scheduling server;UE exported logic server and task schedule service After device connection, if UE exported logic server is currently at idle state, task scheduling server sends .udatasmith text Part is to UE exported logic server, and after UE exported logic server receives .udatasmith file, dynamic generation handles script, Then it calls UE4 to execute by order line .pak file and feedback states is generated after processing into task scheduling server.
Wherein: the UE exported logic server is called UE4 and engineering handle after receiving .udatasmith file .udatasmith the corresponding reservation of coordinate position, light source coordinates, textures feature, texture in.
Wherein: the UE exported logic server imports grid, material, textures in UE4, and UE4 creates blueprint class, in blueprint Each component in the Actor addition .udatasmith of class, component are corresponded to each other and are saved with grid, material, textures, protect Building bakes and chooses blueprint class and export .pak file after depositing.
Wherein: the task scheduling server generates the disposition progress that temporary duty list corresponds to 3ds project file It distributes.
The beneficial effects of the present invention are: passing through task scheduling server, max exported logic server, UE exported logic clothes The scheduling of business device carries out newly-built blueprint resource after automation realizes that 3d Max carries out output .udatasmith file in UE4 And carry out baking processing and being packaged into .pak file after corresponding to each other grid, material, textures by component exporting, it avoids Original needs manually carry out output fbx and import in UE4 to be manually corrected, and improve work efficiency, reduce labour expenses, drop The low learning cost of relevant staff.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples.
Fig. 1 is workflow schematic diagram of the invention.
Specific embodiment
UE4 is the abbreviation of Unreal Engine 4, and Chinese is illusory engine 4.
It is a illusory engine inserter tool case that datasmith, which exports plug-in unit, can simplify and import from multiple sources CAD/DCC With processing data process, wherein just include Autodesk 3ds Max.Datasmith, which is to aid in, imported into illusory draw for content Hold up one group of tool and the plug-in unit in 4.Design data is saved or exported with the format that Datasmith is capable of handling.Datasmith energy Enough read the primary file format of many common CAD application programs.For certain application programs, including 3ds Max and SketchUp Pro, you will need to install the special plug-in unit, then have .udatasmith extension name using plug-in unit export File.
It bakes and is also known as Cook, the specific format storage content resource that illusory engine is used with inside, if PNG is for storing Data texturing, WAV are used for audio data.But the content needs to be converted to different formats for each platform, because platform makes The illusory format for storage resource is not supported with proprietary format or platform, or is existed and more saved memory or performance more Good format.The process that content is converted to from internal form specific to the format of platform is known as baking.
Referring to Fig.1, a method of it is automatically the directly available model resource of UE4 by 3D Max model conversion, including with In the untreated 3ds project file of discovery and it is responsible for the task scheduling server of entire automatic dispatching, max exported logic service Device, UE exported logic server, 3d Max for installing Datasmith plug-in unit, the UE4 for enabling datasmith plug-in unit, wherein Max exported logic server is communicated with task scheduling server by network connection with UE exported logic server, task tune It spends server and captures 3ds project file, wherein 3ds project file includes .max suffix file and textures file, and max export is patrolled After volume server is connect with task scheduling server, if currently max exported logic server is in idle condition, task schedule Server can distribute the 3ds project file captured to max exported logic server, and max exported logic server can dynamic life Script is exported at the maxscript that 3dmax can be allowed executable, the 3d Max by ole and installation Datasmith plug-in unit is logical Letter allows 3dMax to open corresponding 3ds project file by calling maxscript to export script execution, chooses all models and lead Export .udatasmith file is finally fed back to task scheduling server by the sequence of operations of .udatasmith file out; After UE exported logic server is connect with task scheduling server, if UE exported logic server is currently at idle state, Task scheduling server sends .udatasmith file to UE exported logic server, and UE exported logic server receives .udatasmith after file, dynamic generation handles script, which is ue4 editing machine by passing through expansion to editing machine Plug-in unit carries out the python automatic processing script that can be performed after function expansion, the operation packet which includes It includes: importing datasmith data, create blueprint class resource, according to the static grid data for importing datasmith data and generating The grid assembly content of filling blueprint class resource is gone, building is executed after saving, is baked, pak file is exported as.Wherein expand and inserts Part includes increasing the first c++ interface that python can be allowed to call constructing function to realize, increase and python can be allowed to call 2nd c++ interface of baking function, which is realized, increasing can allow python to call adds component to blueprint class and edits for example It realized to the 3rd c++ interface of the static grid of component application, increase the 4th c+ that python can be allowed to call export pak function + interface is realized.Then it calls UE4 to execute by order line, generates .pak file after processing and feedback states take to task schedule It is engaged in device.The UE exported logic server is called UE4 and engineering handle after receiving .udatasmith file .udatasmith the corresponding reservation of coordinate position, light source coordinates, textures feature, texture in.The UE exported logic server in UE4 imports grid, material, textures, and UE4 creates blueprint class, each component in the Actor addition .udatasmith of blueprint class, Component is corresponded to each other and is saved with grid, material, textures, and building bakes and chooses blueprint class and export .pak text after preservation Part.The disposition that the task scheduling server generation temporary duty list corresponds to 3ds project file is distributed.
In the present invention: by task scheduling server, the scheduling of max exported logic server, UE exported logic server, After automation realizes that 3d Max carries out output .udatasmith file, carried out in UE4 newly-built blueprint resource and by component by Grid, material, textures carry out baking processing and being packaged into .pak file after corresponding to each other being exported, and avoid original need manually It carries out output fbx and imports in UE4 to be manually corrected, improve work efficiency, reduce labour expenses, reduce related work The learning cost of personnel.

Claims (4)

1. a kind of be the method for the directly available model resource of UE4 by 3D Max model conversion automatically, it is characterised in that: including with In the untreated 3ds project file of discovery and it is responsible for the task scheduling server of entire automatic dispatching, max exported logic service Device, UE exported logic server, 3d Max for installing Datasmith plug-in unit, the UE4 for enabling datasmith plug-in unit, wherein Max exported logic server is communicated with task scheduling server by network connection with UE exported logic server, task tune It spends server and captures 3ds project file, after max exported logic server is connect with task scheduling server, if current max is led Logical server handles idle state out, and task scheduling server can distribute the 3ds project file that captures to max exported logic Server, the maxscript export script that max exported logic server meeting dynamic generation can allow 3dmax executable, passes through Ole is communicated with the 3d Max of installation Datasmith plug-in unit, allows 3dMax by calling maxscript to export script execution opening pair The 3ds project file answered chooses all models and exports .udatasmith file, will finally export .udatasmith file reverse It feeds task scheduling server;After UE exported logic server is connect with task scheduling server, if UE exported logic service Device is currently at idle state, and task scheduling server sends .udatasmith file to UE exported logic server, UE export After logical server receives .udatasmith file, dynamic generation handles script, then calls UE4 to execute by order line, place .pak file and feedback states are generated after reason into task scheduling server.
2. a kind of according to claim 1 is automatically the method for UE4 directly available model resource by 3D Max model conversion, It is characterized by: the UE exported logic server is called UE4 and engineering handle after receiving .udatasmith file .udatasmith the corresponding reservation of coordinate position, light source coordinates, textures feature, texture in.
3. a kind of according to claim 2 is automatically the method for UE4 directly available model resource by 3D Max model conversion, It is characterized by: the UE exported logic server imports grid, material, textures in UE4, UE4 creates blueprint class, in blueprint class Actor addition .udatasmith in each component, component corresponds to each other and saved with grid, material, textures, preservation Building bakes and chooses blueprint class and export .pak file afterwards.
4. being automatically according to claim 1 the directly available model resource of UE4 by 3D Max model conversion to 3 any described one kind Method, it is characterised in that: the task scheduling server generates the disposition that temporary duty list corresponds to 3ds project file It is distributed.
CN201910202278.XA 2019-03-15 2019-03-15 A method of it is automatically the directly available model resource of UE4 by 3D Max model conversion Pending CN109947549A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910202278.XA CN109947549A (en) 2019-03-15 2019-03-15 A method of it is automatically the directly available model resource of UE4 by 3D Max model conversion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910202278.XA CN109947549A (en) 2019-03-15 2019-03-15 A method of it is automatically the directly available model resource of UE4 by 3D Max model conversion

Publications (1)

Publication Number Publication Date
CN109947549A true CN109947549A (en) 2019-06-28

Family

ID=67008385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910202278.XA Pending CN109947549A (en) 2019-03-15 2019-03-15 A method of it is automatically the directly available model resource of UE4 by 3D Max model conversion

Country Status (1)

Country Link
CN (1) CN109947549A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112704872A (en) * 2021-01-08 2021-04-27 完美世界(北京)软件科技发展有限公司 Scene data synchronization method, device, system and storage medium
CN113419707A (en) * 2021-05-27 2021-09-21 上海霍普建筑设计事务所股份有限公司 SU plug-in splitting system and method based on automatic crawler
CN115826933A (en) * 2023-02-14 2023-03-21 成都曾自科技有限公司 Method and device for loading resources using Cook under editor and storage medium
CN116958433A (en) * 2023-07-21 2023-10-27 武汉熠腾科技有限公司 Quick loading method and system for oversized surface number model
CN116977607A (en) * 2023-07-21 2023-10-31 武汉熠腾科技有限公司 Cultural relic model display method and system based on pixel flow

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112704872A (en) * 2021-01-08 2021-04-27 完美世界(北京)软件科技发展有限公司 Scene data synchronization method, device, system and storage medium
CN113419707A (en) * 2021-05-27 2021-09-21 上海霍普建筑设计事务所股份有限公司 SU plug-in splitting system and method based on automatic crawler
CN115826933A (en) * 2023-02-14 2023-03-21 成都曾自科技有限公司 Method and device for loading resources using Cook under editor and storage medium
CN115826933B (en) * 2023-02-14 2023-06-13 成都曾自科技有限公司 Method, device and storage medium for loading and using Cook post-resource under editor
CN116958433A (en) * 2023-07-21 2023-10-27 武汉熠腾科技有限公司 Quick loading method and system for oversized surface number model
CN116977607A (en) * 2023-07-21 2023-10-31 武汉熠腾科技有限公司 Cultural relic model display method and system based on pixel flow
CN116977607B (en) * 2023-07-21 2024-05-07 武汉熠腾科技有限公司 Cultural relic model display method and system based on pixel flow

Similar Documents

Publication Publication Date Title
CN109947549A (en) A method of it is automatically the directly available model resource of UE4 by 3D Max model conversion
CN107679308B (en) Ship equipment base parameterization design method based on skeleton association
CN105447643B (en) Scientific workflow system and method for cloud computing platform
CN111552471A (en) Task arrangement method and system under hybrid cloud environment
CN107612962B (en) Distributed simulation evaluation test management system
CN103324173A (en) Multiple-heterogeneous robot cooperation method based on middleware
CN103309904A (en) Method and device for generating data warehouse ETL (Extraction, Transformation and Loading) codes
CN106228338A (en) A kind of distribution engineering intelligentized design integrated service system and using method
CN109739490B (en) Quick electrical component model creating method based on QT graph framework
CN104660435A (en) Transactional network management engine for intelligent pipeline and network management transaction processing method of transactional network management engine
CN109062570A (en) A kind of method and storage medium automatically generating drawing based on EPLAN software
CN101639777A (en) Plug and play method of member, application and system thereof
CN107239601B (en) Flexible configuration method of power distribution terminal based on configuration technology
Dai Design and implementation of ESB based on SOA in power system
CN103810258B (en) Convergence dispatching method based on data warehouse
CN109003429A (en) A kind of meter register method and device in task based access control pond
Wu et al. Research on network element management model based on cloud native technology
D'Ambrogio et al. A Model Transformation Approach for the Development of HLA-based Distributed Simulation Systems.
CN102779036B (en) For the Software tool of automatic technology
Li et al. Automatic synchronization of mechanical CAD models and a SysML-based mechatronic model using AutomationML
CN116185988A (en) Data modular transfer method based on Spark technology, server and storage medium
CN104239049A (en) Method and system for processing photos in text edit box
孙瑞志 et al. A process meta-model supporting dynamic change of workflow
CN108289250A (en) Set top box operations method for managing system and system
CN105740045B (en) A kind of information transmission optimization method suitable for large-scale distributed associative simulation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190628