Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for automatically converting three-dimensional material/map data to UE4

An automatic conversion and mapping technology, applied in the field of virtual reality, can solve the problems of unusable 3D material/texture data, complicated process, and low efficiency, and achieve the effects of shortening the production cycle, standardizing the process, and reducing costs

Inactive Publication Date: 2018-09-14
黎志毅
View PDF7 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] 1. The 3D material / texture data prepared in the original 3D software cannot be used
[0009] 2. It is necessary to manually re-edit the shader and reconnect the texture
[0010] 3. There are a large number of materials that need to be represented, such as metal, glass, cloth, wood, stone, leather, plastic, etc. If there are 1,000 materials, 1,000 repetitions of the above operations are required. The process of manually re-editing materials is complicated and difficult to produce Long cycle, low efficiency, high cost

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for automatically converting three-dimensional material/map data to UE4
  • Method for automatically converting three-dimensional material/map data to UE4

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] In one embodiment of the present invention, the method for automatically converting 3D material / map data to UE4 includes the following steps:

[0055] Serialize all 3D material / texture data in 3D software and output them to text type files;

[0056] Start the Unreal Engine4 engine;

[0057] Import the output 3D material / texture data into the project file of Unreal Engine4;

[0058] In the Unreal Engine4 engine, according to the different data types in the 3D software, the material ball is reprogrammed according to the production effect principle, and the texture is connected.

[0059] In this embodiment, according to the specific material type in the three-dimensional material / texture data, the corresponding data and material nodes are connected, and then the corresponding material attributes are displayed. The performance of material properties in UE4 is represented by connecting different data and material nodes. Under normal circumstances, there may be hundreds of...

Embodiment 2

[0062] On the basis of the above-mentioned embodiment 1, before all the 3D material / texture data in the 3D software are serialized and output to the text type file, the following steps are performed: organize the shader balls in the scene in the 3D software to ensure The exported shader is valid; organize the texture; preprocess the texture.

[0063] Wherein, the sorting of the shaders in the scene in the 3D software includes: checking for missing map shaders, checking for lost shader models, and deleting any or several items in shaders whose corresponding solutions cannot be found in Unreal Engine4.

[0064] The arrangement of textures includes reconnecting texture paths, clearing any one or several items of lost textures and paths.

[0065] The preprocessing of the texture includes: cutting the size of the texture to be a positive integer power of 2 closest to the size of the original texture, such as the size of the original texture is 510*1000 pixels, then cutting or stret...

Embodiment 3

[0067] On the basis of embodiment 2, the size of the cropped texture is a positive integer power of 2, including the following steps: judging whether the length of the texture conforms to a positive integer power of 2, and whether the width conforms to a positive integer power of 2; if the length or width If not, calculate the positive integer power of 2 closest to the length or width as the length or width, and then get the new length and width values.

[0068] Because in UE4, if the size of the texture in the VR scene is not the Nth power of 2 (positive integer power of 2) (such as 512*512, 1024*1024, etc.), after the relationship is built, the texture area where it is located will appear Moiré patterns greatly affect the visual effect of the entire scene. Therefore, the size of the texture displayed in UE4 must be 2 to the Nth power to ensure that the visual effect of the VR scene after the lighting is constructed will not have the defect of moiré. The idea of ​​the specif...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for automatically converting three-dimensional (3D) material / map data to UE4. The method comprises steps that all the 3D material / map data in the 3D software are serialized and outputted to a text type file; a UE4 engine is started; the outputted 3D material / map data are inputted into a project file of the UE4; in the UE4 engine, according to different data types in the 3D software, material balls are re-manufactured according to the manufacturing effect principle, and map connection is carried out. The method is advantaged in that material and map making efficiency of converting the three-dimensional material / map data to the UE4 is improved, so the making period is shortened, and cost is reduced; VR content making efficiency is substantially improved, themaking period is shortened, cost is directly reduced, and standardization, simplification, automation, intelligentization and batching of the flow of the material / map data from the 3D software to theUE4 are realized.

Description

technical field [0001] The invention relates to the technical field of virtual reality, in particular to a method for automatically converting three-dimensional material and map data to UE4. Background technique [0002] At present, there are usually three ways to make VR (virtual reality) scenes (1. Use Unreal Engine4 game engine; 2. Use Unity 3D game engine; 3. Use self-developed engine), and Unreal Engine4 (referred to as UE4, the 4th generation of Unreal Engine) is currently one of the best engines recognized globally, capable of high-quality real-time interaction, and its picture effect can reach more than 90% of the realistic rendering. [0003] Since Unreal Engine 4 itself has a complete material representation system, this material representation system is not compatible with 3D data generated by other 3D software, such as the 3D material mentioned in this patent. This incompatible state causes the 3D materials of other 3D software to be imported into Unreal Engine4...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06T19/20
CPCG06T19/20G06T2210/32
Inventor 黎志毅
Owner 黎志毅
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products